[Pkg-shadow-devel] Bug#791661: Bug#791661: patches

Dimitri John Ledkov dimitri.j.ledkov at intel.com
Fri Sep 18 09:27:11 UTC 2015


On 18 September 2015 at 08:13, Michael Vogt <mvo at 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?


98 sleeps till Christmas

Open Source Technology Center
Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.

More information about the Pkg-shadow-devel mailing list