summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-05-31systemctl: introduce "systemctl man" to show man page for unitLennart Poettering
For now this only reads man: URLs, but later on we might want to support info: too. http/https is probably out of focus.
2012-05-31label: fix systemd-udev labeling of /run directory.Daniel J Walsh
systemd-udev is currently incorrectly labeling /run/udev/* content because it is using selinux prefix labeling of /dev. This patch will allow systemd-udev to use prefix labeling of /dev and /run.
2012-05-31journald: properly handle if we have no PID in a kmsg lineLennart Poettering
2012-05-31login: properly detect MIMO USB displaysLennart Poettering
MIMO USB displays use a generic VID/PID for the hub component. With a bit of trickery we can detect them by the VID/PID of the graphics component.
2012-05-31udev: skip timestamp check if rules are already free()d during reloadKay Sievers
2012-05-31selinux: downgrade database load time message to LOG_DEBUGLennart Poettering
2012-05-30shutdown: Don't skip bind mounts on shutdownDaniel Drake
This reverts commits d72238fcb34abc81aca97c5fb15888708ee937d3 and f3accc08. OLPC runs / as a bind-mount, so this must be remounted RO during shutdown to avoid corruption. As Lennert can't recall the exact reasons for making the shutdown code skip bind mounts, revert to previous behaviour to solve the issue for OLPC. http://lists.freedesktop.org/archives/systemd-devel/2012-April/004957.html
2012-05-30journal: don't allow adding invalid matches to the contextLennart Poettering
2012-05-30journalctl: check first if match is a path nameLennart Poettering
2012-05-30journalctl: support /usr/bin/nginx, etcShawn Landden
2012-05-30journalctl: for now complain if more than one match is provided since this ↵Lennart Poettering
is still broken
2012-05-30build-sys: fix built with --disable-logindLennart Poettering
2012-05-30dbus: better don't expose options we better shouldn't exposedLennart Poettering
NotifySocket= is hardly useful, people should use $NOTIFY_SOCKET if anything. RunningAs= suggests people had a choice of running user mode as PID 1 or vice versa, so remove this too.
2012-05-30service: mark compat options as suchLennart Poettering
This moves FsckPassNo= and SysVStartPriority= into its own "Compatibility Options" section in the man page to clarify that these options are not useful for anything but establishing a limited amount of compatibility. Also stop exposing these options on the bus.
2012-05-30logind: rework button setting semanticsLennart Poettering
If a graphical session without full DE that handles power/suspend events is used this can now be controlled by logind instead, optionally.
2012-05-30login: Use the GOTO properly in udev ruleTero Roponen
In udev rules the labels must be assigned to GOTO keys with '='.
2012-05-30journald: ignore messages read from /proc/kmsg that we generated via /dev/kmsgLennart Poettering
Avoid a busy loop.
2012-05-30logind: add missing filesLennart Poettering
2012-05-30sleep: print nice messages right before and right after system hibernate/sleepLennart Poettering
2012-05-30logind: optionally handle power, sleep and lid switch eventsLennart Poettering
This takes handling of chassis power and sleep keys as well as the lid switch over from acpid. This logic is enabled by default for power and sleep keys, but not for the lid switch. If a graphical session is in the foreground no action is taken under the assumption that the graphical session does this.
2012-05-29capabilities: when dropping capabilities system-wide also drop them from ↵Lennart Poettering
usermode helpers This hooks things up with /proc/sys/kernel/usermodehelper/bset and /proc/sys/kernel/usermodehelper/inheritable.
2012-05-29cgtop: work even if not all cgroups are availableShawn Landden
cgtop quits on startup if all the cgroup mounts it expects are not available. Just continue without nonexistant ones.
2012-05-27udev.pc: install udev files to /lib/udev rather than /lib/systemdTom Gundersen
2012-05-27journald: refer to the correct man pageMatthias Clasen
Fix the reference to the journald.conf man page in the config file of the same name.
2012-05-27scsi_id: fix truncated model in by-id device linksJean Delvare
Do not forget the leading "S" when appending the serial number, otherwise we chop the last character of the model name. Addresses: https://bugzilla.novell.com/show_bug.cgi?id=763397 Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-05-25udev: silent gcc warningsKay Sievers
2012-05-24swap: avoid bad memory accesssystemd/v183Lennart Poettering
2012-05-24build-sys: prepare release 183Lennart Poettering
2012-05-24main: add configuration option to alter capability bounding set for PID 1Lennart Poettering
This also ensures that caps dropped from the bounding set are also dropped from the inheritable set, to be extra-secure. Usually that should change very little though as the inheritable set is empty for all our uses anyway.
2012-05-24service: for Type=idle units consider START_PRE, START, START_POST all as ACTIVELennart Poettering
We want to avoid a deadlock when a service has ExecStartPre= programs that wait for the job queue to run empty because of Type=idle, but which themselves keep the queue non-empty because START_PRE was considered ACTIVATING and hence the job not complete. With this patch we alter the state translation table so that it is impossible ever to wait for Type=idle unit, hence removing the deadlock.
2012-05-23journal: don't complain if SELinux userspace is available but the kernel ↵Lennart Poettering
lacks it
2012-05-23man: properly document FsckPassNo= for mount unitsLennart Poettering
2012-05-23readahead: use Conflicts= instead of masking to get rid of readahead unitsLennart Poettering
2012-05-23readahead: disable collect/replay during system updatesLennart Poettering
2012-05-23readahead: avoid running of readahead services if readahead is already doneLennart Poettering
2012-05-23readahead: avoid activating the journal by accident, log directly to kmsgLennart Poettering
2012-05-23manager: rework generator logicLennart Poettering
Previously generated units were always placed at the end of the search path. With this change there will be three unit dirs instead of one, to place generated entries at the beginning, in the middle and at the end of the search path: beginning: for units that need to override all configuration, regardless of user or vendor. Example use: system-update-generator uses this to temporarily redirect default.target. middle: for units that need to override vendor configuration, but not vendor configuration. Example use: /etc/fstab should override vendor supplied configuration (think /tmp), but should not override native user configuration. end: does not override anything but is available as well. Possible usage might be to convert D-Bus bus service files to native units but allowing vendor supplied native units to win.
2012-05-22units: remove service sysv_path variable and replace it by generic unit_pathLennart Poettering
UnitPath= is also writable via native units and may be used by generators to clarify from which file a unit is generated. This patch also hooks up the cryptsetup and fstab generators to set UnitPath= accordingly.
2012-05-22log: make sure generators never log into the journal to avoid activation ↵Lennart Poettering
deadlocks This makes all generators log to kmsg by default.
2012-05-22mount: drop unused functionLennart Poettering
2012-05-22system-update: add system update generatorLennart Poettering
http://freedesktop.org/wiki/Software/systemd/SystemUpdates
2012-05-22journal: log journal internal messages to kmsgLennart Poettering
2012-05-22execute: use a much lower idle timeout that default timeLennart Poettering
The idle timeout after all is for cosmetics only, hence avoid any substantial delays just for it.
2012-05-22mount: replace PID1 internal fstab parser with generatorLennart Poettering
Bit by bit we should remove non-unit parsing from PID 1 and move into generators, to clean up our code base a bit and clearly separate parsers.
2012-05-22main: only fall back to /bin/sh in case /sbin/init does not existKay Sievers
2012-05-22logind: fix write out of user state fileLennart Poettering
2012-05-22switch-root: do not use close old_root_fd after rm_rf_children()Harald Hoyer
rm_rf_children() has already closed the fd with closedir().
2012-05-22util: make sure to fstatat() at most once in rm_rf_children()Lennart Poettering
2012-05-22journal: crash when filesystem is low on spaceSjoerd Simons
When space is getting too low on a file system rotating the journal file will fail after the rotation, as opening the new logfile will fail. Recognize this when logging the error and don't try to dereference a NULL JournalFile pointer.
2012-05-22main: properly queue default.target after switched rootLennart Poettering
This also introduces rd.systemd.unit= to specify the unit to boot into in the initrd.