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#44593 - ddclient.service file doesn't write pid to specified location

Attached to Project: Community Packages
Opened by Benjamin Myrz (pschyrum) - Wednesday, 15 April 2015, 15:34 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 16 April 2015, 03:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

ddclient.service tells systemd that the PID file is going to be /var/run/ddclient.pid, but it doesn't tell ddclient to write the pid to that file.

Description:


Additional info:
* package version: ddclient 3.8.2-3

Steps to reproduce:
- install ddclient
- enable ddclient systemd service and see its status
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 16 April 2015, 03:47 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Configuration problem.
Comment by Johannes Altmanninger (krobelus) - Wednesday, 15 April 2015, 16:04 GMT
I can't reproduce.
Did you start the service with 'systemctl start ddclient' ?
If you just enabled it you would have to reboot to actually start it
Comment by Benjamin Myrz (pschyrum) - Wednesday, 15 April 2015, 17:24 GMT
ah, well I did both..
I figured out having used an old ddclient.conf that lacked the line
'pid=/var/run/ddclient.pid'
Though, shouldn't be this part of the service file, since the path (PIDfile = .. ) is already configured there?
Comment by Johannes Altmanninger (krobelus) - Wednesday, 15 April 2015, 18:23 GMT
yeah, that's true

quoting the documentation for the PIDFile option http://www.freedesktop.org/software/systemd/man/systemd.service.html
"systemd will not write to the file configured here."

so its probably not that easy to have the pidfile path only in one place, but it would be nice if it would be possible
Comment by Doug Newgard (Scimmia) - Thursday, 16 April 2015, 03:46 GMT
PIDfile in the service file just tells systemd where to find it. If you had an out of date config (neglecting your pacnew files?), that's a configuration issue, not a package issue.

Loading...