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

Bug 378019

Summary: Update selinux courier policy to match courier-imap package.
Product: Gentoo Linux Reporter: Michael Edenfield <kutulu>
Component: HardenedAssignee: Sven Vermeulen (RETIRED) <swift>
Status: VERIFIED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Include courier-imap folders in selinux policy

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)