Bug 961503 - smsd fails to start with default configuration
Summary: smsd fails to start with default configuration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: smstools
Version: 18
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: Patrick C. F. Ernzer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-09 18:35 UTC by Kaarle Ritvanen
Modified: 2013-06-08 03:32 UTC (History)
2 users (show)

Fixed In Version: smstools-3.1.15-6.fc18
Clone Of:
Environment:
Last Closed: 2013-06-07 23:52:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Suggested correction (2.63 KB, patch)
2013-05-09 18:35 UTC, Kaarle Ritvanen
no flags Details | Diff

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.


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