summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-10-18label: if the selinux policy knows no label, then silently don't do anythingLennart Poettering
2010-10-18util: ignore quota files by defaultLennart Poettering
2010-10-18manager: serialize/deserialize finish timestampLennart Poettering
2010-10-18tmpfiles: integrate kay's directory cleanup code and otherwise beef up ↵Lennart Poettering
tmpfiles quite a bit
2010-10-14shutdown: loop only as long as we manage to unmount/detach devices, give up ↵Lennart Poettering
immediately when we are stuck
2010-10-14umount: disable dm devices by devnode, not by path nameLennart Poettering
2010-10-14systemctl: accept -f as short for --forceLennart Poettering
2010-10-14umount: try to get rid of DM devicesLennart Poettering
2010-10-14shutdown: log to console by defaultLennart Poettering
2010-10-14vala: register new D-Bus callsFabiano Fidencio
2010-10-14systemctl: rework halt/reboot/poweroff/kexec/exit logic around --forceLennart Poettering
2010-10-14manager: hookup shutdown helper and signalsLennart Poettering
2010-10-14dbus: expose shutdown helper via D-BusLennart Poettering
2010-10-14manager: hookup execution of systemd-shutdown helperFabiano Fidencio
(Modified by Lennart Poettering)
2010-10-14shutdown: make use of wait_for_terminate_and_warn()Lennart Poettering
2010-10-14shutdown: execute rescue kill only onceLennart Poettering
2010-10-14shutdown: don't chdir to /, since init is running with / as cwd anywayLennart Poettering
2010-10-14umount: be a bit more verbose when unable to umount/unswap/delete loopbacksLennart Poettering
2010-10-14umount: simplify code for deactivating loop devicesLennart Poettering
2010-10-14umount: properly enumerate loopback devicesLennart Poettering
2010-10-14umount: unescape path from /proc/self/mountinfo first, then check against ↵Lennart Poettering
api mount list
2010-10-14condition: fix copyrightLennart Poettering
2010-10-13mount: pull in fsck only in systemd instancesLennart Poettering
2010-10-13mount: hook in q fsck@.service instance for all mount points with passno > 0Lennart Poettering
2010-10-13systemctl: warn if user enables unit with no installation instructionsLennart Poettering
2010-10-13dbus: add introspection to midlevel pathsLennart Poettering
2010-10-13lookup: look for dynamic throw-away units in /dev/.systemd/systemLennart Poettering
2010-10-13inotify: properly handle multiple inotify events per read()Lennart Poettering
2010-10-13unit: add minimal condition checker for unit startupLennart Poettering
2010-10-12swap: major rework, use /sbin/swapon for setting up swaps, fix merging of ↵Lennart Poettering
aliased swap disks
2010-10-12mount: minor cleanupsLennart Poettering
2010-10-12systemctl: drop [] around date in status outputLennart Poettering
2010-10-12systemctl: show whether we follow somebody in 'status' outputLennart Poettering
2010-10-08service: introduce Restart=on-failure and Restart=on-abortLennart Poettering
2010-10-08util: don't specifically check for the /dev/null major/minor, just check ↵Lennart Poettering
whether something is a char or block device
2010-10-08unit: rename 'banned' load state to 'masked'Lennart Poettering
2010-10-08service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a serviceLennart Poettering
This should fix accounting for pam_limits and suchlike. https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-10-08systemctl: fix 'systemctl enable getty@.service'Lennart Poettering
2010-10-08service: increase default timeout for sysv scripts to 3minLennart Poettering
For SysV services we cannot set the timeout inside the configuration file. Hence let's pick a large timeout by default. https://bugzilla.redhat.com/show_bug.cgi?id=635393
2010-10-08mount: properly handle NULL fstypeLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=636752
2010-10-08unit: introduce 'banned' load state for units symlinked to /dev/nullLennart Poettering
2010-10-07user-sessions: properly unlink both nologin filesLennart Poettering
2010-10-07user-sessions: add minimal utility to kill user sessions that shall be ↵Lennart Poettering
called before destroying services on shutdown
2010-10-07shutdown: drop last referral to mp->read_onlyLennart Poettering
2010-10-07shutdown: drop redundant read_only bool varLennart Poettering
2010-10-07shutdown: create /var/run/nologin instead of /etc/nologin which is supported ↵Lennart Poettering
since PAM 1.1.2
2010-10-07util: unify implementations of freeze()Lennart Poettering
2010-10-07shutdown: Adding binary to shutdown the systemFabiano Fidencio
This functions are working as follows: - Send a SIGTERM to all processes that may be finished - Send a SIGKILL to all processes that still live and may be finished - Try to unmount all mount points - Try to remount read-only all mount points that can't be umounted - Umount all swap devices - Umount and detach all loopback devices - Call [poweroff|halt|reboot|kexec] TODO: - Umount device-mapper. - Make log work. So far it is being useless as we do not parse /etc/systemd/system.conf, kernel command line but just environment, however we're executed by init and thus have no useful variables. Forcing it to target=kmsg/console and level=debug also does not produce any output, however writing to /dev/console does work (hack used during debug).
2010-10-07umount: Adding unmount functions to be used in shutdownFabiano Fidencio
This functions will: - umount all mount points that aren't API - remount read-only all mount points that can't be umounted - umount all swap devices. - detach all loopback devices TODO: - umount dms Mountpoints are being read from /proc/self/mountinfo. Swaps are being read from /proc/swaps. Loop devices from /sys/class/block/loop*.
2010-10-07util: Adding a strneq, to represent (!strncmp(a, b, n))Fabiano Fidencio
As we have streq to repesent (strcmp(a, b) == 0),I'm adding strneq to represent (strncmp(a, b, n) == 0), that will be used in umount.c (at least).