Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#18224 - [policykit] error during installation if the system has a couple of groups created

Attached to Project: Arch Linux
Opened by Ivan Todoroski (Grnch) - Monday, 08 February 2010, 00:01 GMT
Last edited by Jan de Groot (JGC) - Monday, 08 February 2010, 08:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The policykit package insists on creating the "policykit" group with gid 102, however in the default Arch config the user created groups start at gid 100. This means that it is enough to have only two groups already created before installing policykit, and gid 102 will be taken.

If policykit must have a reserved gid then it should be below 100, in the system group range.

Additional info:

/etc/login.defs: USERGROUPS_ENAB no # probably not relevant, but different than default

Repository : extra
Name : policykit
Version : 0.9-9
URL : http://hal.freedesktop.org/docs/PolicyKit/
Licenses : custom
Groups : None
Provides : None
Depends On : dbus-glib>=0.80 expat>=2.0.1 pam
Optional Deps : None
Conflicts With : None
Replaces : None


Steps to reproduce:

# groupadd first
# groupadd second
# pacman -S policykit
resolving dependencies...
looking for inter-conflicts...

Targets (1): policykit-0.9-9

Total Download Size: 0.44 MB
Total Installed Size: 1.89 MB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...
policykit-0.9-9-i686 450.1K 92.8K/s 00:00:05 [###########################################] 100%
checking package integrity...
(1/1) checking for file conflicts [###########################################] 100%
(1/1) installing policykit [###########################################] 100%
groupadd: GID '102' already exists
useradd: group 'policykit' does not exist
chgrp: invalid group: `policykit'
chown: invalid user: `policykit'
chown: invalid user: `policykit:policykit'
chown: invalid user: `policykit'
chgrp: invalid group: `policykit'
chgrp: invalid group: `policykit'
chgrp: invalid group: `policykit'
chgrp: invalid group: `policykit'
chgrp: invalid group: `policykit'
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 08 February 2010, 08:36 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Policykit will be history in a week or so. It will get removed when KDE and networkmanager move from testing.

Loading...