| Summary: | minidlna is running as root | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | Juan Orti <jorti> |
| Component: | minidlna | Assignee: | Andrea Musuruane <musuruan> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jorti |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | GNU/Linux | ||
| namespace: | |||
| Attachments: |
Updated SPEC file
tmpfiles.d config systemd service |
||
|
Description
Juan Orti
2012-04-24 10:51:09 CEST
Created attachment 860 [details]
Updated SPEC file
This is a updated spec file based on 1.0.24-1 with the following improvements:
- tmpfiles.d configuration, so it can write its pid file to /var/run/minidlna as the minidlna user
- Add /var/cache/minidlna and /var/log/minidnla with write permission
- Modify config file to reflect this changes.
Created attachment 861 [details]
tmpfiles.d config
Add automatic creation of /var/run/minidlna at boot
Created attachment 862 [details]
systemd service
Updated version of the systemd service unit, now it launches the service as the minidlna user, and write its pid to a different location.
I have changed the After directive to network.target, because it's the recommended way.
Thank you for reporting this issue. I just built an updated package for all the branches. It should appear soon in updates-testing. |