Commit graph

869 commits

Author SHA1 Message Date
Kay Sievers 0e483bf911 build-sys: fix distcheck 2012-05-15 14:52:53 +02:00
Lennart Poettering 6edd7d0a09 sleep: implement suspend/hibernate as first class targets 2012-05-08 13:54:23 +02:00
Kay Sievers 9eb977db5b util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
Kay Sievers bbc98d3256 util: split-out hwclock.[ch] 2012-05-08 01:57:17 +02:00
Kay Sievers 2c21044f05 util: split-out conf-file.[ch] 2012-05-07 19:01:24 +02:00
Lennart Poettering eecd1362f7 logind: implement delay inhibitor locks in addition to block inhibitor locks
This is useful to allow applications to synchronously save data before
the system is suspended or shut down.
2012-05-05 00:36:08 +02:00
Lennart Poettering 04b6f7c1a7 rc-local-generator: hook halt-local in based on generator too 2012-05-03 16:00:49 +02:00
Lennart Poettering 7c8fa05c4d unit: add new dependency type RequiresMountsFor=
RequiresMountsFor= is a shortcut for adding requires and after
dependencies to all mount units neeed for the specified paths.

This solves a couple of issues regarding dep loop cycles for encrypted
swap.
2012-04-30 10:52:07 +02:00
Michal Schmidt e0209d83e7 core: add NOP jobs, job type collapsing
Two of our current job types are special:
JOB_TRY_RESTART, JOB_RELOAD_OR_START.

They differ from other job types by being sensitive to the unit active state.
They perform some action when the unit is active and some other action
otherwise. This raises a question: when exactly should the unit state be
checked to make the decision?

Currently the unit state is checked when the job becomes runnable. It's more
sensible to check the state immediately when the job is added by the user.
When the user types "systemctl try-restart foo.service", he really intends
to restart the service if it's running right now. If it isn't running right
now, the restart is pointless.

Consider the example (from Bugzilla[1]):

sleep.service takes some time to start.
hello.service has After=sleep.service.
Both services get started. Two jobs will appear:
 hello.service/start  waiting
 sleep.service/start  running
Then someone runs "systemctl try-restart hello.service".

Currently the try-restart operation will block and wait for
sleep.service/start to complete.

The correct result is to complete the try-restart operation immediately
with success, because hello.service is not running. The two original
jobs must not be disturbed by this.

To fix this we introduce two new concepts:
- a new job type: JOB_NOP
  A JOB_NOP job does not do anything to the unit. It does not pull in any
  dependencies. It is always immediately runnable. When installed to a unit,
  it sits in a special slot (u->nop_job) where it never conflicts with
  the installed job (u->job) of a different type. It never merges with jobs
  of other types, but it can merge into an already installed JOB_NOP job.

- "collapsing" of job types
  When a job of one of the two special types is added, the state of the unit
  is checked immediately and the job type changes:
  JOB_TRY_RESTART     -> JOB_RESTART or JOB_NOP
  JOB_RELOAD_OR_START -> JOB_RELOAD or JOB_START
  Should a job type JOB_RELOAD_OR_START appear later during job merging, it
  collapses immediately afterwards.
  Collapsing actually makes some things simpler, because there are now fewer
  job types that are allowed in the transaction.

[1] Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=753586
2012-04-25 18:38:27 +02:00
Lennart Poettering e2875c4693 timedated: introduce systemd-timedated-ntp.target which is controlled by timedated's NTP setting
We shouldn't hardcode the name of the NTP implementation in the
timedated mechanism, especially since Fedora currently switched from NTP
to chrony.

This patch introduces a new target that is enabled/disabled instead of
the actual NTP implementation. The various NTP implementations should
then add .wants/ symlinks to their services and BindTo back to the
target, so that their implementations are started/stopped jointly with
the target.

https://bugzilla.redhat.com/show_bug.cgi?id=815748
2012-04-25 16:49:02 +02:00
Lennart Poettering 2b93b027d3 remount: consolidate remount-api-vfs and remount-rootfs into one
This has the advantage of removing a confusing warning by mount if the
root directory is not listed in fstab.
2012-04-24 16:42:42 +02:00
Lennart Poettering 337eebb936 container: spawn a getty instead of a sulogin in a container 2012-04-22 02:41:18 +02:00
Lennart Poettering f1e5dfe2c0 nspawn: make /dev/kmsg unavailable in the container, but allow access to /proc/kmsg 2012-04-22 00:32:53 +02:00
Kay Sievers 33e48d472e man: doc-sync - properly delete no longer existing stuff on remote server 2012-04-21 00:28:02 +02:00
Michal Schmidt 75778e21df manager: split transaction.[ch]
manager.c takes care of the main loop, unit management, signal handling, ...
transaction.c computes transactions.

