First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 35654
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Chris PeBenito <pebenito@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: petre rodan (RETIRED) <kaiowas@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35654 depends on: Show dependency tree
Bug 35654 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-12 04:14 0000
# /usr/sbin/sendmail is a symlink, so ...
allow crond_t sendmail_exec_t:lnk_file { read };

# iptables-save also needs this:
allow iptables_t proc_net_t:dir { search };
allow iptables_t proc_net_t:file { read getattr };
read_locale(iptables_t)

# needed in order to upgrade a ssh daemon ;)
ifdef(`daemontools.te', `
allow sshd_t self:capability { kill };
allow sshd_t self:process { signal };
')

------- Comment #1 From Chris PeBenito 2003-12-12 07:25:26 0000 -------
The 2nd and third blocks are committed, but not the first one.  The convention
is that symlinks to binaries should only be bin_t or sbin_t, and the target of
the symlink should have the transition type, sendmail_exec_t in this case. 
Please adjust your qmail labeling.

------- Comment #2 From petre rodan (RETIRED) 2003-12-12 12:27:58 0000 -------
ok. i'm removing the /usr/sbin/sendmail definition from qmail.fc.
you are most welcome do the same in http://bugs.gentoo.org/attachment.cgi?id=21928&action=view  ;)

is there a public document that contains conventions like this?

bye,
peter

------- Comment #3 From Chris PeBenito 2003-12-21 21:34:36 0000 -------
I dont know of any doc that has this or other conventions; there are few people
that do much work on policy.

First Last Prev Next    No search results available      Search page      Enter new bug