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

Bug 498578

Summary: Expand mplayer policy to include mplayer2 and mpv, also add missing deps
Product: Gentoo Linux Reporter: Amadeusz Sławiński <amade>
Component: SELinuxAssignee: Sven Vermeulen (RETIRED) <swift>
Severity: normal CC: nikoli, selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: sec-policy r1
Package list:
Runtime testing required: ---

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
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2014-04-19 19:10:08 UTC