After split:
manager.c:     65 KB
transaction.c: 40 KB
2012-04-20 17:12:27 +02:00
Kay Sievers 80037e4d17 docs: rebase html documentation for online and local use 2012-04-19 19:00:35 +02:00
Kay Sievers 88f642c00b build-sys: move dev-setup to label.la 2012-04-18 16:13:37 +02:00
Kay Sievers 5ba2dc259f udev: unify /dev static symlink setup 2012-04-17 22:31:38 +02:00
Kay Sievers 80a5cbace4 build-sys: silence gtk-doc check, remove gtk-doc options from configure and distcheck 2012-04-17 17:11:02 +02:00
Javier Jardón 92ec4495f7 build-sys: make gtk-doc dependency optional 2012-04-17 17:01:21 +02:00
Kay Sievers e9a5ef7cdd selinux: unify systemd and udev code 2012-04-17 16:05:28 +02:00
Kay Sievers 9e13dbae50 udev: replace util_create_path() with mkdir_parents() 2012-04-17 01:09:39 +02:00
Kay Sievers f13b388f97 udev: install udevd as /usr/lib/systemd/systemd-udevd 2012-04-17 00:18:30 +02:00
Kay Sievers 33502ffe2e udev: use startswith() and streq() 2012-04-16 20:54:17 +02:00
Kay Sievers 6ada823a9a udev: remove configuration options for /dev, /sys, /run directories 2012-04-16 19:20:57 +02:00
Lennart Poettering f8e2fb7b14 logind: add shutdown/suspend/idle inhibition framework 2012-04-16 18:59:08 +02:00
Kay Sievers 20d83f2f43 udev: move all unconditionally installed rules to rules/ 2012-04-14 20:10:03 +02:00
Kay Sievers 8ea5c07b1c udev: keymap - move src/udev/force-release-maps/ to keymaps-force-release/ 2012-04-14 19:53:31 +02:00
Kay Sievers 0b87a07761 udev: test - move test/ and src/test/ 2012-04-14 19:36:47 +02:00
Kay Sievers 7c1d34c5d4 build-sys: silence the xsltproc output 2012-04-14 18:05:06 +02:00
Kay Sievers 690804ca8e build-sys: add 'make doc-sync' target 2012-04-13 23:51:22 +02:00
Kay Sievers bb061708d5 udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/ 2012-04-13 19:22:06 +02:00
Martin Pitt 84f4fc4215 keymap: Add Dell XPS force-release quirk
https://launchpad.net/bugs/910911
2012-04-13 17:17:22 +02:00
Kay Sievers 9b80f05fb7 udev: unpack sysfs test tree only on 'make check'; fix test-udev binary location 2012-04-13 15:57:13 +02:00
Kay Sievers 56d35ff9ca udev: keymap - move data files to root directory 2012-04-13 15:38:15 +02:00
Kay Sievers b49d9b50cf udev: fix a few issues detected by the llvm static analyzer 2012-04-13 15:10:12 +02:00
Lennart Poettering 64695e53a0 build-sys: drop systemd- prefix from analyze dir 2012-04-13 13:34:09 +02:00
Kay Sievers e0eaab7cd1 build-sys: execute test programs with 'make check' 2012-04-13 13:21:20 +02:00
Kay Sievers 0eaeca1f23 udev: use native instead of custom --disable-introspection logic 2012-04-13 12:49:51 +02:00
Kay Sievers 4193534e12 udev: link some systemd parts statically to limit shared libararies dependencies for standalone use 2012-04-13 12:34:35 +02:00
Lennart Poettering ae572d87c5 build-sys: move systemd-analyze into its own subdir 2012-04-12 20:28:00 +02:00
Kay Sievers 6b8b149a21 udev: properly hook up all tests to 'make check' 2012-04-12 19:25:41 +02:00
Kay Sievers 6cbf079f10 build-sys: use check_PROGRAMS for test-*.c 2012-04-12 19:00:28 +02:00
Kay Sievers b7739c77df build-sys: remove $(DBUS_LIBS), libsystemd-dbus.la pulls it in 2012-04-12 18:30:24 +02:00
Kay Sievers 43a1ab9b90 pam_systemd: add dbus.la 2012-04-12 18:30:24 +02:00
Lennart Poettering c0a0872d5c build-sys: move src/linux/ to src/shared/linux 2012-04-12 18:27:35 +02:00
Lennart Poettering 0f4e02c220 build-sys: create top-level directory for bash completion 2012-04-12 18:26:30 +02:00
Lennart Poettering 08e1fb68d7 build-sys: move *-setup out of shared to avoid selinux being pulled in 2012-04-12 18:19:34 +02:00
Kay Sievers dce818b390 move all tools to subdirs 2012-04-12 17:54:42 +02:00
Lennart Poettering 4fc5568804 machine-id-setup: avoid cyclic dependency, built twice instead 2012-04-12 17:53:19 +02:00
Lennart Poettering 41e5171419 build-sys: split off logs-show into its own convenience library 2012-04-12 17:42:09 +02:00
Lennart Poettering bd5b0d57ef build-sys: introduce seperate convenience library for dbus stuff 2012-04-12 17:24:58 +02:00
Kay Sievers d41ba529b4 move libsystemd-id128, libsystemd-daemon to subdir 2012-04-12 15:26:39 +02:00
Kay Sievers 3bdf9c1d0a move remainig shared stuff to shared/ 2012-04-12 15:11:39 +02:00
Lennart Poettering 2c4ff63406 detect-virt: make detect-virt an official command 2012-04-12 14:58:52 +02:00
Kay Sievers ec1a9f88f2 rename bridge.c to stdio-bridge.c and move to subdir 2012-04-12 14:30:42 +02:00
Lennart Poettering b6e661357c main: we want all setup functions to be in files called xxx-setup.[ch] 2012-04-12 14:29:29 +02:00
Kay Sievers 90ccc3fca7 move more main systemd parts to core/ 2012-04-12 14:24:40 +02:00
Lennart Poettering 4d89613917 hostname-setup: move to core/ 2012-04-12 14:23:17 +02:00
Lennart Poettering 146de8175e shutdown: move shutdown to core since it replaces PID 1 2012-04-12 14:18:36 +02:00
Lennart Poettering 379079ba6b test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
Lennart Poettering 08e4738832 build-sys: dbus-loop.h is not used by the core 2012-04-12 13:42:10 +02:00
Lennart Poettering 643a14a527 build-sys: move a few things into more appropriate places 2012-04-12 13:35:56 +02:00
Kay Sievers 6af684ee5c move a couple of test-*.c to test/ 2012-04-12 13:17:41 +02:00
Marc-Antoine Perennou d5449fdcc5 udev: gudev - rework introspection generation 2012-04-12 13:12:06 +02:00
Kay Sievers 78a825f216 rename machine-id-main.c tomacht the binary and move main.c to core/ 2012-04-12 13:12:06 +02:00
Kay Sievers f33d3ec1d7 move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
Lennart Poettering 5430f7f2bc relicense to LGPLv2.1 (with exceptions)
We finally got the OK from all contributors with non-trivial commits to
relicense systemd from GPL2+ to LGPL2.1+.

Some udev bits continue to be GPL2+ for now, but we are looking into
relicensing them too, to allow free copy/paste of all code within
systemd.

The bits that used to be MIT continue to be MIT.

The big benefit of the relicensing is that closed source code may now
link against libsystemd-login.so and friends.
2012-04-12 00:24:39 +02:00
Marc-Antoine Perennou 88dc4327e0 udev: fix keymap mkdir 2012-04-11 22:24:53 +02:00
Lennart Poettering 6bb92a169e polkit: temporarily spawn of a polkit agent in terminals for possibly authenticated operations 2012-04-11 20:39:03 +02:00
Kay Sievers 79c077224b put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch] 2012-04-11 16:47:09 +02:00
Kay Sievers b30e2f4c18 move libsystemd_core.la sources into core/ 2012-04-11 16:03:51 +02:00
Kay Sievers cc527a4734 split selinux label operations out of cgroup-util, socket-util
This prevents linking of selinux and libdl for another 15 binaries.
2012-04-11 12:49:00 +02:00
Kay Sievers 6ac405b493 build-sys: move remaining headers out EXTRA_DIST, install sd-readahead.h 2012-04-11 03:54:23 +02:00
Kay Sievers f7b6a32e78 build-sys: add $(AM_LDFLAGS) where needed 2012-04-11 03:29:31 +02:00
Kay Sievers 69dd416595 pam_systemd: add missing libsystemd_audit.l 2012-04-11 03:16:20 +02:00
Lennart Poettering 04ebb59567 shutdownd: rework interface, allow subscribing to scheduled shutdowns
This extends the shutdownd interface to expose schedule shutdown
information in /run/systemd/shutdown/schedule.

