Skip to contentSkip to conversation

verbose make relabel/RedHat 7.1 install

DISCUSSION Eric Peters 1 participant 1 message Jul 24, 2001 SELinux security module

lore
Share & tools
lore
#0 lore raw

So I'm using RedHat 7.1 - fresh system install and after I tools/build-kernel tools/build-apps, install-kernel and install-apps, get lilo setup n crap I login and I get the option to get in via sysadm_r and sysadm_t so I do that then cd /usr/local/build/slinux/policy, and wallah:

# make relabel
[ .... ]
./setfiles:    labeling files under /
./setfiles:    conflicting specifications for /sbin/e2fsck and /sbin/fsck.ext3, using system_u:object_r:fsadm_exec_t
avc: denied { transition } for pid = 728 exe=/usr/local/build/slinux/policy/setfiles path=/sbin/e2fsck dev=03:01 ino=109997
    scontext=system_u:object_r:sbin_t
    tcontext=system_u:object_r:fsadm_exec_t
    tclass=file
./setfiles:    unable to relable /sbin/e2fsck to system_u:object_r:fsadm_exec_t
make: *** [relabel] Error 1
#

I havn't touched the file_context file or pretty much anything other than the three files in /www/security/ and the one users file

Any suggestions?

Thanks

Eric