Bug#916689: systemd: login at console hangs after "Last login..." displayed, ssh hangs as well

Michael Biebl biebl at debian.org
Mon Dec 17 13:25:47 GMT 2018


Am 17.12.18 um 14:06 schrieb Raphael Manfredi:
> Quoting Michael Biebl:
> : Could you uncomment those autofs mounts and try again?
> 
> I commented the line in /etc/auto.master.d/usr_local.autofs, to read:
> 
> #/auto/usr_local   /etc/auto.master.d/usr_local    --timeout=1800 --ghost
> 
> and it now works (I left the other autofs mountpoints since they are
> not in the PATH anywhere).  I can live with /usr/local not being
> mounted from a remote system.

Fwiw, you can use the builtin systemd autofs support.
Define the network mount in /etc/fstab and add x-systemd.automount to
the mount options. Would be interesting to know if you get the hangs as
well then.

> Is there a dependency issue that causes the autofs service to start
> too late in the process, and causing problems when a fs that appears
> in the PATH is actually auto-mounted?

It's unfortunate, that systemctl list-jobs does not work
This could have given us a hint if there is a dependency some jobs are
waiting for.

How exactly do you configure your network btw?
This might indeed be an issue that the network is not really up and
"something" trying to access /usr/local and hanging because of that.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20181217/e848130b/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list