Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. 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#45139 - [tinc] unit file kills service before tinc finishes shutting down

Attached to Project: Community Packages
Opened by Samuel Damashek (sdamashek) - Friday, 29 May 2015, 23:55 GMT
Last edited by Timothy Redaelli (tredaelli) - Tuesday, 12 January 2016, 11:19 GMT
Task Type Bug Report
Category Packages
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

Description:
The arch-provided unit file for tincd does not specify KillMode=none, and so tincd is killed before it gets a chance to finish shutting down (triggered by the ExecStop command). As a result, the network tinc-down script is not executed. This results in significant loss of functionality. Adding KillMode=none to the systemd unit file fixes the issue. I have attached a patch which fixes the issue.

Additional info:
* Package version: 1.0.25-2 (current)

Steps to reproduce:
* In the configuration directory of the tinc network (/etc/tinc/<network>), create the file tinc-down and make it executable.
* Add a command such as "echo testing > /var/log/tinc" to tinc-down.
* Start the tinc service using systemctl start, then stop the service using systemctl stop.
* /var/log/tinc does not exist, and the tinc-down executable has not been run as it should have when the tincd service stopped.
* Start tincd manually using "tincd -n <network> -D"
* Stop tincd manually using "tincd -n <network> -k"
* /var/log/tinc exists and contains "testing", as it should.
This task depends upon

Closed by  Timothy Redaelli (tredaelli)
Tuesday, 12 January 2016, 11:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.0.26-2

Loading...