Commit Graph

1552 Commits

Author SHA1 Message Date
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
ba5beeb174 units: properly use ConditionPathExists= instead of ConditionFileExists= 2010-10-20 14:22:49 +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
335aa753fa units: add missing fsck units 2010-10-20 00:13:23 +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
b772cfe0cc man: extend commenting of .spec file snippets a bit 2010-10-19 19:39:02 +02:00
Lennart Poettering
075b1e86c5 man: properly refer to $MAINPID instead of $(MAINPID) which doesnt work anymore 2010-10-19 19:37:38 +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
e10fe9ffea tmpfiles: remove forcefsck/fastboot flag files after boot 2010-10-19 19:35:04 +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
6f3f9deb0b update fixme 2010-10-14 18:17:42 +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
ddd941ed5c fedora: add compat unit for /sbin/halt.local 2010-10-14 03:59:49 +02:00
Lennart Poettering
b4f27ccc63 systemctl: accept -f as short for --force 2010-10-14 03:19:13 +02:00
Lennart Poettering
9aac953a11 units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
Lennart Poettering
46574a5b4a units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations 2010-10-14 02:58:37 +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
Lennart Poettering
85ed27f699 units: introduce kexec.service, kexec.target and exit.target 2010-10-14 00:57:52 +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
Kay Sievers
26e190cf87 move .h file from SOURCES to DIST to make vala autotools happy 2010-10-13 13:55:06 +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