Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 197723

Summary: sec-policy/selinux-postfix need some patch to run on amd64
Product: Gentoo Linux Reporter: Steve Yin <steve>
Component: New packagesAssignee: SE Linux Bugs <selinux>
Status: RESOLVED FIXED    
Severity: normal CC: bugs+gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for postfix refpolicy

Description Steve Yin 2007-11-01 04:19:47 UTC
postfix on selinux can not run under amd64, the problem is /usr/lib, which is a symbol link, so all the files under /usr/lib/postfix will not be labeled.

here is the patch for the policy

Reproducible: Always
Comment 1 Steve Yin 2007-11-01 04:20:07 UTC
Created attachment 134865 [details, diff]
patch for postfix refpolicy
Comment 2 Anthony Basile gentoo-dev 2011-04-15 23:24:45 UTC
Old bug.  Reassigning to the herd to be sorted out.
Comment 3 Sven Vermeulen 2011-04-16 09:00:59 UTC
This is already part of sec-policy/selinux-postfix-2.20101213-r1 (main tree).
Comment 4 Anthony Basile gentoo-dev 2011-04-17 13:41:42 UTC
Yep I just checked.  The selinux-postfix-2.20101213-r1 actually has a bit more to it:

-/usr/lib/postfix/virtual --	gen_context(system_u:object_r:postfix_virtual_exec_t,s0)

+/usr/lib(64)?/postfix/virtual --	gen_context(system_u:object_r:postfix_virtual_exec_t,s0)
+/usr/lib(64)?/postfix/postfix-script.*	--	gen_context(system_u:object_r:postfix_exec_t,s0)

But both these lines make sense.  So I think this bug is done.

Please reopen if it is still an issue.