On Fri, Aug 01, 2014 at 12:14:21PM +0200, Yamakaky wrote: > Hi > > I see some possible improvements to the filesystem package to use some of > the recent improvements to systemd. I don't know if they are already > planned. > > All the empty directories and the links could be replaced by a tmpfiles.d > file, like /usr/lib/tmpfiles.d/archlinux.conf. And what happens if my root filesystem is mounted read-only? So, please let's not allow tmpfiles to touch /etc... > > /etc/{group,gshadow,passwd,shadow} could be removed as the base users and > groups are already created by the upstream sysusers.d files. The > arch-specific ones (like bin or daemon) could be created by > /usr/lib/sysusers.d/archlinux.conf. > > The others /etc/ files could be moved to /usr/share/etc/ and copied as > needed to /etc using tmpfiles.d files. > > A filesystem.install file could launch systemd-tmpfiles and systemd-sysusers > to update the local configuration when the package is updated. > > In the end, filesystem would contain only tmpfiles.d and sysusers.d files + > /usr/share/etc. > > I can make a draft of this package if you want. And all that assumes that you can execute systemd-sysusers, no? Cheers, -- Leonid Isaev GPG fingerprints: DA92 034D B4A8 EC51 7EA6 20DF 9291 EE8A 043C B8C4 C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
Attachment:
pgpFnPd1MiwTN.pgp
Description: PGP signature