Control: tags -1 moreinfo patch upstream Hi,
On Fri, 18 Sep 2015 10:27:11 +0100 Dimitri John Ledkov <dimitri.j.led...@intel.com> wrote: > Hello, > > On 18 September 2015 at 08:13, Michael Vogt <m...@ubuntu.com> wrote: > > Hi, > > > > looks like the actual patches are missing for some reason. Attached > > are the two patches that add support for libnss-extrausers. > > > > These patches look weird. Are these used to manipulate > /var/lib/extrausers/* ? and why not use systemd-sysusers for that? > > E.g. in clearlinux.org we have sysusers.d config files, which at build > time are used to generate {passwd,group,shadow,...} > > The patches that we have for shadow (and i believe i have even > published some of them) go further - that is they load information > from both databases and allow manipulating it. Such that kvm group is > defined in altfiles location, yet one can still add users to said > group. In those patches a lookup is done to alternative location, and > the entry is copied across into the writable /etc/group, if one wants > custom user accounts to be added into a "system" group. There we use > libnss-altfiles modules. > > Could you please elaborate how this patch fits together and used in > Ubuntu / snappy? If it's never interactive, why not use > systemd-sysusers support then? Could you please upstream [1] the Ubuntu or the ClearLinux version? I would happily update the package with the fix, but I would prefer one you could agree on. Cheers, Balint [1] https://github.com/shadow-maint/shadow