[Pkg-shadow-devel] Bug in --disable-subordinate-ids in shadow-4.2.1
Brett Neumeier
bneumeier at gmail.com
Tue Nov 10 11:00:34 UTC 2015
Hello Pkg-shadow-devel!
When trying to build and install shadow 4.2.1 without support for
subordinate IDs, I found issues both with compiling and installation.
The compilation bug is because of a missing guard clause in process_flags
in usermod.c; adding an appropriate #ifdef block fixes it.
The installation bug is similarly because of a missing guard clause; the
installation process tries to setuid on newuidmap and newgidmap even when
those programs aren't built.
The attached patch corrects both problems!
Cheers,
Brett
--
Brett Neumeier (bneumeier at gmail.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20151110/ea077d3d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadow-4.2.1-fix-disable-subids-1.patch
Type: text/x-patch
Size: 1959 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20151110/ea077d3d/attachment.bin>
More information about the Pkg-shadow-devel
mailing list