This also cleans up the shutdownd protocol and documents it in a header
file sd-shutdown.h.

This is supposed to be used by client code that wants to control and
monitor scheduled shutdown.
2012-04-11 02:04:46 +02:00
Lennart Poettering 082694b75f units: introduce nss-user-lookup.target
This separates user/group NSS lookups from host/network NSS lookups.

By default order all network mounts after host/network NSS lookups now,
and logind execution after user/group NSS lookups.
2012-04-11 00:11:18 +02:00
Kay Sievers 49e942b2bc rename basic.la to shared.la and put selinux deps in shared-selinx.la
Only 34 of 74 tools need libselinux linked, and libselinux is a pain
with its unconditional library constructor.
2012-04-10 22:43:05 +02:00
Kay Sievers cc0933371d udev: move man pages to udev section 2012-04-10 22:43:05 +02:00
Kay Sievers 771f19c06a move list.h, macro.h, ioprio.h to shared/ 2012-04-10 19:47:00 +02:00
Kay Sievers 9f36aa6846 move pager.[ch] to shared/ 2012-04-10 19:32:48 +02:00
Kay Sievers b6358b8d76 use libsystemd-daemon.la instead of source file 2012-04-10 19:23:08 +02:00
Kay Sievers 0d0a5ab46a use libsystemd-id128.la instead of source file 2012-04-10 19:14:42 +02:00
Kay Sievers 159baa1bb0 move libsystemd-capability.la dep from basic to core 2012-04-10 18:59:47 +02:00
Kay Sievers 77d47be64f move cgroup-util.[ch] to shared/ 2012-04-10 18:46:51 +02:00
Kay Sievers d33e31f845 udev: remove deps already pulled in by LIBADD 2012-04-10 17:48:44 +02:00
Kay Sievers 04a9d3a00a udev: fix gcc warnings showing up after adding $(AM_CFLAGS) 2012-04-10 17:27:46 +02:00
Kay Sievers 235450b0d1 build-sys: add $(AM_CFLAGS) where needed 2012-04-10 16:07:17 +02:00
Kay Sievers 78b2e3a632 util: move ACL code into internal library 2012-04-10 14:59:45 +02:00
Kay Sievers d7832d2c6e util: move all to shared/ and split external dependencies in separate internal libraries
Before:
  $ ldd /lib/systemd/systemd-timestamp
  linux-vdso.so.1 =>  (0x00007fffb05ff000)
  libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f90aac57000)
  libcap.so.2 => /lib64/libcap.so.2 (0x00007f90aaa53000)
  librt.so.1 => /lib64/librt.so.1 (0x00007f90aa84a000)
  libc.so.6 => /lib64/libc.so.6 (0x00007f90aa494000)
  /lib64/ld-linux-x86-64.so.2 (0x00007f90aae90000)
  libdl.so.2 => /lib64/libdl.so.2 (0x00007f90aa290000)
  libattr.so.1 => /lib64/libattr.so.1 (0x00007f90aa08a000)
  libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a9e6e000)

After:
  $ ldd systemd-timestamp
  linux-vdso.so.1 =>  (0x00007fff3cbff000)
  libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5eaa1c3000)
  librt.so.1 => /lib64/librt.so.1 (0x00007f5ea9fbb000)
  libc.so.6 => /lib64/libc.so.6 (0x00007f5ea9c04000)
  /lib64/ld-linux-x86-64.so.2 (0x00007f5eaa3fc000)
  libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea9a00000)
  libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea97e4000)
2012-04-10 14:13:38 +02:00
Kay Sievers 2d13da8821 udev: remove RUN+="socket:.." and udev_monitor_new_from_netlink() 2012-04-09 21:18:30 +02:00
Kay Sievers 83cd6b754b udev: convert 'uaccess' to a builtin 2012-04-09 19:25:41 +02:00
Kay Sievers f1ff47be17 udev: keymap: remove rootprefix mangling from script 2012-04-08 17:10:03 +02:00
Kay Sievers 1c0f62e37b udev: fix test-udev binary 2012-04-08 17:03:17 +02:00
Kay Sievers baa30fbc2c udev: switch to systemd logging functions 2012-04-08 16:06:20 +02:00
Lennart Poettering e96d6be763 systemd: add hardware watchdog support
This adds minimal hardware watchdog support to PID 1. The idea is that
PID 1 supervises and watchdogs system services, while the hardware
watchdog is used to supervise PID 1.

This adds two hardware watchdog configuration options, for the runtime
watchdog and for a shutdown watchdog. The former is active during normal
operation, the latter only at reboots to ensure that if a clean reboot
times out we reboot nonetheless.

If the runtime watchdog is enabled PID 1 will automatically wake up at
half the configured interval and write to the watchdog daemon.

By default we enable the shutdown watchdog, but leave the runtime
watchdog disabled in order not to break independent hardware watchdog
daemons people might be using.

This is only the most basic hookup. If necessary we can later on hook
up the watchdog ping more closely with services deemed crucial.
2012-04-05 22:15:29 +02:00
Kay Sievers 8d62c69d9e build-sys: add a few missing headers 2012-04-04 14:15:36 +02:00
Kay Sievers 8ece4cab42 build-sys: remove vala hack, which did not allow to list headers in sources 2012-04-04 13:07:11 +02:00
Dave Reisner 9cf2578683 units/: use @SYSTEMCTL@ instead of hardcoded paths
Especially in the case of --enable-split-usr, several units will point
to the wrong location for systemctl. Use @SYSTEMCTL@ which will always
contain the proper path.
2012-04-04 06:46:35 +02:00
Dave Reisner 9b1a953e08 udev: avoid building selinux parts without have_selinux 2012-04-04 06:44:45 +02:00
Kay Sievers 6df831f25e Merge branch 'master' of ssh://git.freedesktop.org/git/systemd/systemd 2012-04-04 05:23:51 +02:00
Kay Sievers 3e2147858f move imported udev into place 2012-04-04 05:05:07 +02:00
Lennart Poettering ffa16db026 man: document special journal fields 2012-04-03 22:31:48 +02:00
Lennart Poettering b070e7f3c9 journal: implicitly add code location to all messages logged with the native interface
This logic can be turned off by defining SD_JOURNAL_SUPPRESS_LOCATION
before including sd-journal.h.

This also saves/restores errno in all logging functions, in order to be
useful as logging calls without side-effects.

This also adds a couple of __unlikely__ around the early checks in the
logging calls, in order to minimize the runtime impact.
2012-04-02 19:29:48 +02:00
Kay Sievers 18b754d345 rename /etc/systemd/systemd-{login,journal}d.conf to {login,journal}d.conf 2012-03-30 23:36:44 +02:00
Kay Sievers 623ac9d2fc units: mount /tmp as tmpfs
The default setups should be a stateless as possible. /tmp as tmpfs is
the intended default for general purpose systems.

