Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 201991 - useradd can't find group
Summary: useradd can't find group
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: David Lawrence
URL:
Whiteboard:
: 201993 (view as bug list)
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-08-10 08:23 UTC by Karsten Hopp
Modified: 2019-11-14 06:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-11 11:00:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2006-08-10 08:23:01 UTC
Description of problem:
I found this in cron/anacron's logs:
/etc/cron.daily/beagle-crawl-system:
chown: `beaglidx': invalid user

/etc/passwd has no entry for beaglidx

Version-Release number of selected component (if applicable):
beagle-0.2.7-6
setup-2.5.53-1

Comment 1 Karsten Hopp 2006-08-10 08:28:18 UTC
As this was a fresh install there are more infos in install.log:
Installing beagle - 0.2.7-6.x86_64
warning: user beaglidx does not exist - using root
warning: user beaglidx does not exist - using root

This looks like a missing Requires(pre): shadow-utils as shadow-utils is installed
much later than beagle

Comment 2 Alexander Larsson 2006-08-10 14:50:29 UTC
0.2.7-7 adds the prereq.

Comment 3 Alexander Larsson 2006-08-10 16:14:58 UTC
That didn't help. Seems to be a useradd bug:

/usr/sbin/groupadd -g 1000 blah
/usr/sbin/useradd -r -u 1000 -s /sbin/nologin -c "blah" -d / -g 1000 blah
useradd: unknown group 1000

This doesn't happen in fc5.

Comment 4 Alexander Larsson 2006-08-10 16:20:23 UTC
Using -g blah gives:
useradd: "invalid numeric argument 'blah'

Note, the groupadd works. The problem is in useradd.


Comment 5 Wart 2006-08-10 23:37:00 UTC
For reference:  shadow-utils-4.0.17-4 in rawhide is affected by this bug.

Comment 6 Peter Vrabec 2006-08-11 11:00:20 UTC
fixed in shadow-utils-4.0.17-5

Comment 7 Martin Stransky 2006-08-17 10:53:03 UTC
*** Bug 201993 has been marked as a duplicate of this bug. ***


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