Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39843 - Smokeping doesnt survive a reboot since it cant write its pid file in /run/smokeping/

Attached to Project: Community Packages
Opened by Bob Arctor (oduesp) - Monday, 14 April 2014, 08:40 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 14 April 2014, 14:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Since /run is a tmpfs /run/smokeping doesnt survive a reboot and smokeping fail miserably with:
ERROR: /etc/smokeping/config, line 13: Directory '/run/smokeping/' does not exist

Please add something like this somewhere (and ensure correct ownership):
[ ! -d /run/smokeping ] && mkdir /run/smokeping

Additional info:
* package version(s)
2.6.9-2
* config and/or log files etc.
piddir = /run/smokeping/

Steps to reproduce:
Just use common sense when configuring smokeping, then reboot, then post a bug report here.
BTW, in this state, this package should have stayed in AUR.

Spray the love,
Bob

This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 14 April 2014, 14:32 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Monday, 14 April 2014, 14:01 GMT
So, you configure it to use tmpfs, then complain that the dev didn't account for your customization?
Comment by Bob Arctor (oduesp) - Monday, 14 April 2014, 14:09 GMT
What customization are you talking about ?
/run is a tmpfs by default on arch (and on several other distro btw).

kthxbye
Comment by Doug Newgard (Scimmia) - Monday, 14 April 2014, 14:12 GMT
and piddir is not /run/smokeping/ by default. If it just makes a pid file, setting it to /run would be more sane. Otherwise, you chose /run/smokeping/, you get to manage it.
Comment by Bob Arctor (oduesp) - Monday, 14 April 2014, 14:28 GMT
Yeah thanks Doug, I will just do that.
In fact I dont know what is the purpose of piddir as at startup it just checks if the directory is there and write nothing in it.

Requesting closure.

Loading...