Package: passwd
Version: 1:4.2-3
File: /etc/login.defs   

Hi!

The man page of `login.defs` says that the default value for these
parameters are:

 * SUB_UID_COUNT == 10000
 * SUB_GID_COUNT == 10000

Sadly, this is not the case. By default it seems to be "65536", which is
the default Ubuntu value.

This can be tested on any system by looking at `/etc/subuid` or
`/etc/subgid`:

$ cat /etc/subgid

systemd-timesync:100000:65536
systemd-network:165536:65536
systemd-resolve:231072:65536
systemd-bus-proxy:296608:65536
_apt:362144:65536
rdnssd:427680:65536
messagebus:493216:65536
avahi-autoipd:558752:65536
avahi:624288:65536
colord:689824:65536
dnsmasq:755360:65536
geoclue:820896:65536
pulse:886432:65536
lightdm:951968:65536
rtkit:1017504:65536
saned:1083040:65536
usbmux:1148576:65536
Debian-gdm:1214112:65536
hplip:1279648:65536

I guess that when merging the patches for `subuid` and `subgid` from
Ubuntu (#739981), default values were not reset.

I'm no expert here, but it seems you have two choices:

1) Change the man page
2) Change the default value to comply with the man page

Choosing to do 2) could have unforeseen consequences though.

Anyway, thanks for taking care of this package!

--
pollo

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to