configuring /var/run with newer autoconf
Mike Frysinger
vapier@gentoo.org
Thu Apr 7 17:51:00 GMT 2016
On 07 Apr 2016 16:49, Łukasz Stelmach wrote:
> TL;DR Is there a chance a patch requiring autconf 2.70 is going to be
> accepted?
>
> I found myself in trouble because of a deadlock during boot (on
> Linux). In short: the deadlock happens if I want to make /var
> automountable because.
>
> a) systemd controls controls automounts.
>
> b) To mount a file-system systemd needs to know about the underlying
> block device.
>
> c) udev tells systemd about devices available.
>
> d) When udev starts it tries to make some queries via NSS which means
> connecting to nscd (/var/run/nscd/socket, hardcoded in nscd-client.h)
>
> Effect: I can't configure /var to be automounted.
>
> Solutions:
>
> a) Compile glibc without nscd support. This works for me, now.
>
> b) Make the path configurable so Linux systems, especially those
> controlled by systemd which requires /var/run to be a symlink
> pointing to /run which is mounted by systemd as tmpfs, can use /run
> instead of /var/run.
b) has been discussed here in the past and declined:
https://sourceware.org/ml/libc-alpha/2015-03/msg00828.html
but you also have another option and what most people have been doing:
c) symlink /var/run to /run
problem solved
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160407/98cc1279/attachment.sig>
More information about the Libc-alpha
mailing list