Bug#1074121: sub{u,g}id creation

2024-06-24 Thread Colin Watson
On Sun, Jun 23, 2024 at 01:48:02PM +0200, Chris Hofstaedtler wrote: > A long time ago, Balint added code to login's postinst to create > /etc/subuid, /etc/subgid. This is necessary, because without the > files existing, useradd does not add entries to them. > > However: > > 1) login is not essent

Bug#1074121: sub{u,g}id creation

2024-06-23 Thread Chris Hofstaedtler
On Sun, Jun 23, 2024 at 01:48:02PM +0200, Chris Hofstaedtler wrote: > Colin, what do you think? Can/should base-passwd create /etc/subuid, > /etc/subgid on new installs and upgrades? Attached is a draft patch to do this in base-passwd. It is an almost verbatim copy of what login.postinst did so fa

Bug#1074121: sub{u,g}id creation

2024-06-23 Thread Chris Hofstaedtler
Package: passwd,base-passwd X-Debbugs-CC: Helmut Grohne , Johannes Schauer Marin Rodrigues , sbu...@packages.debian.org, de...@packages.debian.org Hi Colin et al, A long time ago, Balint added code to login's postinst to create /etc/subuid, /etc/subgid. This is necessary, because without the fi