Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404563 - pure-ftp selinux policy request
Summary: pure-ftp selinux policy request
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-19 18:42 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2012-06-28 19:29 UTC (History)
0 users

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 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.