Bug 768660

Summary: Fetchmail package missing files and SELinux permissions
Product: [Fedora] Fedora Reporter: Ian Neal <iannbugzilla>
Component: fetchmailAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 16CC: pertusus, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-19 14:30:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ian Neal 2011-12-17 18:05:01 UTC
Description of problem:
Fetchmail is missing /etc/rc.d/init.d/fetchmail and /etc/logrotate.d/fetchmail
Fetchmail is missing SELinux
type admin_home_t;
type var_log_t;
type fetchmail_r;
class dir { write add_name };
class file { getattr open create };

Version-Release number of selected component (if applicable):
Fedora 16

How reproducible:
On first install.

Steps to Reproduce:
1. Create a fresh Fedora 16 installation
2. Install fetchmail-6.3.20-1.fc16.x86_64
3. Try using fetchmail to download remote mail
  
Actual results:
Service will not start - error advises checking log files but no relevant errors, had to compare against an upgraded installation to diagnose missing files.
Multiple SELinux alerts

Expected results:
No missing files.
No SELinux alerts.

Additional info:

Comment 1 Vitezslav Crhonek 2011-12-19 14:30:24 UTC
I'm not sure what do you want to achieve.

Fetchmail is not system wide service (even running it under root is discouraged). You can run fetchmail (also in daemon mode) as an ordinary user and you'll miss no files and there'll be no SELinux alerts.