fsck: remove fsckd again, but keep the door open for external replacement
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Apr 2015 15:13:23 +0000 (17:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Apr 2015 15:30:00 +0000 (17:30 +0200)
commit96d9117ad2db7d8c13f7898127eee8939e88daf1
tree182c7c733b81452f4099fe4c33a2e3bf060b2051
parente7a3aa3df640993ce9aace39b946543305f3af53
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.
14 files changed:
.gitignore
Makefile-man.am
Makefile.am
man/systemd-fsck@.service.xml
man/systemd-fsckd.service.xml [deleted file]
src/fsck/fsck.c
src/fsckd/Makefile [deleted symlink]
src/fsckd/fsckd.c [deleted file]
src/fsckd/fsckd.h [deleted file]
units/.gitignore
units/systemd-fsck-root.service.in
units/systemd-fsck@.service.in
units/systemd-fsckd.service.in [deleted file]
units/systemd-fsckd.socket [deleted file]