Small temporary files should not be stored on disk; lager files, or
files which should potentially survive a reboot, belong into /var/tmp.

Also catch up with some good old UNIX history.

More details are here:
  https://fedoraproject.org/wiki/Features/tmp-on-tmpfs
2012-03-27 17:30:41 +02:00
Lennart Poettering 55d029addf units: get rid of var-run.mount and var-lock.mount
Since a number of distribitions don't need this compat glue anymore drop
it from systemd upstream. Distributions which still haven't converted
to /run can steal these unit files from the git history if they need to.
2012-03-27 17:11:00 +02:00
Lennart Poettering 231931ffba units: don't mount tmpfs on /media anymore
udisks2 doesn't use /media anymore, instead mounts removable media in a
user-private directory beneath /run. /media is hence mostly obsolete and
hence it makes little sense to continue to mount a tmpfs to it.

Distributions should consider dropping the mount point entirely since
nothing uses it anymore.
2012-03-27 17:04:22 +02:00
Lucas De Marchi 9e7adc3ae1 build-sys: separate ldflags from cflags 2012-03-26 21:02:29 +02:00
Lucas De Marchi eb2e280f9c build-sys: do not set CFLAGS directly
Set a separate variable for adding warning flags. Build systems are not
supposed to change CFLAGS and LDFLAGS, these are user variables.

Reference: http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
2012-03-26 21:02:26 +02:00
Lennart Poettering 169c4f6513 journalctl,loginctl: drop systemd- prefix in binary names
Let's make things a bit easier to type, drop the systemd- prefix for
journalctl and loginctl, but provide the old names for compat.

All systemd binaries are hence now prefixed with "systemd-" with the
exception of the three primary user interface binaries:

systemctl
loginctl
journalctl

For those three we do provide systemd-xyz names as well, via symlinks:

systemd-systemctl → systemctl
systemd-loginctl → loginctl
systemd-journalctl → journalctl

We do this only for the *primary* user tools, in order to avoid
unnecessary namespace problems. That means tools like systemd-notify
stay the way they are.
2012-03-26 20:58:47 +02:00
Lennart Poettering c64c338e31 build-sys: fix make dist-check 2012-03-26 20:56:54 +02:00
Roberto Sassu 8161158639 main: added support for loading IMA custom policies
This is an S/MIME signed message

The new function ima_setup() loads an IMA custom policy from a file in the
default location '/etc/ima/ima-policy', if present, and writes it to the
path 'ima/policy' in the security filesystem. This function is executed
at early stage in order to avoid that some file operations are not measured
by IMA and it is placed after the initialization of SELinux because IMA
needs the latter (or other security modules) to understand LSM-specific
rules. This feature is enabled by default and can be disabled by providing
the option '--disable-ima' to the configure script.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
2012-03-22 00:20:58 +01:00
Roberto Sassu 160481f68d systemd: mount the securityfs filesystem at early stage
This is an S/MIME signed message

The mount of the securityfs filesystem is now performed in the main systemd
executable as it is used by IMA to provide the interface for loading custom
policies. The unit file 'units/sys-kernel-security.mount' has been removed
because it is not longer necessary.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
2012-03-22 00:20:48 +01:00
Michal Schmidt ee4cbc2c85 remove GTK pieces
They've moved to systemd-ui.
2012-03-20 13:10:22 +01:00
Lennart Poettering 16f1239e1e build-sys: prepare release 44 2012-03-16 01:57:47 +01:00
Lennart Poettering 5ee9f21e86 build-sys: don't build distcheck version with split /usr 2012-03-16 01:44:16 +01:00
Lennart Poettering 38cacf5acd man: make sure we ship HTML versions of the man pages in the tarball 2012-03-16 01:25:32 +01:00
Lennart Poettering 2af777ba96 man: document systemd-journalctl(1) 2012-03-16 00:50:52 +01:00
Lennart Poettering b47ffcfdfd man: document systemd-journald.conf(5) 2012-03-15 23:25:14 +01:00
Lennart Poettering 44f44a29cc man: document systemd-machine-id-setup(1) 2012-03-15 22:36:33 +01:00
Lennart Poettering 9aac0b2c19 man: document systemd-cat(1) 2012-03-15 22:19:36 +01:00
Lennart Poettering 7f110ff9b8 conf: enforce UTF8 validty everywhere
we need to make sure that configuration data we expose via the bus ends
up in using getting an assert(). Even though configuration data is only
parsed from trusted sources we should be more careful with what we read.
2012-03-12 22:22:21 +01:00
Kay Sievers 79d4c0a2e1 man: fix systemd.special build failure 2012-02-29 22:32:50 +01:00
Lennart Poettering 96b0cb1181 man: systemd.special no longer needs sed logic 2012-02-15 20:26:49 +01:00
Lennart Poettering 81e0d95604 login: document new sd_session_get_xxx() calls 2012-02-15 20:13:24 +01:00
Lennart Poettering 437b7dee32 build-sys: prepare release of 43 2012-02-15 05:02:38 +01:00
Kay Sievers f9941a4b94 build-sys: simplify ENABLE_MANPAGES 2012-02-13 01:11:22 +01:00
Kay Sievers 0de4f05584 build-sys: do not use split-/usr in distcheck 2012-02-13 01:03:33 +01:00
Lennart Poettering 704323542e build-sys: publish man pages also on fdo 2012-02-11 01:59:49 +01:00
Lennart Poettering 204fa33c82 build-sys: prepare 42 2012-02-11 01:52:18 +01:00
Lennart Poettering 75db9a7760 man: make building of man pages optional 2012-02-10 21:44:14 +01:00
Lennart Poettering 05d02d8db0 main: fix reexecution of systemd, use right path to binary 2012-02-09 23:25:57 +01:00
Frederic Crozat 4536f71691 kmod-setup: fix build with libkmod 2012-02-09 21:57:58 +01:00
Tom Gundersen 83684a3553 modules-load: use libkmod rather than modprobe 2012-02-09 00:47:09 +01:00
Tom Gundersen 728beb28a7 kmod-setup: use libkmod rather than modprobe 2012-02-09 00:43:05 +01:00
Kay Sievers e0d25329b2 move /usr/bin/systemd to /usr/lib/systemd/systemd 2012-02-08 00:08:10 +01:00
Lennart Poettering 45a7b8bd24 build-sys: bump release 2012-02-07 03:32:03 +01:00
Mike Kazantsev d8c9d1f9e4 build-sys: add creation of /var/lib/systemd path, used by logind 2012-01-27 19:56:44 +01:00
Lennart Poettering 7f62569d70 build-sys: bump release 2012-01-25 01:07:31 +01:00
Lennart Poettering 220a21d38f build-sys: include NEWS file for v38, v39 2012-01-25 01:02:41 +01:00
Lennart Poettering caa9488700 man: document systemd-cgtop tool 2012-01-25 00:12:47 +01:00
Lennart Poettering 36db9a8d5b login: add multi-session X wrapper
In preparation for https://bugzilla.gnome.org/show_bug.cgi?id=655380 we
decided it's better to include the multi-seat X wrapper in systemd,
rather than gdm. (Side effect: this makes this accessible for other
DMs)

