Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197723 - sec-policy/selinux-postfix need some patch to run on amd64
Summary: sec-policy/selinux-postfix need some patch to run on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-01 04:19 UTC by Steve Yin
Modified: 2011-04-17 13:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for postfix refpolicy (postfix-amd64.patch,2.76 KB, patch)
2007-11-01 04:20 UTC, Steve Yin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.