Bug 1307222 - Tinc shutdown script (tinc-down) is not called on systemd service stop
Summary: Tinc shutdown script (tinc-down) is not called on systemd service stop
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: tinc
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-13 10:24 UTC by Michael Ivanov
Modified: 2021-09-05 10:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-05 10:18:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Ivanov 2016-02-13 10:24:41 UTC
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.