Skip to contentSkip to conversation

Backing out SeLinux on 2.4

DISCUSSION Shane Wegner 2 participants 2 messages Feb 19, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi,

I have decided to backout an installation of SeLinux and using a regular 2.4 kernel, the system cannot mount the root device, presumably due to the presence of ACLs. Applying the acl patch at acl.bestbits.at does fix the problem. Is there a way to remove the SeLinux ACLs such that the system can once again be booted on a vanilla kernel? Maybe a dump/restore would work. Anything that could be done without taking the system offline?

Thanks,
Shane

--
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 8 lines · Shane Wegner

I have decided to backout an installation of SeLinux and using a regular 2.4 kernel, the system cannot mount the root device, presumably due to the presence of ACLs. Applying the acl patch at acl.bestbits.at does fix the problem. Is there a way to remove the SeLinux ACLs such that the system can once again be booted on a vanilla kernel? Maybe a dump/restore would work. Anything that could be done without taking the system offline?

I think that the fast symlink detection fix went into vanilla 2.4.25, so you should be able to boot a vanilla 2.4.25 kernel. You should also be able to boot your SELinux kernel with selinux disabled (selinux=0) and then use something like:

	find / -exec setfattr -x security.selinux {} \;

to remove the SELinux attributes.

Signature · 8 lines
Stephen Smalley <[email protected]>
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.