Bug 515671 - 'groupadd -r' allocates gids upwards
Summary: 'groupadd -r' allocates gids upwards
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: 11
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F12VirtBlocker
TreeView+ depends on / blocked
 
Reported: 2009-08-05 10:28 UTC by Mark McLoughlin
Modified: 2009-08-12 20:52 UTC (History)
4 users (show)

Fixed In Version: 4.1.4.1-5.fc11
Clone Of:
Environment:
Last Closed: 2009-08-06 16:43:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark McLoughlin 2009-08-05 10:28:23 UTC
On F-11:

  $> rpm -q shadow-utils
  shadow-utils-4.1.2-13.fc11.i586
  $> groupadd -r foo
  $> getent group foo 
  foo:x:482:

with rawhide or F-11 updates-testing:

  $> rpm -q shadow-utils
  shadow-utils-4.1.4.1-5.fc12.x86_64
  $> groupadd -r foo
  $> getent group foo
  foo:x:106:

This is a serious problem because by allocating upwards, we're allocating in the 100-200 range which is now used by system accounts like qemu(107). See also bug #515667

The "allocate upwards" behaviour is long-standing, but it seems a recent shadow-utils re-base has broken it

Comment 1 Fedora Update System 2009-08-05 14:17:54 UTC
shadow-utils-4.1.4.1-5.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/shadow-utils-4.1.4.1-5.fc11

Comment 2 Mark McLoughlin 2009-08-05 17:34:35 UTC
Removing from F12VirtBlocker; using bug #515779 for F-12 tracking

Comment 3 Mark McLoughlin 2009-08-06 16:43:28 UTC
Fixed in rawhide, f12-alpha tag request here:

  https://fedorahosted.org/rel-eng/ticket/2053

Comment 4 Fedora Update System 2009-08-12 20:52:36 UTC
shadow-utils-4.1.4.1-5.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.