[Pkg-shadow-devel] Help wanted: test new shadow source package (login, passwd, uidmap, etc.)
bubulle at debian.org
Fri May 2 06:32:11 UTC 2014
Quoting Serge Hallyn (serge.hallyn at ubuntu.com):
> Quoting Christian PERRIER (bubulle at debian.org):
> > Quoting Christian PERRIER (bubulle at debian.org):
> > > Hello fellow developers,
> > >
> > > I would like to request your help in testing the new version of the
> > > shadow package (that provides login, passwd and such other important
> > > or base packages).
> > I haven't got much feedback....which is indeed what I was more or less
> > expecting. ;-)
> > So, well, let's jump into the mud (I love to do that when
> > running.....not sure I love to do that in my FLOSS activities) and
> > I'll soon upload shadow to unstable.... Be prepared.
> so first glitch I found is that /etc/subuid was not created for me.
> login.postinst only creates that on new installs. In Ubuntu it
> does so anytime it does not exist - I assume you made that change
> on purpose? usermod -v refuses to run if the file does not exist,
> so users will need to be told to create those files themselves.
What makes you think this?
In login.postinst, we have:
# Create subuid/subgid if missing
if [ ! -e /etc/subuid ]; then
chown root:root /etc/subuid
chmod 644 /etc/subuid
(strangely indented, admitedly....but unless I'm missing something
obvious, it is unconditionnally run)
That code probably somes unchanged from the patches that have been
And, well, on my system, /etc/subuid and /etc/subgid were indeed
created when I manually installed the new login package.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the Pkg-shadow-devel