SELinux and SystemImager
what do you mean by xattr's, could you please elaborate.
As we understand the SI is just doing a copy (using rsync) of the files, and SE Linux uses inode info along with context of the files. Once we have the SELinux copy we want to avoid the relabel after rebooting. If there is a way to relabel the copy thru SI or some other system command without the reboot??
Thanks,
-Rajeev
Quoted 6 lines
It sounds like SI doesn't support xattr's.
The easy way of working around this is to create a floppy disk that boots a SE Linux kernel and initrd that can relabel the file system. After doing the SI work you just boot from the custom floppy to label it correctly, then it should be fully functional.
_________________________________________________________________
Find great local high-speed Internet access value at the MSN High-Speed Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
--
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.
Quoted 3 lines · R N
what do you mean by xattr's, could you please elaborate.
As we understand the SI is just doing a copy (using rsync) of the files, and SE Linux uses inode info along with context of the files.
The context of each file is stored in it's security.selinux xattr.
Quoted 4 lines
Once we have
the SELinux copy we want to avoid the relabel after rebooting. If there is a way to relabel the copy thru SI or some other system command without the reboot??
Rebooting is necessary. I suggest making a custom boot disk for relabeling to avoid booting in permissive mode for a relabel.
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- 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.