Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498578 - Expand mplayer policy to include mplayer2 and mpv, also add missing deps
Summary: Expand mplayer policy to include mplayer2 and mpv, also add missing deps
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard: sec-policy r1
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-19 15:42 UTC by Amadeusz Sławiński
Modified: 2014-04-19 19:10 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 Amadeusz Sławiński 2014-01-19 15:42:15 UTC
media-video/mplayer2 and media-video/mpv (forks of mplayer) should depend on selinux-mplayer

also following entries should be added to fc file

mpv uses it's own configs
HOME_DIR/\.mpv(/.*)?   gen_context(system_u:object_r:mplayer_home_t,s0)
/etc/mpv(/.*)? gen_context(system_u:object_r:mplayer_etc_t,s0)
/usr/bin/mpv           --      gen_context(system_u:object_r:mplayer_exec_t,s0)

while mplayer2 uses mplayer ones
/usr/bin/mplayer2      --      gen_context(system_u:object_r:mplayer_exec_t,s0)


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2014-01-23 19:54:54 UTC
Thanks, added to our repository.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-03-24 19:35:08 UTC
It's in 20140311-r1
Comment 3 Amadeusz Sławiński 2014-04-04 16:46:33 UTC
media-video/mpv should also depend on sec-policy/selinux-mplayer
Comment 4 Nikoli 2014-04-08 10:01:21 UTC
Sven, please also add USE selinux to media-video/mpv and check if it works fine for you. I do not have selinux desktops, so can not help much.
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2014-04-11 17:14:04 UTC
Done
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2014-04-19 19:10:08 UTC
Stable