diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-28 17:13:23 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-28 17:30:00 +0200 |
commit | 96d9117ad2db7d8c13f7898127eee8939e88daf1 (patch) | |
tree | 182c7c733b81452f4099fe4c33a2e3bf060b2051 /units/systemd-fsckd.socket | |
parent | e7a3aa3df640993ce9aace39b946543305f3af53 (diff) |
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-fsckd.socket')
-rw-r--r-- | units/systemd-fsckd.socket | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/units/systemd-fsckd.socket b/units/systemd-fsckd.socket deleted file mode 100644 index 92e8eefea6..0000000000 --- a/units/systemd-fsckd.socket +++ /dev/null @@ -1,15 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=fsck to fsckd communication Socket -Documentation=man:systemd-fsckd.service(8) man:systemd-fsck@.service(8) man:systemd-fsck-root.service(8) -DefaultDependencies=no - -[Socket] -ListenStream=/run/systemd/fsckd -SocketMode=0600 |