Red Hat Bugzilla – Bug 217027
mc's subshell leaves a file descriptor open, ifup tries to write there, SELinux yells
Last modified: 2013-07-02 19:18:22 EDT
Description of problem:
When running 'ifup eth0' from shell under mc, AVC denials appear. SELinux
Troubleshhoter points out that ip and hostname are trying to write to
pipe[XXXX], which, as per lsof, belongs to mc.
Version-Release number of selected component (if applicable):
mc-4.6.1a-30.fc6 (%dist tag needs an update anyway, huh? :) )
Always, with SELinux in enforcing mode
Steps to Reproduce:
3. ifup eth0
SELinux is preventing /bin/hostname (hostname_t) "write" to pipe:
SELinux is preventing /sbin/ip (ifconfig_t) "write" to pipe: (unconfined_t)
No such attempts -> no such denials/warnings.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Fix backported from rawhide.
A package has been built which should help the problem described in
this bug report. This report is therefore being closed with a resolution
of CURRENTRELEASE. You may reopen this bug report if the solution does
not work for you.