[Bug 1821255] [NEW] Restart policy "Always" doesn't work under certain circumstances

Cody Shepherd 1821255 at bugs.launchpad.net
Thu Mar 21 22:14:28 UTC 2019


Public bug reported:

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.

** Affects: open-iscsi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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