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

Bug 442378

Summary: can't remove samba policy (-9999)
Product: Gentoo Linux Reporter: Amadeusz Sławiński <amade>
Component: SELinuxAssignee: SE Linux Bugs <selinux>
Status: VERIFIED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: sec-policy r7
Package list:
Runtime testing required: ---

Description Amadeusz Sławiński 2012-11-08 19:48:18 UTC
# semodule -r samba
libsepol.print_missing_requirements: virt's global requirements were not met: type/attribute smbd_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
semodule:  Failed!
# semodule -r virt 
libsepol.print_missing_requirements: qemu's global requirements were not met: role virt_domain_roles (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
semodule:  Failed!
# semodule -r qemu
libsepol.print_missing_requirements: virt's global requirements were not met: type/attribute qemu_exec_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
semodule:  Failed!
# semodule -r qemu virt
# semodule -r samba    
# cd /usr/share/selinux/strict
# semodule -i qemu.pp 
libsepol.print_missing_requirements: qemu's global requirements were not met: role virt_domain_roles (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
semodule:  Failed!
# semodule -i qemu.pp virt.pp 
libsepol.print_missing_requirements: virt's global requirements were not met: type/attribute smbd_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
semodule:  Failed!
# 


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-10 15:02:11 UTC
Yes, i've reported it upstream as well; no idea where this dependency comes from yet.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-10 19:38:22 UTC
Aha found it! Patch sent upstream.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-12 22:01:21 UTC
committed to the repo (live ebuilds) and will be part of r7
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-14 21:09:59 UTC
r7 is now in hardened-dev
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-18 15:23:56 UTC
In main tree, ~arch'ed
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2012-12-13 10:09:09 UTC
r8 is now stable