This is a stop-gap for now, until X gins proper multi-seat graphics
support at which point this code will go away without replacement.
2012-01-23 23:34:36 +01:00
Kay Sievers 131a4dcfd4 login: move seat udev rules to login subdir 2012-01-22 18:32:13 +01:00
Lennart Poettering 8f2d43a012 cgtop: add new cgtop tool 2012-01-22 18:22:26 +01:00
Kay Sievers 6185ac1e52 build-sys: cleanup sysctl.d/coredump.conf 2012-01-16 13:49:08 +01:00
Lennart Poettering f5e04665eb journal: hook up coredumping with journal 2012-01-14 01:54:33 +01:00
Lennart Poettering 755a02c680 journal: add new system-cat tool as kind of a more powerfull BSD logger 2012-01-14 01:54:33 +01:00
Lennart Poettering e6520a0fce journal: make requirement for ACLs optional 2012-01-11 20:40:29 +01:00
Lennart Poettering dcbd5d16e9 build-sys: fix upload rule for xz 2012-01-11 04:01:50 +01:00
Michael Biebl 118ca5966f build-sys: link systemctl and systemd-journalctl against libsystemd-id128
Both use logs-show.c which requires libsystemd-id128 for
sd_id128_to_string ().
2012-01-10 07:26:30 +01:00
Lennart Poettering dd338f01f5 build-sys: move .pc files next to the matching sources 2012-01-07 01:36:36 +01:00
Lennart Poettering a6723bc9a7 journald: start journald right away, don't wait until activation 2012-01-07 01:26:08 +01:00
Lennart Poettering 4c0bebc335 kmsg-syslogd: remove kmsg-syslogd, since it's entirely obsoleted and replaced by journald 2012-01-06 03:11:17 +01:00
Lennart Poettering db5973704b stdout: remove stdout-syslog-bridge since it is now obsoleted by journald 2012-01-06 02:48:38 +01:00
Kay Sievers 124e6fb56d build-sys: add headers to EXTRA_DIST to fix 'make distcheck'
Vala autotools, it's all your fault!
2012-01-05 17:02:51 +01:00
Lennart Poettering 81527be142 build-sys: move public header files into a dir of their own 2012-01-05 16:01:58 +01:00
Lennart Poettering 224f2ee221 journald: add configuration file options to forward all logged data to kmsg, console, syslog 2012-01-05 15:39:03 +01:00
Kay Sievers 8b9b4d6ce4 build-sys: add some headers to fix 'make distcheck' 2012-01-05 04:00:48 +01:00
Kay Sievers b8079ae19b build-sys: rename 'rootdir' to 'rootprefix' like udev and kmod uses 2012-01-05 00:40:39 +01:00
Lennart Poettering e6960940b6 journald: parse configuration file 2012-01-04 20:40:04 +01:00
Michał Górny 3606df64ab build-sys: Fix missing directories with parallel 'make install'. 2012-01-04 19:37:37 +01:00
Lennart Poettering 96d1efbabe journal: fix XZ build flags 2012-01-04 19:36:45 +01:00
Michał Górny 8df5c320a5 man: Fix out-of-source manpage builds. 2012-01-04 19:11:23 +01:00
Lennart Poettering 94fb446e55 journald: store _SYSTEMD_UNIT= instead of _SYSTEMD_SERVICE= field, since processes might also be related to mount, swap or socket units, not just services 2012-01-04 15:35:30 +01:00
Lennart Poettering 86aa7ba4f9 systemctl: hook up systemctl with the journal 2012-01-03 21:08:58 +01:00
Lennart Poettering 52f4f45bf4 journald: treat a read-only /var identical to an unmounted one 2012-01-03 21:08:58 +01:00
Lennart Poettering 000a2c9886 sd-id128: add _public_ to all exports, and add validity checks for all parameters 2012-01-03 21:08:58 +01:00
Lennart Poettering 9847946e12 login: introduce sd_pid_get_service() 2012-01-03 21:08:58 +01:00
Lennart Poettering 4de856120f build-sys: make quotacheck and randomseed optional 2012-01-03 21:08:57 +01:00
Lennart Poettering 776a564f54 build-sys: move kbd-model-map to locale/ 2012-01-03 21:08:57 +01:00
Lennart Poettering b4d0195b05 cryptsetup: split off cryptsetup into its own subdir 2012-01-03 21:08:57 +01:00
Kay Sievers 4390dfbaec do not install drop-in files; the shared library should be used by default
If distros still want to ship these, the can include them in the packaging
step. Upstream should no longer install them.
2012-01-02 16:31:49 +01:00
Kay Sievers 300891fa8e build-sys: login - remove specified include dir; all subdirs are in the list now 2011-12-31 21:55:48 +01:00
Lennart Poettering 927f62bd54 login: move systemd-user-sessions.service into login/, too 2011-12-31 19:45:41 +01:00
Lennart Poettering e5e83e8362 build-sys: make readahead and vconsole optional 2011-12-31 19:45:41 +01:00
Kay Sievers bb765041af gnome-ask-password-agent: require libnotify >= 0.7.0 2011-12-31 18:15:27 +01:00
Lennart Poettering c47ac9992f build-sys: fix mageia kbd mappings 2011-12-31 18:06:56 +01:00
Lennart Poettering be5f4385d6 login: move the PAM module to src/login/ since it is just a client to logind 2011-12-31 18:06:56 +01:00
Kay Sievers 0237edf7d2 build-sys: more remaining parts of sd-deamon to their own section in Makefile.am 2011-12-31 17:06:09 +01:00
Kay Sievers 9ace5d028e build-sys: restructure sd-daemon, sd-readahead, sd-login files 2011-12-31 16:55:36 +01:00
Kay Sievers 3bb8894f4f build-sys: remove redundant _CFLAGS assignment 2011-12-31 16:15:38 +01:00
Lennart Poettering 9c5b60ca5f login: move libsystemd-login.pc.in into src/login/ 2011-12-31 13:37:23 +01:00
Kay Sievers 48d437bbf1 libsystemd-daemon: restructure Makefile.am 2011-12-31 09:17:48 +01:00
Kay Sievers 051c7d1ed4 pam_systemd: restructure Makefile.am and move inside ENABLE_LOGIND 2011-12-31 09:05:56 +01:00
Kay Sievers d4a66a7f96 libsystemd-id128: restructure Makefile.am 2011-12-31 08:53:06 +01:00
Kay Sievers 7e8f489ad5 journal: restructure Makefile.am 2011-12-31 08:36:52 +01:00
Kay Sievers 609518c1d2 binfmt: move sources to subdirectory 2011-12-31 07:40:31 +01:00
Kay Sievers 681cfc6c40 hostnamed, localed: move config files to subdir 2011-12-31 07:23:57 +01:00
Kay Sievers 00c36f274b hostnamed: move sources to subdirectory 2011-12-31 07:03:33 +01:00
Kay Sievers 1822350db1 localed: move sources to subdirectory 2011-12-31 06:50:34 +01:00
Kay Sievers 4668191d02 timedated: move sources to subdirectory 2011-12-31 06:40:48 +01:00
Kay Sievers 2a018e83de build-sys: restructure logind parts in Makefile.am and add --disable-logind 2011-12-31 06:02:42 +01:00
Kay Sievers 0392060111 logind: add 'login' subdir to include dirs
When separate 'builddirs', like with 'distcheck', are used, the generated
sources, like the '.c' files from 'gperf', are placed in the 'builddir' and
can not find the include headers in 'srcdir'.
2011-12-31 04:20:25 +01:00
Kay Sievers baa5ad26fd Makefile.am: consistently use tabs 2011-12-31 03:59:54 +01:00
Lennart Poettering e81e801af6 journal: move symver file into subdirectory 2011-12-31 03:35:38 +01:00
Lennart Poettering 4deba28559 logind: move more files into subdirectory 2011-12-31 03:24:31 +01:00
Lennart Poettering 4bba9156da logind: move logind into its own subdirectory 2011-12-31 03:16:08 +01:00
Lennart Poettering dc1ecd78e9 Merge branch 'journal' 2011-12-31 00:59:37 +01:00
Lennart Poettering 4b2d99d9f4 journal: add unit files and shared library glue 2011-12-30 17:50:37 +01:00
Lennart Poettering 6e409ce10d journald: implement sophisticated rate limiting 2011-12-27 22:51:46 +01:00
Lennart Poettering 0d43c6944b journalctl: add command line parsing 2011-12-21 18:59:56 +01:00
Lennart Poettering 807e17f05e journal: add inline compression support with XZ 2011-12-21 02:40:59 +01:00
Lennart Poettering 76318284fc man: switch to UTF-8 output, to work around charset issues 2011-12-19 20:25:52 +01:00
Lennart Poettering 38c67e2a44 man: generate HTML instead of XHTML with XSL docbook to work around 'fsfunc' noise 2011-12-19 19:55:54 +01:00
Lennart Poettering 01448ff92d man: add sd-login(7) page 2011-12-19 13:57:07 +01:00
Lennart Poettering c10eb7b02e build-sys: add rules for man page aliases 2011-12-19 13:25:00 +01:00
Lennart Poettering f0d2e205a2 man: build new man pages 2011-12-19 13:12:36 +01:00
Lennart Poettering 7f3e62571a journal: add native protocol to journald, and client side API to send journal messages 2011-12-17 00:56:34 +01:00
Michal Schmidt 1567308317 add a generator to pull rc-local.service in
rc-local.service acts as an ordering barrier even if its condition is
false, because conditions are evaluated when the service is about to be
started.

