Skip to contentSkip to conversation

bash: cd: /etc/selinux/strict/users/: No such file or directory

DISCUSSION Roger Brunell 2 participants 2 messages May 16, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

Folks;
This (the subject line) is immedaiately after doing a fresh load of policy
1.22 on a Knoppix (Debian derived) system.

The home.dirs file was messed up; and I had just created a
/etc/default/useradd file. a 'make reload' didn't fix the home.dir problem; so I deleted the entire /etc/selinux/strict subtree and reran the entire load process.

I need to know what parts of the structure are needed to be made by hand?

------------

root@lppda:/etc/selinux/src# make load
install -m 644 file_contexts/file_contexts
/etc/selinux/strict/contexts/files/fi
le_contexts
install -m 644 file_contexts/homedir_template
/etc/selinux/strict/contexts/files
/homedir_template
mkdir -p /etc/selinux/strict/policy
/usr/bin/checkpolicy  -o /etc/selinux/strict/policy/policy.19 policy.conf
/usr/bin/checkpolicy:  loading policy configuration from policy.conf
security:  3 users, 5 roles, 334 types, 18 bools
security:  54 classes, 20262 rules
/usr/bin/checkpolicy:  policy configuration loaded
/usr/bin/checkpolicy:  writing binary representation (version 19) to
/etc/selinu
x/strict/policy/policy.19
/usr/bin/checkpolicy -c 18 -o /etc/selinux/strict/policy/policy.18 policy.conf
/usr/bin/checkpolicy:  loading policy configuration from policy.conf
security:  3 users, 5 roles, 334 types, 18 bools
security:  54 classes, 20262 rules
/usr/bin/checkpolicy:  policy configuration loaded
/usr/bin/checkpolicy:  writing binary representation (version 18) to
/etc/selinu
x/strict/policy/policy.18
/usr/sbin/load_policy /etc/selinux/strict/policy/policy.19
sepol_genusers: Can't load system.users:  No such file or directory
/usr/sbin/load_policy:  Error while setting user configuration from
/etc/selinux
/strict/users//{local.users,system.users}:  No such file or directory
touch tmp/load
root@lppda:/etc/selinux/src# ls

Roger Brunell

Infosec Engineer (retired)
"Born 20 years too early"

__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 10 lines · Roger Brunell

Folks;
This (the subject line) is immedaiately after doing a fresh load of policy
1.22 on a Knoppix (Debian derived) system.

The home.dirs file was messed up; and I had just created a
/etc/default/useradd file. a 'make reload' didn't fix the home.dir problem; so I deleted the entire /etc/selinux/strict subtree and reran the entire load process.

I need to know what parts of the structure are needed to be made by hand?

Try 'make install load'. It used to be the case that load depended on install, but Dan Walsh decoupled them to avoid clobbering locally customizable files upon a subsequent make load (so that updates to the TE configuration wouldn't clobber local customizations to users or booleans). In any event, that particular error shouldn't be fatal; it should just proceed to load the policy.

Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.