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

Bug 404563

Summary: pure-ftp selinux policy request
Product: Gentoo Linux Reporter: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Component: New packagesAssignee: SE Linux Bugs <selinux>
Status: RESOLVED NEEDINFO    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreis Vinogradovs ( slepnoga ) 2012-02-19 18:42:13 UTC
Please add support to net-ftp/pure-ftpd in selinux policy,
I'm install selinux enabled system with:
sec-policy/selinux-ftp-2.20110726
sec-policy/selinux-ftpd-2.20110726
and enforsing policy. In result, ftp login failed, and pure-ftpd daemon label is:
ls -alZ /usr/sbin/pure-ftpd 
-rwxr-xr-x. 1 root root system_u:object_r:bin_t 165176 Feb  7 19:41 /usr/sbin/pure-ftpd
not ftpd_exec_t.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2012-02-27 19:48:18 UTC
If you label pure-ftpd with ftpd_exec_t, does everything then work?

~# chcon -t ftpd_exec_t /usr/sbin/pure-ftpd
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2012-06-28 19:29:09 UTC
Please reopen if you can/have tried the suggestion.