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

Bug 328303

Summary: SELinux policy for sys-apps/smartmontools
Product: Gentoo Linux Reporter: Karl-Johan Karlsson <creideiki+gentoo-bugzilla>
Component: HardenedAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: selinux-smartmon-2.20091215.ebuild
smartmontools-5.39.1-r1.ebuild

Description Karl-Johan Karlsson 2010-07-14 20:24:42 UTC
sys-apps/smartmontools contains programs that want to touch the physical disks directly, to extract S.M.A.R.T. information. This is, of course, very forbidden by selinux-base-policy. However, the reference policy already includes a "smartmon" module to allow this.

Please find attached an ebuild for sec-policy/selinux-smartmon-2.20091215 with the policy module and one for sys-apps/smartmontools-5.39.1-r1 which DEPENDs on it if USE="selinux".

Reproducible: Always

Steps to Reproduce:
Comment 1 Karl-Johan Karlsson 2010-07-14 20:25:25 UTC
Created attachment 238757 [details]
selinux-smartmon-2.20091215.ebuild
Comment 2 Karl-Johan Karlsson 2010-07-14 20:25:41 UTC
Created attachment 238759 [details]
smartmontools-5.39.1-r1.ebuild
Comment 3 Chris Richards 2011-02-01 02:22:20 UTC
Fixed in selinux-smartmon-2.20101213.
Comment 4 Anthony Basile gentoo-dev 2011-02-06 22:43:52 UTC

*** This bug has been marked as a duplicate of bug 237416 ***