Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378019 - Update selinux courier policy to match courier-imap package.
Summary: Update selinux courier policy to match courier-imap package.
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-06 17:36 UTC by Michael Edenfield
Modified: 2011-10-23 13:15 UTC (History)
1 user (show)

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


Attachments
Include courier-imap folders in selinux policy (courier-imap-gentoo.diff,786 bytes, text/plain)
2011-08-06 17:36 UTC, Michael Edenfield
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Edenfield 2011-08-06 17:36:53 UTC
Created attachment 282339 [details]
Include courier-imap folders in selinux policy

The refpolicy courier module labels the /var/lib/courier and /etc/courier paths with courier-specific contexts. 

By default, the courier-imap package puts its files in /etc/courier-imap and /var/lib/courier-imap. But the selinux-courier-imap policy package just installs the selinux-courier package unchanged. This patch makes sure those courier-imap folders are also labeled appropriately.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-19 20:54:40 UTC
In hardened-dev overlay. Thanks for reporting!

BTW, the patch didn't correctly identify /var/lib/courier-imap.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-29 09:16:18 UTC
In portage tree (~arch)