summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-06-04silence gcc warning on 32 bitKay Sievers
2012-06-04systemctl: rename "man" to "help"Kay Sievers
2012-06-04udev: reset /proc/self/oom_score_adj in worker processesKay Sievers
Only the main daemon process should be excluded from OOM handling, not the worker processes or their child processes.
2012-06-04remove support for deprecated /proc/self/oom_adjKay Sievers
2012-06-04udev: limit minimum worker count to 16Kay Sievers
2012-06-04udev: lower the starting children_max -> drop the minimum required RAM from ↵Lauri Kasanen
23mb to 5mb Udev was the limiting factor for us on low-RAM systems. Given an average RSS of 180kb, 128 workers would require ~23mb of RAM. Now, please consider what happens when there is only, say, 15mb free. Udev protects itself from OOM, and the kernel can do nothing but panic. 28 workers * 0.18mb = ~5mb. This change should not affect more powerful systems much, given that they still get the addition from the amount of RAM.
2012-06-04fstab-generator: avoid mangling of mount source stringKay Sievers
This is a valid source entry in /etc/fstab: //192.168.6.10/data /data cifs noperm,auto On Mon, Jun 4, 2012 at 2:04 PM, Dave Reisner <d@falconindy.com> wrote: > On Mon, Jun 04, 2012 at 12:57:47PM +0200, Kay Sievers wrote: >> >> Changed it to use: >> path_is_absolute() >> instead of: >> is_path(), >> so that we still sanitize the input we might match against. >> >> Let me know, if you think that could still cause any problems? > Yes, this will still break CIFS shares.
2012-06-04unit-name: never create a unit name with a leading '.'Kay Sievers
Supposed to prevent creating unit files like:   ├── dev-sda1.device.wants   │   └── .dot.mount -> /run/systemd/generator/.dot.mount   ├── .dot.mount from: # cat /etc/fstab /dev/sda1 /.dot vfat ro 1 3 which we later skip reading because of the leading '.'.
2012-06-04logind: punt duplicate definition of InhibitWhatMalte Starostik
Trivial fix for: src/login/logind-inhibit.h:37:3: error: redefinition of typedef 'InhibitWhat' src/login/logind-inhibit.h:26:26: note: previous declaration of 'InhibitWhat' was here
2012-06-04fstab-generator: avoid mangling of non-path mount source and destKay Sievers
This can invalidate otherwise valid source paths with trailing slashes, such as "host:/" in the case of a network mount. Based on a patch from Dave Reisner <dreisner@archlinux.org>, which removed the slash mangling entirely. Changed it to match on the leading slash to exclude non-path values.
2012-06-04keymaps: keyboard-force-release - fix shebangDave Reisner
This script will still run without the shebang, but we won't get the intended effect of the errexit flag in the interpreter line.
2012-06-04systemd-detect-virt: fix "option '--quiet' requires an argument"Kay Sievers
https://bugs.freedesktop.org/show_bug.cgi?id=50671
2012-06-02keymaps: replace dir tokens in keyboard-force-releaseDave Reisner
Use the correct udev libexec dir as well, not systemd's.
2012-06-01missing: define MS_STRICTATIME if not defined alreadyLennart Poettering
2012-06-01journal: allow setting of a cutoff log level for disk storage, syslog, kmsg, ↵Lennart Poettering
console forwarding
2012-06-01journal: support changing the console tty to forward toLennart Poettering
2012-06-01logind: fix indentationLennart Poettering
2012-06-01logind: interpret the can_sleep return value properlyMatthias Clasen
can_sleep() returns a boolean, so a return value > 0 does not mean 'na'.
2012-06-01sleep: Don't call execute_directory() on a binaryMatthias Clasen
Probably a copy-paste error, SYSTEMD_SLEEP_BINARY_PATH should have been SYSTEMD_SLEEP_PATH.
2012-05-31logind: add new user state 'closing'Lennart Poettering
2012-05-31logind: properly clean up user cgroups when they run emptyLennart Poettering
2012-05-31main: Silence gcc warningMarc-Antoine Perennou
2012-05-31Revert "label: fix systemd-udev labeling of /run directory."Kay Sievers
This reverts commit 9b5af248f04b6cad8a5bca836e89a39e9f6823d9. Udev now explicitely labels only files/directories in /dev. The selinux array API is not released and will not work on other distros at this moment.
2012-05-31udev: do not selinux label files in /run/udevKay Sievers
2012-05-31mkdir: provide all functions with and without selinux label applicationKay Sievers
2012-05-31mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵Kay Sievers
context
2012-05-31util: don't require libcap when building libsystemd-sharedKay Sievers
src/shared/util.c includes <sys/capability.h> but doesn't use anything defined there. Since <sys/capability.h> is part of libcap, not libc, don't require it. Allows systemd-without-udevd to require fewer external libraries.
2012-05-31main: allow setting of timer slack for PID 1Lennart Poettering
2012-05-31util: introduce a proper nsec_t and make use of it where appropriateLennart Poettering
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.