FS#49687 - [minidlna] Systems service broken in 1.1.5-2

Attached to Project: Community Packages
Opened by Simon Nagl (simonnagl) - Sunday, 12 June 2016, 15:10 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 25 June 2016, 17:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I cannot start minidlna with the systemd file.


Solution:

Uncommenting "NoNewPrivileges=on" in "/usr/lib/systemd/system/minidlna.service" fixes the issue.


Steps to reproduce:

systemctl start minidlna.service
systemctl status minidlna.service

The last command gives this output:
Jun 12 16:56:43 BananaPi systemd[1]: minidlna.service: Failed with result 'exit-code'.
Jun 12 16:56:43 BananaPi systemd[1]: minidlna.service: Unit entered failed state.
Jun 12 16:56:43 BananaPi systemd[1]: minidlna.service: Main process exited, code=exited, status=227/NO_NEW_PRIVILEGES
Jun 12 16:56:43 BananaPi systemd[2712]: minidlna.service: Failed at step NO_NEW_PRIVILEGES spawning /usr/bin/minidlnad: Invalid argument
Jun 12 16:56:43 BananaPi systemd[1]: Started minidlna server.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 25 June 2016, 17:03 GMT
Reason for closing:  No response
Comment by Doug Newgard (Scimmia) - Wednesday, 15 June 2016, 14:35 GMT
Seems to work fine here. Is this ARM specific?
Comment by Doug Newgard (Scimmia) - Thursday, 23 June 2016, 05:44 GMT
Ping?

Loading...