Debian package: how to relabel
Question for either one of you. How do I do the equiv of a make relabel with the debian package install? I have a man page for setfiles but can't seem to find the command itself...
Signature · 10 lines
------------------------------------------------------
IN MY NAME: Dale Amon, CEO/MD
No Mushroom clouds over Islandone Society
London and New York. www.islandone.org
------------------------------------------------------
--
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 · Dale Amon
Question for either one of you. How do I do the equiv of a make relabel with the debian package install? I have a man page for setfiles but can't seem to find the command itself...
make -C /etc/selinux 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.
Quoted 1 line · Russell Coker
make -C
/etc/selinuxrelabel
Close but no cigar. I'm missing /usr/sbin/setfiles. What package should have installed it? I've got a man page for it but no binary.
Signature · 10 lines
------------------------------------------------------
IN MY NAME: Dale Amon, CEO/MD
No Mushroom clouds over Islandone Society
London and New York. www.islandone.org
------------------------------------------------------
--
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 · Dale Amon
Quoted 1 line · Russell Coker
make -C
/etc/selinuxrelabelClose but no cigar. I'm missing
/usr/sbin/setfiles. What package should have installed it? I've got a man page for it but no binary.
In answer to my own question, it appears to be part of the policycoreutils package, but is not installed for some reason... I think a forced reinstall is in order!
--
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 · Dale Amon
Quoted 6 lines · Dale Amon
Quoted 1 line · Russell Coker
make -C
/etc/selinuxrelabelClose but no cigar. I'm missing
/usr/sbin/setfiles. What package should have installed it? I've got a man page for it but no binary.In answer to my own question, it appears to be part of the policycoreutils package, but is not installed for some reason... I think a forced reinstall is in order!
I guess there are problems with the dependencies for Debian packages. Reinstall is not necessary, just install policycoreutils (or is that what you meant?).
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.
Quoted 3 lines · Russell Coker
I guess there are problems with the dependencies for Debian packages. Reinstall is not necessary, just install policycoreutils (or is that what you meant?).
No, a reinstall. There was a policycoreutils.list and etc already in the system and a setfiles.8 man page. I did a
apt-get install --reinstall policycoreutils
and just forced it. No idea why it gave me only a partial install.
--
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.
Using Colin's Debian archive
In reply to Russell CokerIf you are trying to work with the experimental debian packages for selinux available from Colin's site, you can fit it into your normal update procedures.
Add this line to the top of your /etc/apt/sources.list file:
deb http://web.verbum.org/debian experimental/
Add this to your /etc/apt/preferences file, or if
you haven't got one, make this the whole of it:
Package: *
Pin: release l=walters
Pin-Priority: 1100
This will also work with dselect if you are using
apt as the update method.
Signature · 10 lines
------------------------------------------------------
IN MY NAME: Dale Amon, CEO/MD
No Mushroom clouds over Islandone Society
London and New York. www.islandone.org
------------------------------------------------------
--
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 · Dale Amon
Question for either one of you. How do I do the equiv of a make relabel with the debian package install? I have a man page for setfiles but can't seem to find the command itself...
You can relabel an individual package like this:
/etc/dpkg/postinst.d/selinux packagename
--
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.