Bug 427648 - setroubleshooter denying my fetchmail su in rc.local
Summary: setroubleshooter denying my fetchmail su in rc.local
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 8
Hardware: i386
OS: Linux
low
high
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-06 06:42 UTC by Gene Heskett
Modified: 2008-03-05 22:17 UTC (History)
0 users

Fixed In Version: Current
Clone Of:
Environment:
Last Closed: 2008-03-05 22:17:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gene Heskett 2008-01-06 06:42:25 UTC
Description of problem:
SELinux denied access requested by /bin/su. It is not expected that this access
is required by /bin/su and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Version-Release number of selected component (if applicable):
selinux-policy-3.0.8-72.fc8

How reproducible:
I have been for a couple of years, starting fetchmail with this line in my
rc.local script:

su gene -c "fetchmail -d 90 --fetchmailrc /home/gene/.fetchmailrc"

Steps to Reproduce:
1. Setup all the fetchmail paths for access by the user 'gene'
2. Add the above line to the rc.local script
3. Install F8 after something in FC6 caused the partition table of my boot drive
to be filled with 0x00's after an x crash/lockup and the following hardware
reset button push to recover.
  
Actual results:  See above description.

Please note that I can reset the inittab to 5, and login as gene, su -, and then
this command line pasted directly from the rc.local file, works as expected, but
it no longer works during the late bootup.



Expected results:


Additional info:

Comment 1 Gene Heskett 2008-01-06 06:46:09 UTC
The previous setroubleshooter line also reports this summary:

SELinux is preventing /bin/su (fetchmail_t) "sigchld" to (initrc_su_t).

Which was my clue that it was a fetchmail startup problem.

Comment 2 Daniel Walsh 2008-01-08 18:54:13 UTC
dit2allow -M mypol -i /var/log/audit/audit.log 
# semodule -i mypol.pp

Fixed in selinux-policy-3.0.8-74.fc8

Comment 3 Daniel Walsh 2008-03-05 22:17:22 UTC
Bugs have been in modified for over one month.  Closing as fixed in current
release please reopen if the problem still persists.


Note You need to log in before you can comment on or make changes to this bug.