Commit Graph

745 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri
abe35cc2b7 tmpfiles: consider TRUNCATE_DIRECTORY as well.
reorder lines to match the enum declaration.
2010-10-21 13:53:47 +02:00
Kay Sievers
51ccf641d7 fsck: drop -C from fsck cmdline to avoid EPIPE 2010-10-21 12:22:30 +02:00
Lennart Poettering
9fc507041e unit: introduce %f specifier to decode file names 2010-10-20 16:16:45 +02:00
Lennart Poettering
417e842dc3 mount: pull in quotacheck.service, not quotacheck.target 2010-10-20 15:21:44 +02:00
Lennart Poettering
0355825f59 mount: require fsck 2010-10-20 15:21:05 +02:00
Lennart Poettering
1f5558b499 manager: properly parse finish timestamp 2010-10-20 14:41:07 +02:00
Lennart Poettering
f2382a94e0 manager: properly write header marker on serialization 2010-10-20 14:40:44 +02:00
Lennart Poettering
b65a25f256 mount: do not implicitly pull in fsck service for root dir 2010-10-20 14:26:46 +02:00
Lennart Poettering
2ba545f1a0 service: implement FsckPassNo= option 2010-10-20 14:22:23 +02:00
Lennart Poettering
dcdf86bbb0 log: reopen console so that we have logging on shutdown 2010-10-20 00:56:26 +02:00
Lennart Poettering
dc8e15c206 fsck: don't be idempotent for root directories 2010-10-20 00:44:09 +02:00
Lennart Poettering
6e8ebcc7de fsck: make fsck idempotent 2010-10-19 23:47:12 +02:00
Lennart Poettering
a9e1f5ec36 fsck: properly hook in fsck everywhere, add special support for fsck'ing root dir 2010-10-19 23:45:18 +02:00
Lennart Poettering
90bb85e140 fsck: atomically replace base.target by rescue.target/reboot.target when fsck fails 2010-10-19 21:53:19 +02:00
Lennart Poettering
3e33a44a01 fsck: be verbose when skipping fsck due to missing AC 2010-10-19 21:22:47 +02:00
Lennart Poettering
3d20ed6d51 fsck: add initial version of fsck and quotacheck wrappers 2010-10-19 21:19:12 +02:00
Lennart Poettering
688c672501 systemctl: fix counting in list-units output
https://bugzilla.redhat.com/show_bug.cgi?id=643502
2010-10-19 19:43:47 +02:00
Lennart Poettering
29003cffa7 tmpfiles: destruct selinux database after use 2010-10-19 19:36:45 +02:00
Lennart Poettering
d2dfce17b5 label: don't fail miserably if filesystem doesn't do xattrs/labels
https://bugzilla.redhat.com/show_bug.cgi?id=642664
2010-10-19 19:35:35 +02:00
Lennart Poettering
4e4343146a swap: listen for POLLPRI events on /proc/swaps if available 2010-10-18 23:09:09 +02:00
Lennart Poettering
5a33f657b5 label: if the selinux policy knows no label, then silently don't do anything 2010-10-18 22:47:57 +02:00
Lennart Poettering
e472d47628 util: ignore quota files by default 2010-10-18 22:39:17 +02:00
Lennart Poettering
47a483a1ab manager: serialize/deserialize finish timestamp 2010-10-18 22:39:06 +02:00
Lennart Poettering
3b63d2d31d tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit 2010-10-18 22:38:41 +02:00
Lennart Poettering
12aad1d075 shutdown: loop only as long as we manage to unmount/detach devices, give up immediately when we are stuck 2010-10-14 18:55:04 +02:00
Lennart Poettering
2d9a339782 umount: disable dm devices by devnode, not by path name 2010-10-14 18:17:23 +02:00
Lennart Poettering
b4f27ccc63 systemctl: accept -f as short for --force 2010-10-14 03:19:13 +02:00
Lennart Poettering
d48141ba0b umount: try to get rid of DM devices 2010-10-14 02:33:09 +02:00
Lennart Poettering
2ca1b42253 shutdown: log to console by default 2010-10-14 01:27:31 +02:00
Fabiano Fidencio
bec9996d6a vala: register new D-Bus calls 2010-10-14 00:56:50 +02:00
Lennart Poettering
20b09ca7fd systemctl: rework halt/reboot/poweroff/kexec/exit logic around --force 2010-10-14 00:56:12 +02:00
Lennart Poettering
0003d1ab75 manager: hookup shutdown helper and signals 2010-10-14 00:54:48 +02:00
Lennart Poettering
6652a2b9e5 dbus: expose shutdown helper via D-Bus 2010-10-14 00:53:51 +02:00
Fabiano Fidencio
b9080b03a9 manager: hookup execution of systemd-shutdown helper
(Modified by Lennart Poettering)
2010-10-14 00:52:26 +02:00
Lennart Poettering
e61cd18666 shutdown: make use of wait_for_terminate_and_warn() 2010-10-14 00:50:11 +02:00
Lennart Poettering
d37fb98bbc shutdown: execute rescue kill only once 2010-10-14 00:49:53 +02:00
Lennart Poettering
567ea02a89 shutdown: don't chdir to /, since init is running with / as cwd anyway 2010-10-14 00:49:22 +02:00
Lennart Poettering
7e23b34c7d umount: be a bit more verbose when unable to umount/unswap/delete loopbacks 2010-10-14 00:43:35 +02:00
Lennart Poettering
ce726252a9 umount: simplify code for deactivating loop devices 2010-10-14 00:43:13 +02:00
Lennart Poettering
b854a7e728 umount: properly enumerate loopback devices 2010-10-14 00:42:44 +02:00
Lennart Poettering
2054a5b8cb umount: unescape path from /proc/self/mountinfo first, then check against api mount list 2010-10-14 00:41:57 +02:00
Lennart Poettering
f23c09b0fd condition: fix copyright 2010-10-14 00:40:39 +02:00
Lennart Poettering
491ad5dc66 mount: pull in fsck only in systemd instances 2010-10-13 17:18:36 +02:00
Lennart Poettering
9fff8a1f16 mount: hook in q fsck@.service instance for all mount points with passno > 0 2010-10-13 03:57:04 +02:00
Lennart Poettering
560d8f2381 systemctl: warn if user enables unit with no installation instructions 2010-10-13 03:13:23 +02:00
Lennart Poettering
2cccbca4fd dbus: add introspection to midlevel paths 2010-10-13 03:03:31 +02:00
Lennart Poettering
37072578da lookup: look for dynamic throw-away units in /dev/.systemd/system 2010-10-13 02:34:21 +02:00
Lennart Poettering
f601daa701 inotify: properly handle multiple inotify events per read() 2010-10-13 02:34:00 +02:00
Lennart Poettering
52661efd21 unit: add minimal condition checker for unit startup 2010-10-13 02:15:41 +02:00
Lennart Poettering
e04aad61bb swap: major rework, use /sbin/swapon for setting up swaps, fix merging of aliased swap disks 2010-10-12 04:08:04 +02:00