Skip to contentSkip to conversation

what to do: libsemanage.get_home_dirs:

DISCUSSION Justin Mattock 3 participants 5 messages Mar 9, 2010 – Mar 10, 2010 SELinux security module

lore
Share & tools
lore
#0 lore raw

with the latest policy on open suse 11.2
I'm seeing this after building the policy:
libsemanage.get_home_dirs: nobody homedir /var/lib/nobody or its parent directory conflicts with a file context already specified in the policy. This usually indicates an incorrectly defined system account. If it is a system account please make sure its uid is less than 1000 or its login shell is /sbin/nologin.

with using an older policy on this system, I never saw this.

what to do?

Signature · 1 line
Justin P. Mattock
#1 lore raw
Quoted 8 lines · Justin Mattock

with the latest policy on open suse 11.2
I'm seeing this after building the policy:
libsemanage.get_home_dirs: nobody homedir /var/lib/nobody or its parent directory conflicts with a file context already specified in the policy. This usually indicates an incorrectly defined system account. If it is a system account please make sure its uid is less than 1000 or its login shell is /sbin/nologin.

Quoted 5 lines

with using an older policy on this system, I never saw this.

what to do?

/var/lib/nobody record in /etc/passwd needs to have a shell of /bin/false or /sbin/nologin or a UID < 500.

#2 lore raw
Quoted 9 lines · Daniel J Walsh
Quoted 8 lines · Justin Mattock

with the latest policy on open suse 11.2
I'm seeing this after building the policy:
libsemanage.get_home_dirs: nobody homedir /var/lib/nobody or its parent directory conflicts with a file context already specified in the policy. This usually indicates an incorrectly defined system account. If it is a system account please make sure its uid is less than 1000 or its login shell is /sbin/nologin.

Quoted 9 lines
Quoted 5 lines

with using an older policy on this system, I never saw this.

what to do?

/var/lib/nobody record in /etc/passwd needs to have a shell of /bin/false or /sbin/nologin or a UID < 500.

cool thanks..
I'll google a bit before making any changes. usermod -u 500 login seems to be it, but I also seen things in the user/group gui menu which might be safer to try.

Justin P. Mattock

#3 lore raw
In reply to Justin Mattock
Quoted 9 lines · Justin Mattock

with the latest policy on open suse 11.2 I'm seeing this after building the policy:
libsemanage.get_home_dirs: nobody homedir /var/lib/nobody or its parent directory conflicts with a file context already specified in the policy. This usually indicates an incorrectly defined system account. If it is a system account please make sure its uid is less than 1000 or its login shell is /sbin/nologin.

with using an older policy on this system, I never saw this.

what to do?

usermod -s /sbin/nologin nobody

#4 lore raw
Quoted 7 lines · Alan Rouse
Quoted 6 lines · Justin Mattock

with the latest policy on open suse 11.2 I'm seeing this after building the policy:
libsemanage.get_home_dirs: nobody homedir /var/lib/nobody or its parent directory conflicts with a file context already specified in the policy. This usually indicates an incorrectly defined system account. If it is a system account please make sure its uid is less than 1000 or its login shell is /sbin/nologin.

Quoted 5 lines
Quoted 3 lines

with using an older policy on this system, I never saw this.

what to do?

usermod -s /sbin/nologin nobody

just read the other post..
I'll give this a try and see.

Thanks.

Justin P. Mattock