Bug 1118514 - unable to start when selinux is enabled
Summary: unable to start when selinux is enabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: apcupsd
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-10 22:38 UTC by Nerijus Baliūnas
Modified: 2015-03-06 10:58 UTC (History)
1 user (show)

Fixed In Version: apcupsd-3.14.10-14.el7
Clone Of:
Environment:
Last Closed: 2015-03-06 10:58:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nerijus Baliūnas 2014-07-10 22:38:43 UTC
systemctl start apcupsd.service

/var/log/apcupsd.events:

Cannot create /etc/apcupsd/LCK.. serial port lock file: ERR=Permission denied
apcupsd FATAL ERROR in apcupsd.c at line 285
Failed to acquire device lock file

It starts if I change "LOCKFILE /etc/apcupsd" to "LOCKFILE /var/lock" in /etc/apcupsd/apcupsd.conf, like in F19 or F20.


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