[systemd-devel] Debugging systemd shutdown problem on openSuSE 12.3

Andrey Borzenkov arvidjaar at gmail.com
Tue May 14 03:00:04 PDT 2013


On Tue, May 14, 2013 at 11:43 AM, Rainer Krienke <krienke at uni-koblenz.de> wrote:
>
> Next I tried to reenable autofs, reboot, then  manually stopped the
> service (systemctl stop autofs) and then reboot. Again the system hangs
> but this time I still have a remote ssh open and it was not killed so I
> could run journalctl to get the log:
>
> http://userpages.uni-koblenz.de/~krienke/tmp/systemd/journalctl
>
> What is striking to me is that the logs shows:
>
> May 14 09:28:27 rzinstal3 systemd[1]: Unit autofs.service entered failed
> state
>
> This was exactly the time I manually stopped autofs, which worked.

No, it did not.

May 14 09:28:25 rzinstal3 systemd[1]: Stopping Automounts filesystems
on demand...
May 14 09:28:25 rzinstal3 systemd[1]: About to execute /sbin/killproc
-t 45 -p $PIDFILE automount
May 14 09:28:25 rzinstal3 systemd[1]: Forked /sbin/killproc as 3361
May 14 09:28:25 rzinstal3 systemd[1]: autofs.service changed running -> stop
May 14 09:28:26 rzinstal3 killproc[3361]: killproc: Usage:
May 14 09:28:26 rzinstal3 systemd[1]: Received SIGCHLD from PID 3361 (killproc).
May 14 09:28:26 rzinstal3 systemd[1]: Got SIGCHLD for process 3361 (killproc)
May 14 09:28:26 rzinstal3 systemd[1]: Child 3361 died (code=exited,
status=2/INVALIDARGUMENT)
May 14 09:28:26 rzinstal3 systemd[1]: Child 3361 belongs to autofs.service
May 14 09:28:26 rzinstal3 systemd[1]: autofs.service: control process
exited, code=exited status=2


It failed to properly stop and had to kill.

 One
> existing NFS automount was umounted and no auto* process is now running
> any longer.
>
> I'll leave the system in that state (a working shell still open) if
> someone has an idea how to find out more about this problem.
>
> A list of all running processes can be seen here:
>
> http://userpages.uni-koblenz.de/~krienke/tmp/systemd/processes
>
> Thanks
> Rainer
> --
> Rainer Krienke, Uni Koblenz, Rechenzentrum, A22, Universitaetsstrasse  1
> 56070 Koblenz, http://userpages.uni-koblenz.de/~krienke, Tel: +49261287 1312
> PGP: http://userpages.uni-koblenz.de/~krienke/mypgp.html,Fax: +49261287
> 1001312
>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>


More information about the systemd-devel mailing list