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

2016-04-09 Thread Łukasz Stelmach
Michal Soltys writes: > On 2016-04-08 18:12, Andrei Borzenkov wrote: >> 08.04.2016 18:20, Michael Biebl пишет: >>> 2016-04-08 16:25 GMT+02:00 Michal Soltys : On your root partition keep /var/run symlink to /run - so regardless if /var is or isn't

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

2016-04-08 Thread Michal Soltys
On 2016-04-08 18:12, Andrei Borzenkov wrote: 08.04.2016 18:20, Michael Biebl пишет: 2016-04-08 16:25 GMT+02:00 Michal Soltys : On your root partition keep /var/run symlink to /run - so regardless if /var is or isn't mounted, the path will be correct. Wouldn't that help ?

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

2016-04-08 Thread Michael Biebl
2016-04-08 18:12 GMT+02:00 Andrei Borzenkov : > 08.04.2016 18:20, Michael Biebl пишет: >> 2016-04-08 16:25 GMT+02:00 Michal Soltys : >>> On your root partition keep /var/run symlink to /run - so regardless if /var >>> is or isn't mounted, the path will be

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

2016-04-08 Thread Andrei Borzenkov
08.04.2016 18:20, Michael Biebl пишет: > 2016-04-08 16:25 GMT+02:00 Michal Soltys : >> On your root partition keep /var/run symlink to /run - so regardless if /var >> is or isn't mounted, the path will be correct. Wouldn't that help ? (unless >> I missed something) > > That only

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

2016-04-08 Thread Michael Biebl
2016-04-08 16:25 GMT+02:00 Michal Soltys : > On your root partition keep /var/run symlink to /run - so regardless if /var > is or isn't mounted, the path will be correct. Wouldn't that help ? (unless > I missed something) That only work for late boot though. Consider the case

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

2016-04-08 Thread Mantas Mikulėnas
That won't work with autofs automounts – they overlay the root partition just like a regular mount would. So it's not that udev can't find the socket, but rather that it triggers autofs whenever it tries to connect. On your root partition keep /var/run symlink to /run - so regardless if > /var

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

2016-04-08 Thread Michal Soltys
On 2016-04-06 11:15, Łukasz Stelmach 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

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

2016-04-07 Thread Łukasz Stelmach
It was <2016-04-07 czw 15:52>, when Lennart Poettering wrote: > On Wed, 06.04.16 11:15, Łukasz Stelmach (l.stelm...@samsung.com) 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

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

2016-04-07 Thread Lennart Poettering
On Wed, 06.04.16 11:15, Łukasz Stelmach (l.stelm...@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

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

2016-04-06 Thread Łukasz Stelmach
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

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

2016-04-06 Thread Jóhann B . Guðmundsson
On 04/06/2016 09:15 AM, Łukasz Stelmach 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