FS#37969 - [minidlna] package should provide an empty /var/log/minidlna.log

Attached to Project: Community Packages
Opened by John (graysky) - Sunday, 01 December 2013, 14:55 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 02 December 2013, 10:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I believe the default log gets written to /var/log/minidlna.log. Starting the systemd service does not create this file and thus does not allow for logging to a file. The package should supply a the 0-byte file /var/log/minidlna.log owned by nobody:nobody. Is there a better solution?


Additional info:
* package version(s) 1.1.1-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 02 December 2013, 10:31 GMT
Reason for closing:  Fixed
Comment by John (graysky) - Sunday, 01 December 2013, 18:03 GMT
The daemon now supports systemd via the -S switch which includes logging to journalctl and no need to define a PID file; if you use the attached service file this ticket becomes a non-issue.

EDIT: For reference, see the Fedora implementation of this service at: ftp://rpmfind.net/linux/rpmfusion/free/fedora/development/rawhide/source/SRPMS/minidlna-1.1.0-2.fc20.src.rpm

Loading...