Report forwarded
to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>: Bug#654705; Package apt.
(Thu, 05 Jan 2012 11:36:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Pocock <daniel@pocock.com.au>:
New Bug report received and forwarded. Copy sent to APT Development Team <deity@lists.debian.org>.
(Thu, 05 Jan 2012 11:36:08 GMT) (full text, mbox, link).
Subject: manage user/group creation from apt or dpkg
Date: Thu, 05 Jan 2012 12:31:24 +0100
Package: apt
Version: 0.8.10.3+squeeze1
Severity: wishlist
Currently packages can add users and groups from their postinst scripts
The admin has no clear indication which users/groups might be created
when selecting packages to install
This does not meet the needs of all administrators. For example:
- admin wants to use LDAP
- admin wants identical numeric IDs on all hosts to simplify use of
backup and rsync software (e.g. Bacula backs up file ownership numerically)
A more controlled solution might involve some of the following:
- in addition to checking for disk space, `apt-get install' would check
if all required users exist
- apt or dpkg would create the users required by the requested packages
- a setting in dpkg.cfg or apt.conf.d would allow the admin to disable
automatic user creation (in other words, apt-get install would abort
before any change to the system and just give the admin a list of
missing users to create manually)
Workaround: the admin can do things like creating a symlink from
(useradd|adduser) to /bin/false to ensure that dpkg fails on unexpected
user creation. However, this potentially leaves packages partially
installed.
Information forwarded
to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>: Bug#654705; Package apt.
(Thu, 13 Aug 2015 22:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Julian Andres Klode <jak@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(Thu, 13 Aug 2015 22:42:03 GMT) (full text, mbox, link).
To: Daniel Pocock <daniel@pocock.com.au>, 654705@bugs.debian.org
Subject: Re: Bug#654705: manage user/group creation from apt or dpkg
Date: Fri, 14 Aug 2015 00:38:32 +0200
Control: clone -1 -2
Control: reassign -1 dpkg
Control: block -2 by -1
On Thu, Jan 05, 2012 at 12:31:24PM +0100, Daniel Pocock wrote:
> Package: apt
> Version: 0.8.10.3+squeeze1
> Severity: wishlist
>
> Currently packages can add users and groups from their postinst scripts
>
> The admin has no clear indication which users/groups might be created
> when selecting packages to install
>
> This does not meet the needs of all administrators. For example:
> - admin wants to use LDAP
> - admin wants identical numeric IDs on all hosts to simplify use of
> backup and rsync software (e.g. Bacula backs up file ownership numerically)
>
> A more controlled solution might involve some of the following:
>
> - in addition to checking for disk space, `apt-get install' would check
> if all required users exist
> - apt or dpkg would create the users required by the requested packages
> - a setting in dpkg.cfg or apt.conf.d would allow the admin to disable
> automatic user creation (in other words, apt-get install would abort
> before any change to the system and just give the admin a list of
> missing users to create manually)
This is something dpkg would have to do.
> Workaround: the admin can do things like creating a symlink from
> (useradd|adduser) to /bin/false to ensure that dpkg fails on unexpected
> user creation. However, this potentially leaves packages partially
> installed.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
- If you don't I might ignore you.
Bug 654705 cloned as bug 795435
Request was from Julian Andres Klode <jak@debian.org>
to 654705-submit@bugs.debian.org.
(Thu, 13 Aug 2015 22:42:04 GMT) (full text, mbox, link).
Bug reassigned from package 'apt' to 'dpkg'.
Request was from Julian Andres Klode <jak@debian.org>
to 654705-submit@bugs.debian.org.
(Thu, 13 Aug 2015 22:42:04 GMT) (full text, mbox, link).
No longer marked as found in versions apt/0.8.10.3+squeeze1.
Request was from Julian Andres Klode <jak@debian.org>
to 654705-submit@bugs.debian.org.
(Thu, 13 Aug 2015 22:42:05 GMT) (full text, mbox, link).
Added indication that bug 654705 blocks 795435
Request was from Julian Andres Klode <jak@debian.org>
to 654705-submit@bugs.debian.org.
(Thu, 13 Aug 2015 22:42:06 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>: Bug#654705; Package dpkg.
(Thu, 20 Aug 2015 14:00:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>.
(Thu, 20 Aug 2015 14:00:03 GMT) (full text, mbox, link).
To: Julian Andres Klode <jak@debian.org>,
Daniel Pocock <daniel@pocock.com.au>, 654705@bugs.debian.org
Subject: Re: Bug#654705: manage user/group creation from apt or dpkg
Date: Thu, 20 Aug 2015 15:56:52 +0200
Control: forcemerge 685734 -1
On Fri, 2015-08-14 at 00:38:32 +0200, Julian Andres Klode wrote:
> Control: clone -1 -2
> Control: reassign -1 dpkg
> Control: block -2 by -1
>
> On Thu, Jan 05, 2012 at 12:31:24PM +0100, Daniel Pocock wrote:
> > Currently packages can add users and groups from their postinst scripts
> >
> > The admin has no clear indication which users/groups might be created
> > when selecting packages to install
> >
> > This does not meet the needs of all administrators. For example:
> > - admin wants to use LDAP
> > - admin wants identical numeric IDs on all hosts to simplify use of
> > backup and rsync software (e.g. Bacula backs up file ownership numerically)
> >
> > A more controlled solution might involve some of the following:
> >
> > - in addition to checking for disk space, `apt-get install' would check
> > if all required users exist
> > - apt or dpkg would create the users required by the requested packages
> > - a setting in dpkg.cfg or apt.conf.d would allow the admin to disable
> > automatic user creation (in other words, apt-get install would abort
> > before any change to the system and just give the admin a list of
> > missing users to create manually)
>
> This is something dpkg would have to do.
>
> > Workaround: the admin can do things like creating a symlink from
> > (useradd|adduser) to /bin/false to ensure that dpkg fails on unexpected
> > user creation. However, this potentially leaves packages partially
> > installed.
This was already filed in dpkg, merging.
Thanks,
Guillem
Removed indication that bug 654705 blocks 795435
Request was from Guillem Jover <guillem@debian.org>
to 654705-submit@bugs.debian.org.
(Thu, 20 Aug 2015 14:00:05 GMT) (full text, mbox, link).
Marked as found in versions dpkg/1.16.8.
Request was from Guillem Jover <guillem@debian.org>
to 654705-submit@bugs.debian.org.
(Thu, 20 Aug 2015 14:00:05 GMT) (full text, mbox, link).
Merged 654705685734
Request was from Guillem Jover <guillem@debian.org>
to 654705-submit@bugs.debian.org.
(Thu, 20 Aug 2015 14:00:06 GMT) (full text, mbox, link).
Changed Bug title to 'dpkg: Add user/group handling' from 'manage user/group creation from apt or dpkg'.
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Fri, 14 Oct 2022 22:33:12 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.