Re: [systemd-devel] [PATCHv2] tmpfiles: don't apply --create to /dev twice during boot

2013-07-24 Thread Lennart Poettering
On Wed, 24.07.13 16:08, Tom Gundersen (t...@jklm.no) wrote: Indentation is borked. Please fix. Please use two strv arrays, one prefix array, and one exclude_prefix array. And introduce --exclude-prefix= to control the latter. > --- > > v2: use --prefix=-/dev, rather than --prefix=!/dev to avoi

[systemd-devel] [PATCHv2] tmpfiles: don't apply --create to /dev twice during boot

2013-07-24 Thread Tom Gundersen
We used to call systemd-tmpfiles --prefix=/dev --create --remove systemd-udevd systemd-tmpfiles --create --remove which caused a bug: The first call would create dead device nodes, udev would change permissions on these nodes, before the second call to tmpfiles would reset the permissions