summaryrefslogtreecommitdiff
path: root/units/systemd-fsck-root.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-28 17:13:23 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-28 17:30:00 +0200
commit96d9117ad2db7d8c13f7898127eee8939e88daf1 (patch)
tree182c7c733b81452f4099fe4c33a2e3bf060b2051 /units/systemd-fsck-root.service.in
parente7a3aa3df640993ce9aace39b946543305f3af53 (diff)
downloadsystemd-96d9117ad2db7d8c13f7898127eee8939e88daf1.tar.gz
fsck: remove fsckd again, but keep the door open for external replacement
For a longer discussion see this: http://lists.freedesktop.org/archives/systemd-devel/2015-April/030175.html This introduces /run/systemd/fsck.progress as a simply AF_UNIX/SOCK_STREAM socket. If it exists and is connectable we'll connect fsck's -c switch with it. If external programs want to get progress data they should hence listen on this socket and will get all they need via that socket. To get information about the connecting fsck client they should use SO_PEERCRED. Unless /run/systemd/fsck.progress is around and connectable this change reverts back to v219 behaviour where we'd forward fsck output to /dev/console on our own.
Diffstat (limited to 'units/systemd-fsck-root.service.in')
-rw-r--r--units/systemd-fsck-root.service.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/units/systemd-fsck-root.service.in b/units/systemd-fsck-root.service.in
index f493445b86..3617abf04a 100644
--- a/units/systemd-fsck-root.service.in
+++ b/units/systemd-fsck-root.service.in
@@ -9,9 +9,7 @@
Description=File System Check on Root Device
Documentation=man:systemd-fsck-root.service(8)
DefaultDependencies=no
-Wants=systemd-fsckd.socket
Before=local-fs.target shutdown.target
-After=systemd-fsckd.socket
ConditionPathIsReadWrite=!/
[Service]