Red Hat Bugzilla – Bug 141053
"getgrnam failed" complaints in a startup
Last modified: 2007-11-30 17:10:55 EST
Description of problem:
While booting, at least on x86_64 machine, I see the following:
Remounting root filesystem in read-write mode: [ OK ]
Enabling local filesystem quotas: [ OK ]
getgrnam failed for Enabling swap space: [ OK ]
INIT: Entering runlevel: 3
'getrnmame'??? That looks like for quotas, not in use here,
and "Enabling swap space" is really the next line. Hm ...
Version-Release number of selected component (if applicable):
a) are you using quotas
b) do you have groups defined for pam_console use that don't exist?
> a) are you using quotas
As I wrote "looks like for quotas, not in use here".
That is why I got somewhat baffled by this message.
> b) do you have groups defined for pam_console use that don't exist?
That would be it. It turns out that when trying to get some
reasonable behaviour from a scanner I accidentally added one character
on some line, which is as a matter of fact not used at all, in
/etc/security/console.perms. Without your question I could be
looking for a long time. :-)
This is an actual bug in pam. If revert_user is NULL, revert_group is never
initialized, and points to garbage.
Created attachment 122424 [details]
Patch to initialize revert_group