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

Bug 62907

Summary: samba and selinux
Product: Gentoo Linux Reporter: petre rodan (RETIRED) <kaiowas>
Component: New packagesAssignee: Sven Vermeulen (RETIRED) <swift>
Status: RESOLVED FIXED    
Severity: normal CC: selinux, simoncion
Priority: High    
Version: 2004.1   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild patch
ebuild patch

Description petre rodan (RETIRED) gentoo-dev 2004-09-05 03:26:54 UTC
Please be so kind and consider patching all current and future samba ebuilds with the attached diff.

This will ensure correct functioning of the product in a SELinux environment.

thanks,
peter
Comment 1 petre rodan (RETIRED) gentoo-dev 2004-09-05 03:27:21 UTC
Created attachment 38963 [details, diff]
ebuild patch
Comment 2 petre rodan (RETIRED) gentoo-dev 2004-09-05 11:37:47 UTC
Created attachment 39003 [details, diff]
ebuild patch
Comment 3 Joshua Brindle (RETIRED) gentoo-dev 2004-09-05 12:27:18 UTC
This needs to go to the ebuild maintainer to add the deps
Comment 4 Christian Andreetta (RETIRED) gentoo-dev 2004-09-06 03:57:02 UTC
in cvs
Comment 5 Simon C. Ion 2012-10-18 08:07:03 UTC
Hey, it looks like no current version of net-fs/samba has a SELinux flag. This means that one has to manually install selinux-samba and re-emerge samba if you want to be able to start samba on a new SELinux system.

Is there some reason why the change from this bug was reverted?

(I'm running on Hardened Gentoo, stable x86_64, but that has no bearing on this issue.)
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2012-10-19 08:17:01 UTC
No idea why, I suspect an ebuild rewrite a long time ago. Anyway, I readded the dependency on the ebuilds in the tree.