Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499946 - drop selinux masks from base/package.mask
Summary: drop selinux masks from base/package.mask
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-01 07:03 UTC by SpanKY
Modified: 2014-02-02 09:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2014-02-01 07:03:02 UTC
libselinux & friends were masked a while ago in base/package.mask to be proactive in defending against broken automagic in packages (seeing libselinux is available and linking against it instead of respecting USE=selinux).  i think we've outgrown this and we should clean it up.

data: i've been running a system w/libselinux & libsepol installed for over a year now w/~2200 packages installed.  none of them autolink against selinux anymore.  i've only seen one or two and fixed both already.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2014-02-01 14:30:10 UTC
I'm definitely okay with that. Didn't know that (autodetecting libselinux) was the main reason.

I assume with "friends" you also refer to the policy packages? None of these should be installed on non-SELinux systems anyway (as they are usually triggered as package dependencies with USE=selinux, and USE=selinux is use-masked)
Comment 2 SpanKY gentoo-dev 2014-02-01 16:15:36 UTC
(In reply to Sven Vermeulen from comment #1)

yes, i mean every package listed in base/package.mask that is related to selinux.  i don't see the harm in unmasking them.  they work as well on an selinux profile as non-selinux profile -- that is, they aren't supposed to be pulled in directly.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2014-02-02 09:57:05 UTC
Great, removed the masks from base/package.mask and features/selinux/package.mask.