Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468878 - pump does not work with SELinux
Summary: pump does not work with SELinux
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard: sec-policy r1
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 14:28 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-04-19 19:08 UTC (History)
1 user (show)

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 Sven Vermeulen (RETIRED) gentoo-dev 2013-05-07 14:28:53 UTC
The pump DHCP client fails to work on SELinux

"""
~# pump -i eth0
~# echo $?
1
"""

No process is running, and the denial shows that it tries to create a socket file in /var/run. Grant it the right to create one with a file transition to dhcpc_var_run_t:

"""
~# pump -i eth0
failed to connect to localhost:bootpc: Connection refused
"""

Denials show continuous attempts to "accept" on its own unix_stream_socket. Allowing further asks for "listen" and "connectto". Once assigned, pump seems to work again.

Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2013-12-29 15:25:15 UTC
Waited long enough, added to policy, will be in rev 5
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-03-24 19:37:43 UTC
It's in 20140311-r1
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2014-04-19 19:08:12 UTC
Stable