Updated Release
The SELinux web site <http://www.nsa.gov/selinux/> including the mail list archive has been updated. SELinux kernel patches for 2.6.0-test6 and 2.4.21 are available. The updated kernel patches include support for an selinux boot parameter and improved auditing. A number of bugfixes and improvements have been integrated into the user space tools and utilities. SRPMs for newer Red Hat packages are available. The star package has been added. The example policy has been updated. Improvements have been made to existing policy tools, and a new policy analysis tool has been added.
Signature · 8 lines
Howard Holm <[email protected]> Office of Defensive Computing Research 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.
Quoted 2 lines · * Howard Holm ([email protected]) [031002 21:37]:
The
star package has been added.
is that the tar which was enhanced for backing up selinux attributes?
--
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 6 lines · Andreas Schuldei
Quoted 2 lines · * Howard Holm ([email protected]) [031002 21:37]:
The
star package has been added.is that the tar which was enhanced for backing up selinux attributes?
It is not the patched tar program from the old SELinux. Instead, it is a patched form of Joerg Schilling's star(1) archiver. He has incorporated the EA support into the upstream star, so we are able to leverage that support for storing the SELinux attributes in the archive, but there is a small SELinux-specific patch to use the SELinux API to create extracted files immediately with their SELinux security context (rather than having to set the security context _after_ creating the file), since the xattr API does not support that functionality.
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.
Quoted 8 lines · * Stephen Smalley ([email protected]) [031003 15:45]:
Quoted 6 lines · Andreas Schuldei
Quoted 2 lines · * Howard Holm ([email protected]) [031002 21:37]:
The
star package has been added.is that the tar which was enhanced for backing up selinux attributes?
Quoted 8 lines
It is not the patched tar program from the old SELinux. Instead, it is a patched form of Joerg Schilling's star(1) archiver. He has incorporated the EA support into the upstream star, so we are able to leverage that support for storing the SELinux attributes in the archive, but there is a small SELinux-specific patch to use the SELinux API to create extracted files immediately with their SELinux security context (rather than having to set the security context _after_ creating the file), since the xattr API does not support that functionality.
you mention the xattr api. can this tar be uses to restore systems or parts of a system, bridging the 2.4 -> 2.6 switch? Or is it only good for the version of selinux the backup was created with?
i did not find the rpm (or srpm or tar) file for star on the download page. what is the url to it?
and who has a backup script, switching from admin to backup context, and backing up stuff?
--
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 4 lines · Andreas Schuldei
you mention the xattr api. can this tar be uses to restore systems or parts of a system, bridging the 2.4 -> 2.6 switch? Or is it only good for the version of selinux the backup was created with?
The star program only works with extended attributes and (with the SELinux patch) with the new SELinux API. The old SELinux API was never supported by star. Also, just to be clear, the API and implementation changes to SELinux (including the use of xattr) were back ported to Linux 2.4, so there is no difference in API or xattr usage between the current 2.4-based and 2.6-based SELinux. The old SELinux has been moved to the historical versions page and is no longer maintained, at least not by us.
Upgrading an existing system from the old SELinux to the new SELinux seamlessly is complicated; see the earlier discussions on the list regarding it, e.g.
http://marc.theaimsgroup.com/?l=selinux&m=106156668426416&w=2
Quoted 2 lines
i did not find the rpm (or srpm or tar) file for star on the download page. what is the url to it?
You can obtain any of the SRPMS for the patched daemons and utilities from http://www.nsa.gov/selinux/SRPMS. Sorry, we'll add an explicit link for the star patch and SRPM to the download page next time.
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.
Quoted 4 lines · Stephen Smalley
Upgrading an existing system from the old SELinux to the new SELinux seamlessly is complicated; see the earlier discussions on the list regarding it, e.g.
http://marc.theaimsgroup.com/?l=selinux&m=106156668426416&w=2
On Debian, it's not that hard if you can live with running it in non-SELinux or at least permissive mode during the update. I've just done it to my notebook last week. Here's a short step-by-step guide:
http://selinux.lemuria.org/install-2.6.html
It doesn't explicitly say so, but the system was a 2.4.21 SELinux system when I started out.
Signature · 8 lines
http://web.lemuria.org/pubkey.html pub 1024D/2D7A04F5 2002-05-16 Tom Vogt <[email protected]> Key fingerprint = C731 64D1 4BCF 4C20 48A4 29B2 BF01 9FA1 2D7A 04F5 -- 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 11 lines · Andreas Schuldei
Quoted 4 lines · * Howard Holm ([email protected]) [031002 21:37]:
The
star package has been added.is that the tar which was enhanced for backing up selinux attributes?
yes
Quoted 7 lines
--
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.