Bug 961503

Summary: smsd fails to start with default configuration
Product: [Fedora] Fedora Reporter: Kaarle Ritvanen <kaarle.ritvanen>
Component: smstoolsAssignee: Patrick C. F. Ernzer <pcfe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 18CC: mmahut, pcfe
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: smstools-3.1.15-6.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-07 23:52:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Suggested correction none

Description Kaarle Ritvanen 2013-05-09 18:35:43 UTC
Created attachment 745770 [details]
Suggested correction

Description of problem:
smsd fails to start with default configuration because the smstool user lacks permissions to create pidfile and infofile into /run.

Version-Release number of selected component (if applicable):
3.1.15-2

Steps to Reproduce:
1. yum install smstools
2. systemctl start smsd
  
Actual results:
smsd fails to start

Expected results:
smsd starts properly

Additional info:
Suggested correction attached. It uses the tmpfiles mechanism to create a new directory, /run/smsd, with write permissions for the smstools user. Creating the files directly into /run does not work well because smsd unlinks the files upon exit.

Comment 1 Fedora Update System 2013-05-23 14:15:15 UTC
smstools-3.1.15-6.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/smstools-3.1.15-6.fc19

Comment 2 Patrick C. F. Ernzer 2013-05-23 14:25:47 UTC
Kiitos Kaarle,

I've pushed this to rawhide, F19 and F18.

PCFE

Comment 3 Fedora Update System 2013-05-23 14:33:17 UTC
smstools-3.1.15-6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/smstools-3.1.15-6.fc18

Comment 4 Fedora Update System 2013-05-25 12:17:44 UTC
Package smstools-3.1.15-6.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing smstools-3.1.15-6.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-9185/smstools-3.1.15-6.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-06-07 23:52:01 UTC
smstools-3.1.15-6.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-06-08 03:32:42 UTC
smstools-3.1.15-6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.