[Pkg-shadow-devel] Help wanted: test new shadow source package (login, passwd, uidmap, etc.)
serge.hallyn at ubuntu.com
Fri May 2 13:37:33 UTC 2014
Quoting Christian PERRIER (bubulle at debian.org):
> 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.
> > Hi,
> > 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
> touch /etc/subuid
> chown root:root /etc/subuid
> chmod 644 /etc/subuid
> (strangely indented, admitedly....but unless I'm missing something
Oh, yo'ure right. The indenting threw me off.
And the reason they weren't created was that I was blindly expecting
the uidmap package to depend on both passwd and login >= 1:4.2-1,
so while i had upgraded passwd to experimental's version i hadn't
Sorry, my bad. So all seemed to be working fine!
> obvious, it is unconditionnally run)
> That code probably somes unchanged from the patches that have been
> proposed, indeed.
> And, well, on my system, /etc/subuid and /etc/subgid were indeed
> created when I manually installed the new login package.
> Pkg-shadow-devel mailing list
> Pkg-shadow-devel at lists.alioth.debian.org
More information about the Pkg-shadow-devel