[systemd-devel] udev vs. nscd vs. /var automount

Łukasz Stelmach l.stelmach at samsung.com
Wed Apr 6 10:42:41 UTC 2016


It was <2016-04-06 śro 11:43>, when Jóhann B. Guðmundsson wrote:
> On 04/06/2016 09:15 AM, Łukasz Stelmach wrote:
>> 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?
>
> Cant you disable nscd it in glibc via configuration options via
> --disable-nscd and or --disable-nscd --enable-build-nscd if you dont
> need/want it?

It is on my list I am just not sure "I", which is more like "we"
actually, don't need it. I need to ask.

> Then there is this patch [1] which may or may not have been upstreamed
> already...
>
> 1. https://github.com/OpenMandrivaAssociation/glibc/commit/e251ac2a53eb4a4571b7c7a7fd79e2091478bdc2

This looks even better.

Thanks.
-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160406/39cd79f5/attachment.sig>


More information about the systemd-devel mailing list