To avoid the ordering barrier in a legacy-free system, add a generator
to pull rc-local.service into the transaction only if the script is
executable.

If/when we rewrite SysV compatibility into a generator, this one can become
a part of it.
2011-12-02 11:29:48 +01:00
Lennart Poettering 1e2579fdeb Merge branch 'master' into journal 2011-11-08 19:44:16 +01:00
Lennart Poettering 263653e103 Merge remote-tracking branch 'zbigniew/systemadm_changes' 2011-11-02 14:08:49 +01:00
Ran Benita f5a613c03c bash-completion: rename file since it is no longer for systemctl only 2011-11-02 13:07:47 +01:00
Dexter Morgan 6fdae8a6a4 Add Mageia support
This patch adds support for the Mageia Linux distribution:
 http://www.mageia.org/

Mageia is a fork of Mandriva although some divergence has already occured
and thus inclusion of these changes upstream allow us to (hopefully)
migrate more rapidly to the new standard approaches systemd offers.
Indeed, we already use the preferred mechanism of OS identification via
the /etc/os-release file rather than a distro specific variation.

This patch mostly mirrors the patch added previously for Mandriva
support. In addition to those original authors, this patch was mostly
written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
2011-11-02 02:16:39 +01:00
Lennart Poettering 69e5d42db0 journal: add cgroup path to entries 2011-10-12 05:28:39 +02:00
Lennart Poettering 689b9a22f7 Merge branch 'master' into journal 2011-10-12 04:29:11 +02:00
Lennart Poettering d2134abdd5 build-sys: bump release for v37 2011-10-11 20:46:56 +02:00
Lennart Poettering 21e557edcc units: introduce local-fs-pre.target and remote-fs-pre.target
This hook target enables services to order themselves between
network.target and remote mounts, which is needed for GFS2 and similar
systems.
2011-10-11 03:33:53 +02:00
Lennart Poettering cec736d21f journal: implement parallel traversal in client 2011-10-08 02:21:05 +02:00
Lennart Poettering f4b4781191 journal: split user logs into their own journal files 2011-10-07 23:03:07 +02:00
Lennart Poettering 87d2c1ff6a journal: add preliminary incomplete implementation 2011-10-07 22:02:05 +02:00
Lennart Poettering 652eb44a7f build-sys: fix build 2011-09-29 15:09:18 +02:00
Lennart Poettering fb9de93dd3 localed: add SetX11Keyboard() and SetVConsoleKeyboard() bus calls 2011-09-28 04:34:17 +02:00
Lennart Poettering 7c83341a59 build-sys: bump release 2011-09-23 18:30:02 +02:00
Lennart Poettering b52aae1d93 util: move virtualization detection into its own files, and extend return codes 2011-09-23 17:00:33 +02:00
Lennart Poettering 7ef5875d14 units: introduce unit file for FUSE fs
FUSE and configfs is very very similar, so handle both the same way.
2011-09-22 03:00:04 +02:00
Lennart Poettering ac0a983ac6 units: drop automount unit for /dev/hugepages
Since hugetlbfs cannot be compiled as kernel module there's little point
in doing on-demand mounting via autofs for it.
2011-09-21 03:56:56 +02:00
Lennart Poettering 1f2c94a487 units: drop automount unit for /dev/mqueue
Since the mqueue support cannot be built as a module there's little
benefit in having an autofs mount point set up for this.
2011-09-21 03:56:56 +02:00
Lennart Poettering 77f81d8b30 units: drop automount unit for /sys/kernel/security
Since securityfs cannot be build as module there's little value in
having an on-demand autofs mount point for it.
2011-09-21 03:56:56 +02:00
Lennart Poettering e124e7a4a1 units: drop automount unit for /sys/kernel/debug
Since debugfs cannot be compiled as module there's little benefit in
having it as autofs mount point.
2011-09-21 03:56:55 +02:00
Lennart Poettering 0286cc1551 units: drop /sys/kernel/config automount unit
The mount point directory /sys/kernel/config is only created after the
module is loaded, hence there's little value in having this an automount
unit: the runtime penalty for mounting an autofs here should be the same
as for a real mount.
2011-09-21 03:56:55 +02:00
Bill Nottingham d6bca18e28 units: Add support for automounting configfs, ala debugfs, etc. 2011-09-20 03:35:09 +02:00
Zbigniew Jędrzejewski-Szmek 11216eb0bd systemadm: add libgee as dependency and use it for a unit map 2011-09-20 01:06:01 +02:00
Zbigniew Jędrzejewski-Szmek 0dd27daff4 systemadm: add a wrappable label and use it for status lines
The new WrapLabel is there to work around a deficiency in GTK,
namely the fact that it is hard to make labels which are both
resizable and wrappable. The code is a port from libview.
2011-09-20 01:06:01 +02:00
Lennart Poettering fe7ac31021 build-sys: bump release 2011-09-01 02:10:25 +02:00
Lennart Poettering 801f44bb22 man: document /etc/timezone 2011-08-31 03:09:22 +02:00
Lennart Poettering 346bce1f4c stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive 2011-08-30 22:42:49 +02:00
Lennart Poettering 66be5eda80 build-sys: bump version 2011-08-25 17:02:33 +02:00
Miklos Vajna 4cd1eaa545 build-sys: Add --disable-localed configure switch 2011-08-25 00:58:20 +02:00
Josh Triplett f08fce8820 tmpfiles: Move /tmp and /var/tmp to a separate tmpfiles.d file to ease overrides via /etc
Many people prefer to avoid clearing /tmp and /var/tmp, and
distributions often have explicit settings for how often to clear them
if at all.  Overriding those with systemd currently requires overriding
all of /usr/lib/tmpfiles.d/systemd.conf via
/etc/tmpfiles.d/systemd.conf, copying across all the other entries, and
updating that override when systemd.conf changes.

