Skip to contentSkip to conversation

prelink on debian

PATCH Luke Kenneth Casson Leighton 2 participants 5 messages Aug 23, 2004 – Aug 25, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

prelink is a script on debian: i had to add this because prelink checks that there's > 50mb of disk space and then exec's prelink.bin.

Signature · 7 lines
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />
file_contexts/program/prelink.fc 2004-08-15 10:00:40.000000000 +0100 renamed from file_contexts/program/prelink.fc 2004-08-02 08:28:37.000000000 +0100 +1 -0
diff -Naur 
@@ -1,5 +1,6 @@
 # prelink - prelink ELF shared libraries and binaries to speed up startup time
 /usr/sbin/prelink      --  system_u:object_r:prelink_exec_t
+/usr/sbin/prelink.bin      --  system_u:object_r:prelink_exec_t
 /etc/prelink.conf      --  system_u:object_r:etc_prelink_t
 /var/log/prelink.log       --  system_u:object_r:prelink_log_t
 /etc/prelink.cache     --  system_u:object_r:prelink_cache_t
#1 lore raw
Quoted 2 lines · Luke Kenneth Casson Leighton

prelink is a script on debian: i had to add this because prelink checks that there's > 50mb of disk space and then exec's prelink.bin.

OK, this needs a ifdef(`distro_debian', around it.

Do you think we should have the shell script labelled as sbin_t on Debian?

Signature · 9 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.
#2 lore raw
Quoted 5 lines · Russell Coker
Quoted 2 lines · Luke Kenneth Casson Leighton

prelink is a script on debian: i had to add this because prelink checks that there's > 50mb of disk space and then exec's prelink.bin.

OK, this needs a ifdef(`distro_debian', around it.

oh yeh :)

Quoted 1 line

Do you think we should have the shell script labelled as sbin_t on Debian?

i don't know enough about FHS to be able to advise you: perhaps someone else here could answer that better.

--
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.

#3 lore raw
Quoted 2 lines · Luke Kenneth Casson Leighton
Quoted 1 line · Russell Coker

On Tue, 24 Aug 2004 09:21, Luke Kenneth Casson Leighton <[email protected]>

Quoted 5 lines · wrote:
Quoted 4 lines
Quoted 2 lines

prelink is a script on debian: i had to add this because prelink checks that there's > 50mb of disk space and then exec's prelink.bin.

OK, this needs a ifdef(`distro_debian', around it.

Quoted 7 lines

oh yeh :)

Quoted 2 lines

Do you think we should have the shell script labelled as sbin_t on Debian?

i don't know enough about FHS to be able to advise you: perhaps someone else here could answer that better.

It's not a FHS issue.

Do we need the shell script to transition to prelink_t or can it run in the calling domain (maybe system_crond_t)? If it can run in the calling domain then it may be best not to have it labeled due to the transition on shell script issues.

Signature · 9 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.
#4 lore raw
Quoted 11 lines · Russell Coker
Quoted 2 lines · Luke Kenneth Casson Leighton
Quoted 1 line · Russell Coker

On Tue, 24 Aug 2004 09:21, Luke Kenneth Casson Leighton <[email protected]>

Quoted 7 lines · wrote:
Quoted 4 lines
Quoted 2 lines

prelink is a script on debian: i had to add this because prelink checks that there's > 50mb of disk space and then exec's prelink.bin.

OK, this needs a ifdef(`distro_debian', around it.

oh yeh :)

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Do you think we should have the shell script labelled as sbin_t on Debian?

i don't know enough about FHS to be able to advise you: perhaps someone else here could answer that better.

It's not a FHS issue.

oh, right.

Quoted 2 lines

Do we need the shell script to transition to prelink_t or can it run in the calling domain (maybe system_crond_t)?

well, that's where it's run from (as a cron job),
also it's run as a sysadm_r on the first initial setup of prelink.

i'm not even going to pretend to say i know enough to help make a decision on this one!

Signature · 13 lines
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />


--
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.