Control: reopen -1 On Sat, 2012-08-25 at 21:19:10 +0200, Guillem Jover wrote: > On Fri, 2012-08-24 at 07:23:57 +0200, Harald Dunkel wrote: > > Package: dpkg > > Version: 1.16.8 > > Severity: wishlist > > > It would be very nice if dpkg could manage system users and groups > > created for each package. > > I've pondered about this in the past and commented on it further when > Lars brought it up some time ago: > > <http://blog.liw.fi/posts/addsysuser/> > > In general I think it seems like a good idea, but serious > consideration would be required before designing and implementing > something like this. > > > At the moment I've got GID 105 for dbus on host A, while 105 is > > used for saned on host B (just as an example). This is a severe > > problem when A's root partition is visible somehow on B, e.g. > > on a central backup server, or on an LXC server managing the > > client rootfs in its own name space. > > > > I would like to tell dpkg to use GID 105 for the dbus package on > > all systems. If there is a conflict with an existing entry in > > /etc/passwd or /etc/group, then it should refuse to install. > > > > Do you think this could be done? > > While it could certainly be done, I don't think that this is by itself > a compelling reason to implement the above, because you need to sync > the normal user and groups ids too for example, at which point you are > relying already on another method to sync the passwd dbs. In this case > the easiest as, Gergely has pointed out, is to just pre-create the > system users and groups with a fixed id.
Sorry, didn't mean to close this just yet. thanks, guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org