Move the /tmp and /var/tmp entries from systemd.conf to a separate
tmp.conf, making them easier to override without affecting the rest of
systemd.conf.
2011-08-24 20:39:33 +02:00
Miklos Vajna f47cd184c0 build-sys: Add --disable-timedated configure switch 2011-08-24 16:03:59 +02:00
Lennart Poettering ab1f063390 exec: optionally apply cgroup attributes to the cgroups we create 2011-08-20 00:22:02 +02:00
Lennart Poettering 47675042c2 bump release 2011-08-03 04:19:53 +02:00
Lennart Poettering a41fe3a293 nspawn: add new --no-net switch to turn off networking in the container 2011-08-02 04:49:37 +02:00
Miklos Vajna b2e9fb99ab build-sys: Add --disable-hostnamed configure switch 2011-08-02 01:38:43 +02:00
Lennart Poettering 6e5c044421 build-sys: make distcheck work 2011-08-01 17:09:38 +02:00
Lennart Poettering f975e971ac load-fragment: speed up parsing by using a perfect hash table with configuration settings built by gperf 2011-08-01 00:43:05 +02:00
Lennart Poettering fd42f6e020 build-sys: prepare new release 2011-07-29 03:15:20 +02:00
Michael Biebl 85f19d825e Link against -lcap only where required
Don't put -lcap into LIBS as otherwise everything will be linked against
it, like libsystemd-daemon, where this is not desired.
2011-07-28 05:01:12 +02:00
Lennart Poettering 9b71153605 build-sys: move libsystemd-login to /lib, too 2011-07-27 23:31:53 +02:00
Lennart Poettering 6a9bff42dc build-sys: fix make distcheck 2011-07-27 21:11:24 +02:00
Lennart Poettering 02f130cbd9 pkgconfig: move library .pc files to libdir 2011-07-26 21:44:37 +02:00
Lennart Poettering 41e4d6e9ac sysctl: apply network specific sysctls to each network card as they appear 2011-07-25 20:25:49 +02:00
Lennart Poettering 729e3769c3 systemctl: hook up new install logic
This adds a number of new options to systemctl, for presets, reenabling,
masking/unmask, and runtime operations.
2011-07-25 04:58:02 +02:00
Lennart Poettering c0576cd6d6 bus: expose installer functions 2011-07-23 03:44:47 +02:00
Lennart Poettering 830964834f install: add new installer implementation
This new installer will replace the current code of "systemctl enable"
but also be available via D-Bus. It adds a couple of new features:

- Mask/Unmask calls
- Reenable call
- Preset call
- Support for enabling units temporarily (i.e. in /run/systemd instead
  of /etc/systemd)
- Enumeration of installed units
- Support for out-of-search-path units

