Bug 167687
| Summary: | userdel allocate all system memory and then fail | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Milan Kerslager <milan.kerslager> | ||||
| Component: | shadow-utils | Assignee: | Peter Vrabec <pvrabec> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | David Lawrence <dkl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.0 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-07-19 07:39:09 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Milan Kerslager
2005-09-07 07:36:39 UTC
Created attachment 118542 [details]
strace of infinite loop in 'userdel -r kp'
The bug does not depend on '-r' switch.
Hm. When I manually deleted this user I found that there was no record in the /etc/gshadow file. Maybe this was lost when the system has been moved to another machine or so. I can't reproduce it. I deleted(userdel) user foo after group foo had been removed from /etc/gshadow and I got "userdel: error removing shadow group entry" but user foo was removed properly. Did u have two lines begining with same group name in /etc/group? example: #/etc/group groupa:x:998:user1,user2 groupa:x:998:user3,user4 #/etc/passwd user4:x:1773:998::/wic/home/user4:/bin/bash "$userdel user4" spin in infinite loop now. |