summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-26man: various minor fixesLennart Poettering
2012-06-26man: document systemd-hostnamedLennart Poettering
2012-06-26bus: drop HaveWatchdog optionLennart Poettering
Clients should always watch /dev/watchdog directly, instead of going indirect. Let's keep our stacks small.
2012-06-26man: fix typo in sysntemd-user-sessions.service pageTom Gundersen
2012-06-25man: document localedLennart Poettering
2012-06-25systemctl: make sure we print URLs we can't show in systemctl in a nicely ↵Lennart Poettering
clickable way
2012-06-25man: document systemd-timedated.serviceLennart Poettering
2012-06-25man: document systemd-update-utmp-runlevelLennart Poettering
2012-06-25cryptsetup: fix escaping when generating cryptsetup unitsLennart Poettering
2012-06-25tmpfiles: write /run/nologin during early boot to disallow too early user loginsLennart Poettering
systemd-user-sessoins.service will later on remove the flag file, thus permitting user logins when the time has come.
2012-06-25man: document systemd-user-sessions.serviceLennart Poettering
2012-06-25build-sys: make distcheck passLennart Poettering
2012-06-25units: rename cryptsetup@.service to systemd-cryptsetup@.serviceLennart Poettering
It's also our own code, hence should have the prefix.
2012-06-25units: rename halt/hibernate/kexec/poweroff/reboot/suspend to systed-xxxLennart Poettering
These service units also execute our own code, hence rename the accordingly and prefix them with systemd-
2012-06-25units: rename fsck@.service to systemd-fsck@.serviceLennart Poettering
The rule is that units that encapsulate our own code are prefixed with "systemd-". Since the fsck units invoke our own code, hence add the missing prefix. Since a long long time the fsck units didn't invoke the naked fsck binaries anymore, and it is unlikely that this well ever change. On the opposite: the code in systemd-fsck will probably get more complex over time to handle fsck progress to plymouth forwarding. Same for quotacheck (but not quotaon!)
2012-06-25man: document systemd-remount-fs.serviceLennart Poettering
2012-06-25man: document systemd-random-seed-load.serviceLennart Poettering
2012-06-25units: stop sleep.target when it has done its jobLennart Poettering
2012-06-25man: document systemd-vconsole-setup.serviceLennart Poettering
2012-06-22man: introduce bootup(7)Lennart Poettering
2012-06-22man: add more references to k-c-l(7)Lennart Poettering
2012-06-22man: fix references to udev man pageLennart Poettering
2012-06-22man: add reference to bootparam(7) even though it is terribly out of dateLennart Poettering
2012-06-22man: mention other initrd implementations in kernel-command-line(7)Lennart Poettering
2012-06-22unit: drop the Names= optionLennart Poettering
Names= is a source of errors, simply because alias names specified like this only become relevant after a unit has been loaded but cannot be used to load a unit. Let's get rid of the confusion and drop this field. To establish alias names peope should use symlinks, which have the the benefit of being useful as key to load a unit, even though they are not taken into account if unit names are listed but they haven't been explicitly referenced before.
2012-06-22dbus: don't expose SysVInitPath and SysVRcndPath on the busLennart Poettering
People should use systemd.pc if anything at all to determine these directories, and people should not assume that the bus fields are part of the supported API, so let's just drop this.
2012-06-22core: remove sysv_console optionLennart Poettering
This option never made much sense. It was originally intended to make sure that the usual startup output of sysv scripts goes to the terminal. However, since SysV scripts started from a terminal would not output to that terminal, but rather /dev/console this effect was more often than not actually taking place. Nowadays systemd has much nicer boot time status output than SysV which makes the sysv output redundant. Finally, all output of services goes to the journal anyway, and is not lost. Hence, let's drop this option, and simplify things a bit.
2012-06-22systemctl: automatically turn paths and unescaped unit names into proper ↵Lennart Poettering
unit names This makes sure that systemctl status /home is implicitly translated to: systemctl status /home.mount Similar, /dev/foobar becomes dev-foobar.device. Also, all characters that cannot be part of a unit name are implicitly escaped.
2012-06-22modules-load: parse driver=/rd.driver= kernel command line optionLennart Poettering
This generalizes logic that already has been available in dracut before.
2012-06-22man: refer to udevd by its service name not binary nameLennart Poettering
Since the binary name is now hidden away in /usr/lib/ the primary user handle for the udev service is the unit name, hence change the man page to be available under the unit name, and make the binary name an alias for it.
2012-06-22fstab-generator: support fstab=/rd.fstab= kernel cmdlineLennart Poettering
This generalizes functionality already available in dracut.
2012-06-22man: add more links to kernel-command-line(7)Lennart Poettering
2012-06-22cryptsetup: allow configuration of LUKS disks via the kernel cmdlineLennart Poettering
This generalizes a bit of the functionality already available in dracut.
2012-06-22man: prettify logind man pageLennart Poettering
2012-06-22man: minor typo fixesLennart Poettering
2012-06-22man: document all kernel command line options we understandLennart Poettering
2012-06-22journal: fix sd_journal_stream_fd()Lennart Poettering
2012-06-22journal: set the _SYSTEMD_UNIT field for messages from terminated processesEelco Dolstra
As described in https://bugs.freedesktop.org/show_bug.cgi?id=50184 the journal currently doesn't set fields such as _SYSTEMD_UNIT properly for messages coming from processes that have already terminated. This means among other things that "systemctl status" may not show some of the output of services that wrote messages just before they exited. This patch fixes this by having processes that log to the journal write their unit identifier to journald when the connection to /run/systemd/journal/stdout is opened. Journald stores the unit ID and uses it to fill in _SYSTEMD_UNIT when it cannot be obtained normally (i.e. from the cgroup). To prevent impersonating another unit, this information is only used when the caller is root. This doesn't fix the general problem of getting metadata about messages from terminated processes (which requires some kernel support), but it allows "systemctl status" and similar queries to do the Right Thing for units that log via stdout/stderr.
2012-06-22readahead: minor code style fixesLennart Poettering
2012-06-22readahead: make sure to close pack file before exiting, to be valgrind cleanLennart Poettering
2012-06-21readahead: use log_error() for logging errorsLennart Poettering
2012-06-21readahead: make use of util.h's page_size() callLennart Poettering
2012-06-21readahead: merge three binaries into oneLennart Poettering
since the binaries share much of the same code and we better load only one binary instead of two from disk at early boot let's merge the three readahead binaries into one. This also allows us to drop a lot of duplicated code.
2012-06-21preset: don't look for preset files in /lib unless /usr is split offLennart Poettering
2012-06-21man: document the new RPM macros in daemon(7)Lennart Poettering
2012-06-21rpm: include RPM macro definition for .spec snippetsLennart Poettering
Let's try to standardize a bit the RPM macros used for installing/uninstalling services. This only covers the non-SysV compat bits, since that tends to vary widely between the various distros. Usage: Add %{?systemd_requires} to the header of the spec file. And then: %post %systemd_post foobar.service %preun %systemd_preun foobar.service %postun %systemd_postun foobar.service And, instead of the latter, in case the service shall be restarted on updates: %postun %systemd_postun_restart foobar.service
2012-06-21login: wrap CanTTY and CanGraphical seat attributes in libsystemd-loginLennart Poettering
2012-06-21man: document new sd_session_get_state() callLennart Poettering
2012-06-21logind: introduce a state for session, being one of online, active, closingLennart Poettering
online = logged in active = logged in and session is in the fg closing = nominally logged out but some left-over processes still around Related to: https://bugzilla.gnome.org/show_bug.cgi?id=677556
2012-06-21logind: expose CanGraphical and CanTTY properties on seat objectsLennart Poettering
Since we boot so fast now that gdm might get started before the graphics drivers are properly loaded and probed we might end up announcing seat0 to gdm before it has graphics capabilities. Which will cause gdm/X11 cause to fail later on. To fix this race, let's expose CanGraphical and CanTTY fields on all seats, which clarify whether a seat is suitable for gdm resp, suitable for text logins. gdm then needs to watch CanGraphical and spawn X11 on it only if it is true. This way: USB graphics seats will expose CanGraphical=yes, CanTTY=no Machines with no graphics drivers at all, but a text console: CanGraphical=no, CanTTY=yes Machines with CONFIG_VT turned off: CanGraphical=yes, CanTTY=no And the most important case: seat0 where the graphics driver has not been probed yet boot up with CanGraphical=no, CanTTY=yes first, which then changes to CanGraphical=yes as soon as the probing is complete.