FS#52170 - [tinc] problem in systemd service file, ExecStop needs to be removed

Attached to Project: Community Packages
Opened by rotanid (rotanid) - Friday, 16 December 2016, 02:53 GMT
Last edited by Timothy Redaelli (tredaelli) - Friday, 16 December 2016, 16:09 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Timothy Redaelli (tredaelli)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

the systemd service file for the tinc vpn daemon contains the line
ExecStop=/usr/sbin/tincd -n %i -k
this does lead to a non-graceful stop of tincd.
this results in tinc not executing tinc-down and host-down scripts.

the issue can be solved by removing the ExecStop line from the service file, which leads to regular shutdown of tincd and therefore execution of the tinc-down scripts after issuing a stop via systemctl.
This task depends upon

Closed by  Timothy Redaelli (tredaelli)
Friday, 16 December 2016, 16:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  Imported commit c443a1c5d64d4827e12bd914b3925150fc202692 from upstream
Comment by rotanid (rotanid) - Friday, 16 December 2016, 02:55 GMT
for reference, the same problem was reported in February in redhats bugtracker: https://bugzilla.redhat.com/show_bug.cgi?id=1307222
Comment by Doug Newgard (Scimmia) - Friday, 16 December 2016, 13:52 GMT
The service file come from upstream, not from Arch. You should get them to fix it.
Comment by rotanid (rotanid) - Friday, 16 December 2016, 14:45 GMT
ah, it seems it was fixed upstream one day after the latest release.
so i guess we have to wait for 1.0.31 then...

Loading...