[systemd-devel] systemd-fsckd: Couldn't connect to plymouth: Connection refused
Didier Roche
didrocks at ubuntu.com
Mon Mar 16 00:15:52 PDT 2015
Le 14/03/2015 21:37, Mikhail Morfikov a écrit :
> This is the full log I got when I tried to mount the device:
>
> Mar 14 20:46:08 morfikownia polkitd(authority=local)[1266]: Registered Authentication Agent for unix-process:11439:94979 (system bus name :1.41 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
> Mar 14 20:46:08 morfikownia systemd[1]: Starting Cryptography Setup for grafi...
> Mar 14 20:46:08 morfikownia cryptdisks_start[11444]: Starting crypto disk...grafi (starting)...
> Mar 14 20:46:11 morfikownia cryptdisks_start[11444]: grafi (started)...done.
> Mar 14 20:46:11 morfikownia systemd[1]: Started Cryptography Setup for grafi.
> Mar 14 20:46:11 morfikownia systemd[1]: Found device /dev/mapper/grafi.
> Mar 14 20:46:11 morfikownia systemd[1]: Starting File System Check on /dev/mapper/grafi...
> Mar 14 20:46:11 morfikownia systemd[1]: Started File System Check Daemon to report status.
> Mar 14 20:46:11 morfikownia systemd[1]: Starting File System Check Daemon to report status...
> Mar 14 20:46:12 morfikownia systemd-fsck[11515]: grafi has been mounted 22 times without being checked, check forced.
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:12 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:13 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:13 morfikownia systemd-fsck[11515]: grafi: 21194/1966080 files (4.9% non-contiguous), 7743265/7863808 blocks
> Mar 14 20:46:13 morfikownia systemd-fsckd[11517]: Couldn't connect to plymouth: Connection refused
> Mar 14 20:46:13 morfikownia systemd[1]: Started File System Check on /dev/mapper/grafi.
> Mar 14 20:46:13 morfikownia systemd[1]: Mounting /media/Grafi...
> Mar 14 20:46:13 morfikownia systemd[1]: Mounted /media/Grafi.
> Mar 14 20:46:13 morfikownia kernel: EXT4-fs (dm-6): mounted filesystem with ordered data mode. Opts: errors=remount-ro,commit=10
> Mar 14 20:46:13 morfikownia polkitd(authority=local)[1266]: Unregistered Authentication Agent for unix-process:11439:94979 (system bus name :1.41, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
>
> That's an encrypted partition, and I open it sometimes after I log into
> the system because most of the time I don't need it, and I don't want
> it to be mounted at boot automatically.
>
> The device works well after mounting, but what about the systemd-fsckd
> message? Is there a way to get rid of that?
Hey,
This message is due to plymouth not running when systemd-fsckd is starts
to get some output to print (it will reconnect to plymouth as soon as
plymouth is starting). The message is harmless in itself.
I've written a patch to only try to connect if the pid plymouth file is
present
(http://lists.freedesktop.org/archives/systemd-devel/2015-March/029174.html).
This one triggered a more profound discussion on systemd-fsckd and I
applied Lennart's advice (with this change as well) in the thread
including
http://lists.freedesktop.org/archives/systemd-devel/2015-March/029269.html.
This set of patches is waiting for reviews since.
Cheers,
Didier
More information about the systemd-devel
mailing list