Debian Bug report logs - #849265
clean out EXTRA_GROUPS

version graph

Package: adduser; Maintainer for adduser is Debian Adduser Developers <adduser@packages.debian.org>; Source for adduser is src:adduser (PTS, buildd, popcon).

Reported by: Daniel Keast <daniel@kea.st>

Date: Sat, 24 Dec 2016 11:57:02 UTC

Severity: normal

Tags: confirmed

Found in version adduser/3.113+nmu3

Fixed in version adduser/3.122

Done: Marc Haber <mh+debian-packages@zugschlus.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#849265; Package adduser. (Sat, 24 Dec 2016 11:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Keast <daniel@kea.st>:
New Bug report received and forwarded. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Sat, 24 Dec 2016 11:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Daniel Keast <daniel@kea.st>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: adduser: Should not add users to the audio group
Date: Sat, 24 Dec 2016 11:52:38 +0000
Package: adduser
Version: 3.113+nmu3
Severity: normal

Dear Maintainer,

I was having issues with fast user switching in Gnome. When the first user
leaves something running that uses the sound card the second user only gets a
"Dummy Output" sound device. Researching the problem led me to find that users
should not be in the 'audio' group but all of the users on my systems were:

https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PerfectSetup/

https://wiki.ubuntu.com/Audio/TheAudioGroup

https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#User_privileges

Removing the users from this group fixes the issue completely. I'm not sure
what package creates users during installation, but the --add_extra_groups flag
for this command adds this group.

Kind Regards,
Daniel

-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  passwd                 1:4.2-3+deb8u1
ii  perl-base              5.20.2-3+deb8u6

adduser recommends no packages.

Versions of packages adduser suggests:
ii  liblocale-gettext-perl  1.05-8+b1
ii  perl-modules            5.20.2-3+deb8u6

-- debconf information excluded



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#849265; Package adduser. (Tue, 27 Dec 2016 19:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Afif Elghraoui <afif@ghraoui.name>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Tue, 27 Dec 2016 19:21:03 GMT) (full text, mbox, link).


Message #10 received at 849265@bugs.debian.org (full text, mbox, reply):

From: Afif Elghraoui <afif@ghraoui.name>
To: Daniel Keast <daniel@kea.st>, 849265@bugs.debian.org
Subject: Re: [Adduser-devel] Bug#849265: adduser: Should not add users to the audio group
Date: Tue, 27 Dec 2016 11:20:12 -0800
Hello and thanks for the report

على السبت 24 كانون الأول 2016 ‫03:52، كتب Daniel Keast:
> 
> I was having issues with fast user switching in Gnome. When the first user
> leaves something running that uses the sound card the second user only gets a
> "Dummy Output" sound device. Researching the problem led me to find that users
> should not be in the 'audio' group but all of the users on my systems were:
> 
> https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PerfectSetup/
> 
> https://wiki.ubuntu.com/Audio/TheAudioGroup
> 
> https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#User_privileges
> 
> Removing the users from this group fixes the issue completely. I'm not sure
> what package creates users during installation, but the --add_extra_groups flag
> for this command adds this group.
> 

I'd like to get in touch with the udev maintainers about this. There may
be other groups in this set of extra_groups that are in a similar situation.

Thanks and regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#849265; Package adduser. (Wed, 28 Dec 2016 22:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Dan Keast <daniel@kea.st>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Wed, 28 Dec 2016 22:39:03 GMT) (full text, mbox, link).


Message #15 received at 849265@bugs.debian.org (full text, mbox, reply):

From: Dan Keast <daniel@kea.st>
To: Afif Elghraoui <afif@ghraoui.name>
Cc: 849265@bugs.debian.org
Subject: Re: [Adduser-devel] Bug#849265: adduser: Should not add users to the audio group
Date: Wed, 28 Dec 2016 22:36:34 +0000
[Message part 1 (text/plain, inline)]
Hi Afif,

That sounds like a great idea to me.

It's a pretty trivial change, but I've attached a patch file if it's of any
use to you.

Thanks,
Dan

On 27 December 2016 at 19:20, Afif Elghraoui <afif@ghraoui.name> wrote:

