[Bug 1821255] Re: Restart policy "Always" doesn't work under certain circumstances
Steve Langasek
steve.langasek at canonical.com
Thu Mar 21 23:09:26 UTC 2019
We triaged this to the fact that ExecStop runs a command that tries to
talk to iscsid, and iscsid is socket-activated on Ubuntu, so the command
hangs while trying to talk to a socket that systemd is waiting to
dispatch to the iscsid service that is in the process of being stopped.
>From reading the manpage on iscsiadm, we should just omit the ExecStop
command in favor of using the default semantics of KillSignal=SIGTERM.
** Changed in: open-iscsi (Ubuntu)
Importance: Undecided => High
** Changed in: open-iscsi (Ubuntu)
Status: New => Triaged
** Also affects: open-iscsi (Ubuntu Bionic)
Importance: Undecided
Status: New
** Changed in: open-iscsi (Ubuntu Bionic)
Status: New => Triaged
** Changed in: open-iscsi (Ubuntu Bionic)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1821255
Title:
Restart policy "Always" doesn't work under certain circumstances
Status in open-iscsi package in Ubuntu:
Triaged
Status in open-iscsi source package in Bionic:
Triaged
Bug description:
Iscsid restart fails when killed with a SIGTERM.
Conditions:
Iscsid restart policy set to "Always" via a .conf file in /etc/systemd/system/iscsid.service.d/, with the contents:
[Service]
Restart=always
Steps to Reproduce:
1. Confirm iscsid is running, e.g.
$ ps aux | grep iscsid
or
$ pgrep iscsid
2. Kill the pid(s) with SIGTERM, e.g.
$ sudo kill -15 <pid>
or
$ sudo pkill iscsid
3. Confirm that iscsid has not restarted
$ systemctl status iscsid
This bug affects 18.04, but not 16.04. This hasn't been tested on
18.10 or later.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1821255/+subscriptions
More information about the foundations-bugs
mailing list