| Summary: | baselayout-1.8.6.12 - grpconv uses all mem and is OOM killed | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matt Taylor <liverbugg> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | carlo, radek |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
strace.gz
ltrace.gz |
||
|
Description
Matt Taylor
2003-11-11 21:44:03 UTC
If you run it from console, does this still happens ? yup Could you merge 'strace' and 'ltrace' and attach logs for both of '[sl]trace -ff grpconv' ? Created attachment 20843 [details]
strace.gz
strace...once it gets into the brk(*) part it just keeps going incrementing
until it's killed.
Created attachment 20844 [details]
ltrace.gz
ltrace loops...2 full loops and the start of a third are captured
Try to update to -r9 of glibc ? still does it w/ glibc-2.2.5-r9 Same here... from the grpconv manual page
...
BUGS
Errors in the password or group files (such as invalid or duplicate entries) may
cause these programs to loop forever or fail in other strange ways. Please run
pwck and grpck to correct any such errors before converting to or from shadow
passwords or groups.
...
running grpck prior to grpconv fixes the problem for me
grpck fixed it for me. I had duplicate nogroup, sshd, and apache entries. *** Bug 40898 has been marked as a duplicate of this bug. *** So basically this should fix it?:
--
Index: baselayout-1.8.6.13.ebuild
===================================================================
RCS file: /home/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.6.13.ebuild,v
retrieving revision 1.3
diff -u -r1.3 baselayout-1.8.6.13.ebuild
--- baselayout-1.8.6.13.ebuild 9 Feb 2004 04:12:24 -0000 1.3
+++ baselayout-1.8.6.13.ebuild 15 Feb 2004 21:28:28 -0000
@@ -703,9 +703,18 @@
# Enable shadow groups (we need ROOT=/ here, as grpconv only
# operate on / ...).
if [ "${ROOT}" = "/" -a \
- ! -f /etc/gshadow -a -x /usr/sbin/grpconv ]
+ ! -f /etc/gshadow -a -x /usr/sbin/grpck -a -x /usr/sbin/grpconv ]
then
- /usr/sbin/grpconv
+ /usr/sbin/grpck &>/dev/null
+ if [ "$?" -eq 0 ]
+ then
+ /usr/sbin/grpconv
+ else
+ echo
+ ewarn "Running 'grpck' returned errors. Please run it by hand, and then"
+ ewarn "run 'grpconv' afterwards!"
+ echo
+ fi
fi
# Simple Release version for testing of features that *should* be
--
Anyhow, commited to cvs. Please reopen if there are any more issues.
|