> Hello and thanks for the report
>
> على السبت 24 كانون الأول 2016 ‫03:52، كتب Daniel Keast:
> >
> > I was having issues with fast user switching in Gnome. When the first
> user
> > leaves something running that uses the sound card the second user only
> gets a
> > "Dummy Output" sound device. Researching the problem led me to find that
> users
> > should not be in the 'audio' group but all of the users on my systems
> were:
> >
> > https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/
> PerfectSetup/
> >
> > https://wiki.ubuntu.com/Audio/TheAudioGroup
> >
> > https://wiki.archlinux.org/index.php/Advanced_Linux_
> Sound_Architecture#User_privileges
> >
> > Removing the users from this group fixes the issue completely. I'm not
> sure
> > what package creates users during installation, but the
> --add_extra_groups flag
> > for this command adds this group.
> >
>
> I'd like to get in touch with the udev maintainers about this. There may
> be other groups in this set of extra_groups that are in a similar
> situation.
>
> Thanks and regards
> Afif
>
> --
> Afif Elghraoui | عفيف الغراوي
> http://afif.ghraoui.name
>
[Message part 2 (text/html, inline)]
[0001-Remove-audio-from-list-of-extra-groups.patch (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#849265; Package adduser. (Sun, 01 Jan 2017 23:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Afif Elghraoui <afif@ghraoui.name>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Sun, 01 Jan 2017 23:15:02 GMT) (full text, mbox, link).


Message #20 received at 849265@bugs.debian.org (full text, mbox, reply):

From: Afif Elghraoui <afif@ghraoui.name>
To: Dan Keast <daniel@kea.st>
Cc: 849265@bugs.debian.org
Subject: Re: [Adduser-devel] Bug#849265: adduser: Should not add users to the audio group
Date: Sun, 1 Jan 2017 15:10:25 -0800
Hi,

على الأربعاء 28 كانون الأول 2016 ‫14:36، كتب Dan Keast:
> Hi Afif,
> 
> That sounds like a great idea to me.
> 
> It's a pretty trivial change, but I've attached a patch file if it's of
> any use to you.
> 

Thanks for the patch. Anyway, I've just gotten around to contacting the
udev maintainers:

http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2017-January/013683.html

regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#849265; Package adduser. (Sun, 15 Jan 2017 07:18:06 GMT) (full text, mbox, link).


Acknowledgement sent to Afif Elghraoui <afif@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Sun, 15 Jan 2017 07:18:06 GMT) (full text, mbox, link).


Message #25 received at 849265@bugs.debian.org (full text, mbox, reply):

From: Afif Elghraoui <afif@debian.org>
To: 766914@bugs.debian.org
Subject: user-setup: hardware access groups should not be default
Date: Sat, 14 Jan 2017 23:13:56 -0800
Hello,

I had #849265 reported against adduser for this problem that exists in
d-i's user-setup. It also exists in adduser if the --add_extra_groups
flags is used (which is why I didn't reassign/merge), user-setup is
adding this groups directly.

See the bug log for 849265 [1], as well as my correspondence with
pkg-systemd [2].

Thanks and regards
Afif

1. http://bugs.debian.org/849265
2.
http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2017-January/013684.html

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser@packages.debian.org>:
Bug#849265; Package adduser. (Sat, 19 Mar 2022 10:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to Marc Haber <mh+debian-packages@zugschlus.de>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser@packages.debian.org>. (Sat, 19 Mar 2022 10:51:05 GMT) (full text, mbox, link).


Message #30 received at 849265@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-packages@zugschlus.de>
To: Daniel Keast <daniel@kea.st>, 849265@bugs.debian.org, 849265-submitter@bugs.debian.org
Subject: Re: Bug#849265: adduser: Should not add users to the audio group
Date: Sat, 19 Mar 2022 11:50:05 +0100
Control: tags -1 confirmed
thanks

I will empty out the EXTRA_GROUPS lists to just contain "users" in one
of the next uploads. I am running my own machines with this already
(having removed myself from all groups that are in EXTRA_GROUPS in
adduser) and would like to stay with that for a week or so before I
change the package.

Greetings
Marc




Added tag(s) confirmed. Request was from Marc Haber <mh+debian-packages@zugschlus.de> to 849265-submit@bugs.debian.org. (Sat, 19 Mar 2022 10:51:05 GMT) (full text, mbox, link).


Message sent on to Daniel Keast <daniel@kea.st>:
Bug#849265. (Sat, 19 Mar 2022 10:51:07 GMT) (full text, mbox, link).


Changed Bug title to 'clean out EXTRA_GROUPS' from 'adduser: Should not add users to the audio group'. Request was from Marc Haber <mh+debian-packages@zugschlus.de> to control@bugs.debian.org. (Sat, 19 Mar 2022 10:57:02 GMT) (full text, mbox, link).


Message sent on to Daniel Keast <daniel@kea.st>:
Bug#849265. (Tue, 31 May 2022 09:54:04 GMT) (full text, mbox, link).


Message #40 received at 849265-submitter@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-packages@zugschlus.de>
To: 849265-submitter@bugs.debian.org
Subject: Bug#849265 marked as pending in adduser
Date: Tue, 31 May 2022 09:50:32 +0000
Control: tag -1 pending

Hello,

Bug #849265 in adduser reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/adduser/-/commit/5d0ac74f7f490cda8f88e690f624b52effc628d3

------------------------------------------------------------------------
clean out EXTRA_GROUPS to only contain users.

Thanks: Daniel Keast
Closes: #849265
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/849265



Added tag(s) pending. Request was from Marc Haber <mh+debian-packages@zugschlus.de> to 849265-submitter@bugs.debian.org. (Tue, 31 May 2022 09:54:04 GMT) (full text, mbox, link).


Message sent on to Daniel Keast <daniel@kea.st>:
Bug#849265. (Tue, 31 May 2022 10:03:08 GMT) (full text, mbox, link).


Message #45 received at 849265-submitter@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-packages@zugschlus.de>
To: 849265-submitter@bugs.debian.org
Subject: Bug#849265 marked as pending in adduser
Date: Tue, 31 May 2022 10:00:00 +0000
Control: tag -1 pending

Hello,

Bug #849265 in adduser reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/adduser/-/commit/5900a71886a5c86a21f63c6236042273a7514911

------------------------------------------------------------------------
clean out EXTRA_GROUPS to only contain users.

Thanks: Daniel Keast
Closes: #849265
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/849265



Reply sent to Marc Haber <mh+debian-packages@zugschlus.de>:
You have taken responsibility. (Wed, 13 Jul 2022 19:06:54 GMT) (full text, mbox, link).


Notification sent to Daniel Keast <daniel@kea.st>:
Bug acknowledged by developer. (Wed, 13 Jul 2022 19:06:54 GMT) (full text, mbox, link).


Message #50 received at 849265-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 849265-close@bugs.debian.org
Subject: Bug#849265: fixed in adduser 3.122
Date: Wed, 13 Jul 2022 19:03:47 +0000
Source: adduser
Source-Version: 3.122
Done: Marc Haber <mh+debian-packages@zugschlus.de>

We believe that the bug you reported is fixed in the latest version of
adduser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 849265@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <mh+debian-packages@zugschlus.de> (supplier of updated adduser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 13 Jul 2022 20:30:00 +0200
Source: adduser
Architecture: source
Version: 3.122
Distribution: unstable
Urgency: low
Maintainer: Debian Adduser Developers <adduser@packages.debian.org>
Changed-By: Marc Haber <mh+debian-packages@zugschlus.de>
Closes: 202943 239825 398793 432562 520037 521883 588872 643559 664869 675804 679746 685532 701110 723572 774046 849265 874560 891748 896916 908997 920739 923059 925511 926262 969217 977678 979385 983405 992163 1001863 1006897 1006941 1006975 1007785 1008081 1008091 1014395 1014448
Changes:
 adduser (3.122) unstable; urgency=low
 .
   [ Marc Haber ]
   * improve package description.
   * Standards-Version: 4.6.1 (no changes necessary)
   * clean out EXTRA_GROUPS to only contain users.
     Thanks to Daniel Keast. (Closes: #849265)
   * add SECURITY section to manual pages.
   * add test for backups of home directory.
   * improve and update lintian overrides.
   * Formatting changes to manual pages.
     Thanks to Markus Hiereth. (Closes: #874560)
   * fix some typos in manual pages.
   * set VERBOSE and DEBUG envvars in deluser as well. (Closes: #1006897)
   * add documentation about adduser being a policy layer. (Closes: #1007785)
   * try to clarify system account terminology (policy vs system).
     (Closes: #1006975)
   * Document that only adduser --system is idempotent. (Closes: #723572)
   * error out for two-argument addgroup.
     Thanks to Mike Dornberger. (Closes: #664869)
   * make --add_extra_groups into --add-extra-groups. (Closes: #1014395)
   * --force-badname is now --allow-badname. (Closes: #1014448)
   * update turkish debconf translation.
     Thanks to Atila KOÇ. (Closes: #908997)
   * Update Russian debconf translation.
     Thanks to Lev Lamberov. (Closes: #920739)
   * Update Danish debconf translation (Closes: #923059)
   * Update Italian debconf translation.
     Thanks to Luca Monducci. (Closes: #969217)
   * Update German man page translation.
     Thanks to Helge Kreutzmann. (Closes: #977678)
   * Update European Portuguese translation of man page.
     Thanks to Américo Monteiro. (Closes: #925511)
   * disable translated manpages, none left for the time being.
   * deprecate planned directory service support.
   * Add docs about adduser.local being the place to interact with DS,
   * Some improvements to autopkgtests.
 .
   [ Matt Barry ]
   * System account home dir defaults to /nonexistent. (Closes: #679746)
   * do not accept all-numeric user names. (Closes: #891748)
   * prompts need y/n/empty(default).
   * Implement SYS_DIR_MODE. (Closes: #1008081, #202943, #398793)
   * Implement SYS_NAME_REGEX. (Closes: #521883, #432562)
   * Deprecate SETGID_HOME.
     Add NEWS/TODO items. (Closes: #643559, #979385, #1008091, #643559)
   * Fix ignored files for --remove-all-files.
     (Closes: #1001863, #588872, #926262, #992163)
   * Redefines the default NO_DEL_PATHS to avoid unnecessary
     scanning.
   * Change deluser_files test to use gzip.
   * Fix deletion of sockets/pipes. (Closes: #685532)
   * Simplify checkname sub.  (Closes: #1006941)
   * Adds support for lock files. (Closes: #983405)
   * Username validity testing framework.
   * Add --allow-all-names to bypass --force-badname.
     (Closes: #520037, #774046)
   * use warnf instead of printf in some places. (Closes: #675804)
   * Support tar --auto-compress for backups. (Closes: #896916)
   * Many improvements to autopkgtests. (Closes: 239825)
 .
   [ Jason Franklin ]
   * Allow for cloned-UID users in group member lists.
     Thanks to Daniel Heimann. (Closes: #701110)
Checksums-Sha1:
 5cbcec9f80e5c73198307edb7040c5c12bb35d3f 1683 adduser_3.122.dsc
 ccf7c4e3efec29257e3b484bb53c2a55d69e0455 230224 adduser_3.122.tar.xz
 27c0ec7f2d7048ddfd7f89dc33012bef7a8e5866 5697 adduser_3.122_source.buildinfo
Checksums-Sha256:
 584ed616d8ac705daffc96564ef45fb34f2eb9663f7348013adea0e4539a869c 1683 adduser_3.122.dsc
 5f093054c0f0c90c313d704f7af6d338f334df793942fafd43e5a8e6c63236c4 230224 adduser_3.122.tar.xz
 7f92d3de2b5ea8da31088424a2043831dedc8aab8f60158e37455cb3a350d63e 5697 adduser_3.122_source.buildinfo
Files:
 0c7d4c5bcd648b829bcaa58101fecbb7 1683 admin important adduser_3.122.dsc
 1da1b75966877f902c4b6d0d5f105609 230224 admin important adduser_3.122.tar.xz
 ab9602ba5d83a6de88ab29bb2e76d961 5697 admin important adduser_3.122_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE6QL5UJ/L0pcuNEbjj3cgEwEyBEIFAmLPEWMACgkQj3cgEwEy
BELCfhAAujNsWZNpvvi2vpDICGMPprz7MooXq5B4fe6fR6nR5Pizh+0E9Skh7NVl
Z5qJvIzcNcva+/TYkml0wO77H1fPefQ+sgxCHmtUTBwK9LZPdh0b6MrWK7hWnhk0
QI/mRMKoNUrMSpVz6suvetUrHvVymWBv/hsQHTt5uSOAB/Wqwbfdt0VFYgQ2i+Yd
Vtr1+U4yjPZ+j9kAFg7HYnVc2Jh8J07ipRrSRnC07AB3wvwcunUiv2fOzJi4S51S
9n/LllsXNS4629siVKDspKOtaak3dpXRPLHFgB+hPlZRhdCCKWoto9TrY1e3XY8N
zZRSYVULaH9OkuIFx6yoUuChhDmteyZ+C0TJlv+qaigf34/qaqF15pu4ee5ZlmuT
SYHI2vcYQ0yXJ92U2U56hYvlzFZufyopWUQkALKwGEzq13LMlMtTJhKypl2PnwzF
jL/n0r0P92kSUd0BAFuzsdp3PPkQoTG9hSTf5BQAXN9JR1dYkIjc95si8KKZ+FD+
Gda+o46EUo3tLgAYGxStxoPsgNb8n2mePrFB5cXERL84uimeVNMg4Hnmt8+cqnYw
jbdDxODIBNsgoCYEqqTe2NOyBQv5gPb0PXYekiHNFRH70sTJDPIjQkrnrYQX73xZ
W5ap2XFEMpqGrFa8VyUwRl15/MAg5Ds0bRi7GzlGPKIKKK8PFFI=
=6vgg
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 11 Aug 2022 07:29:49 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 21:45:09 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.