Bug 1307222 - Tinc shutdown script (tinc-down) is not called on systemd service stop
Tinc shutdown script (tinc-down) is not called on systemd service stop
Status: NEW
Product: Fedora EPEL
Classification: Fedora
Component: tinc (Show other bugs)
epel7
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Fabian Affolter
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-13 05:24 EST by Michael Ivanov
Modified: 2016-02-13 05:24 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michael Ivanov 2016-02-13 05:24:41 EST
Description of problem:
When you execute systemctl stop tincd@network, the shutdown script in /etc/tinc/network/tinc-down is not executed. The reason is incorrect termination of tinc daemon.


Version-Release number of selected component (if applicable):
1.0.24-6.el7

How reproducible:
Always

Steps to Reproduce:
1. systemctl stop tincd@network
2. systemctl status tincd@network to watch output

I've fixed it by removing 

ExecStop=/usr/sbin/tincd -n %i -k

from tincd@.service

and adding

KillSignal=SIGTERM

though it would probably work without it.

Note You need to log in before you can comment on or make changes to this bug.