[systemd-devel] udev vs. nscd vs. /var automount
Lennart Poettering
lennart at poettering.net
Thu Apr 7 13:52:06 UTC 2016
On Wed, 06.04.16 11:15, Ćukasz Stelmach (l.stelmach at samsung.com) wrote:
> Hi,
>
> I've hit a problem caused by a mix of: automounting + glibc + udev + my
> partition layout. Apparently it is impossible to make /var automountable
> because udev (which needs to enumerate devices befor mounting them) is
> trying to connect to /var/run/nscd/socket (that's actually glibc
> code). This attempt does not fail because autofs tells there still is
> hope that the path will appear soon but it won't because udev can't tell
> the device to mount exists.
>
> I've checked glibc source and it still refers to /var/run/nscd/socket
> rather than /run/nscd/socket. As far as I know there is no way to
> disable nscd lookups.
>
> Any idead how to cope with it?
Don't see any. Only option really is to fix glibc to not use /var/run
anymore, but use /run instead. Consider filing a bug against glibc.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list