systemctl and D-Bus are not hooked up with this yet
2011-07-22 04:31:21 +02:00
Kay Sievers 35bf8dfb85 distribute: src/libsystemd-*.sym 2011-07-15 01:47:47 +02:00
Kay Sievers ae446765eb libsystemd-daemon: support installation in --with-rootlibdir 2011-07-15 01:31:06 +02:00
Lennart Poettering 1eae4c45c9 libs: add symbol versioning for the benefit of RPM 2011-07-14 23:49:37 +02:00
Lennart Poettering 114a50f898 sd-daemon: turn sd-daemon.c into a shared library 2011-07-14 23:06:31 +02:00
Lennart Poettering 74b91131ed logind: introduce libsystemd-login.so as fast path to access logind data 2011-07-14 22:51:28 +02:00
Lennart Poettering a61933adac man: add man page for systemd-loginctl 2011-07-13 22:37:53 +02:00
Lennart Poettering 54479a8fe9 build-sys: fix copynpaste mistake 2011-07-12 01:18:48 +02:00
Lennart Poettering 9356a6c656 build-sys: fix make distcheck 2011-07-12 01:11:40 +02:00
Lennart Poettering 7a41c61168 build-sys: add a number of missing header files to EXTRA_DIST 2011-07-12 01:11:40 +02:00
Frederic Crozat a268a6a38f units: add units for boot.local/halt.local on SUSE distributions. 2011-07-12 00:15:35 +02:00
Zbigniew Jędrzejewski-Szmek 2fb1aedaf2 logind: Fix compilation without ACL
Compilation fails if sys/acl.h is not available. The configure script
already tests for sys/acl.h presence, but the result was so far unused.
To compile without acl, stub implementations of the acl functions are
used.
2011-07-11 22:29:45 +02:00
Bastien Nocera 1c7dde3e47 build-sys: Add i18n support through intltool
And put the PolicyKit policy files up for translation.
2011-07-11 21:10:33 +02:00
Lennart Poettering a4c279f874 loginctl: add various introspection functions 2011-07-08 21:39:10 +02:00
Lennart Poettering abca482291 loginctl: add basic implementation of loginctl for introspecting controlling sessions/users/seats 2011-07-07 03:29:56 +02:00
Lennart Poettering 1968a36040 cgls: add pager support to systemd-cgls 2011-07-07 02:34:35 +02:00
Lennart Poettering d42d27ead9 logind: add service for per-user shared systemd daemon 2011-06-30 02:18:01 +02:00
Lennart Poettering 530345e782 manager: use sd_notify() to notify parent systemd that we have finished startup 2011-06-30 02:15:41 +02:00
Lennart Poettering 0b191e603c logind: hook uaccess into udev by default 2011-06-29 04:14:43 +02:00
Lennart Poettering 8fa365e586 logind: add man page for configuration file 2011-06-29 02:27:53 +02:00
Lennart Poettering 193197e85c logind: parse configuration file 2011-06-29 01:47:55 +02:00
Lennart Poettering 47a2669062 logind: implement basic version of AttachDevice() D-Bus call 2011-06-28 20:50:43 +02:00
Lennart Poettering cd9e5d0a76 logind: activate autovt@.service instead of autovt-getty@.service when the user switches to a previously unused tty, since it doesn't have to be a getty we start on it on demand 2011-06-28 19:25:08 +02:00
Lennart Poettering 7f7bb94679 logind: implement SetUserLinger() D-Bus call 2011-06-28 03:52:22 +02:00
Lennart Poettering d0a522eb31 logind: autospawn gettys when necessary 2011-06-28 00:26:10 +02:00
Lennart Poettering 98a28fef26 logind: hook up PAM module with logind 2011-06-24 18:50:50 +02:00
Lennart Poettering 91f9dcaf92 dbus: add dbus introspection extraction 2011-06-21 19:29:45 +02:00
Lennart Poettering f401e48c2d mechanisms: add mechanisms to change system locale and clock 2011-06-21 19:29:45 +02:00
Lennart Poettering 3f49d45a45 logind: implement D-Bus properties 2011-06-21 19:29:44 +02:00
Lennart Poettering 5eda94dda2 logind: implement ACL management 2011-06-21 19:29:44 +02:00
Lennart Poettering 202630822f logind: first version that compiles fine 2011-06-21 19:29:44 +02:00
Lennart Poettering 835c60f50c build-sys: local-fs, remote-fs and swap are active anyway when user sessions are created, there is no point in having these units known in sessions 2011-06-15 15:54:50 +02:00
Lennart Poettering 5552b1c1b3 build-sys: fix build 2011-06-14 22:01:44 +02:00
Kay Sievers da26173785 drop hwclock-save.service
We don't want to fiddle around changing the RTC, not on bootup, not
on shutdown.

If we don't run NTP, we have absolutely no clue what's the current
time to store in the RTC. If we run NTP, the kernel syncs the system
time every 11 minutes to the RTC.

Especially in multi-boot environents we must not call hwclock(8)
which tries to be smart with calculating/storing/applying drifts
and such.

Live-CDs must never touch the RTC, because we don't know if it is
running in UTC or locatime.
2011-05-25 18:21:36 +02:00
Kay Sievers 7948c4dfbe rtc in localtime: use settimeofday(NULL, tz) instead of hwclock(8)
We check for LOCAL in /etc/adjtime and if needed, ask the kernel to
apply the timezone delta to the system clock.

The very first call of settimeofday() without a time, but a timezone
warps the system clock, so that it properly runs in UTC.
2011-05-24 20:23:07 +02:00
Michael Olbrich e4c1d706bd build-sys: create dbussystemservicedir
otherwise building fails if it doesn't exist:

( cd <DESTDIR>/usr/share/dbus-1/services && \
                rm -f org.freedesktop.systemd1.service && \
                ln -s ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
/bin/sh: line 0: cd: <DESTDIR>/usr/share/dbus-1/services: No such file or directory
2011-05-10 18:48:53 +02:00
Koen Kooi 1bd8b8184e build-sys: Angstrom support
This commit consists of the initial work to include Angstrom as a ported
distribution for systemd.

Angstrom tries to follow the debian way as much as possible, but deviates
where it doesn't make sense for 'embedded'.
2011-05-09 23:50:23 +02:00
Miklos Vajna 27669061f4 build-sys: Add --disable-binfmt configure switch 2011-04-27 00:08:47 +02:00
Kay Sievers 772f83719e tmpfiles.d: switch to stacked config dirs in /lib, /etc, /run 2011-04-25 21:38:21 +02:00
Kay Sievers db1413d738 sysctl.d, binfmt.d, modules-load.d: switch to stacked config dirs in /lib, /etc, /run 2011-04-25 20:41:47 +02:00
Chris E Ferron 54e4fdef80 MeeGo support
This commit consists of the initial work to include MeeGo as a ported
distribution for systemd.

The majority of the changes are small configuration additions to auto
tools, so that MeeGo is identified as a valid distribution option.

Some small deviations will be noticed between the configuration of MeeGo
and other distributions. As MeeGo is a distribution striving for
compliancy to support its near embedded attributes and target users,
there is less user configuration options available by default. Most
services will be enabled by systemd as part of the distribution
requirements, and as such most links and service files will be pre-setup
for the MeeGo distribution. As much of this is going to be done within
the MeeGo distribution packaging this is still noteworthy to mention, as
it explains why in systemd you will observe configuration differences
where the MeeGo distribution removes all links in the pkgsysconfdir for
instance.  MeeGo will be user configurable if there is desire, but most
services will be enabled by the distribution as designated by the MeeGo
compliancy standards.

Other changes are in source to add such areas as meego-release defined
in utils, and hostname in hostname-setup, defining vconsole-setup,
localizations and rescue additions as needed.

As this is all ground work, MeeGo will continue to strive for complete
compatibility.
2011-04-20 01:05:30 +02:00
Lennart Poettering 7640a5de1b hostnamed: introduce systemd-hostnamed
http://www.freedesktop.org/wiki/Software/systemd/hostnamed
2011-04-16 02:03:35 +02:00
Lennart Poettering bfebab7f69 dbus: split out object management code into dbus-common, and simplify it 2011-04-16 02:03:35 +02:00
Lennart Poettering f3bc7fdc7b man: add man page for ask-password 2011-04-08 17:57:17 +02:00