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

2019-04-11 Thread Launchpad Bug Tracker
This bug was fixed in the package open-iscsi - 2.0.874-5ubuntu2.7 --- open-iscsi (2.0.874-5ubuntu2.7) bionic; urgency=medium * d/iscsid.service: Remove ExecStop= directive. Letting systemd handle termination prevents restart failures. (LP: #1821255) -- hal...@canonical.com (He

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

2019-04-11 Thread Launchpad Bug Tracker
This bug was fixed in the package open-iscsi - 2.0.874-5ubuntu9.4 --- open-iscsi (2.0.874-5ubuntu9.4) cosmic; urgency=medium * d/iscsid.service: Remove ExecStop= directive. Letting systemd handle termination prevents restart failures. (LP: #1821255) -- hal...@canonical.com (He

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

2019-04-10 Thread Dan Streetman
** Tags removed: sts-sponsor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821255 Title: Restart policy "Always" doesn't work under certain circumstances To manage notifications about this bug go

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

2019-04-02 Thread Heitor R. Alves de Siqueira
Confirmed fix in cosmic, according to test case: ubuntu@cosmic:~$ ./deploy-tgt.sh ubuntu@cosmic:~$ dpkg -l | grep open-iscsi ii open-iscsi 2.0.874-5ubuntu9.4 amd64 iSCSI initiator tools ubuntu@cosmic:~$ sudo pkill iscsid ubuntu@cosmic:~$ sudo syste

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

2019-04-02 Thread Heitor R. Alves de Siqueira
Confirmed fix in bionic, according to test case: ubuntu@bionic:~$ ./deploy-tgt.sh ubuntu@bionic:~$ dpkg -l | grep open-iscsi ii open-iscsi2.0.874-5ubuntu2.7 amd64iSCSI initiator tools ubuntu@bionic:~$ sudo pkill iscsid ubuntu@bionic:~$ sudo systemctl stop isc

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

2019-04-02 Thread Brian Murray
Hello Cody, or anyone else affected, Accepted open-iscsi into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/open- iscsi/2.0.874-5ubuntu9.4 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

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

2019-04-02 Thread Eric Desrochers
Sponsored for Bionic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821255 Title: Restart policy "Always" doesn't work under certain circumstances To manage notifications about this bug go to: htt

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

2019-04-02 Thread Eric Desrochers
Sponsored for Cosmic, now that open-iscsi is "Fix Released" in disco. ** Changed in: open-iscsi (Ubuntu Cosmic) Status: Confirmed => In Progress ** Changed in: open-iscsi (Ubuntu Bionic) Status: Confirmed => In Progress -- You received this bug notification because you are a membe

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

2019-04-01 Thread Launchpad Bug Tracker
This bug was fixed in the package open-iscsi - 2.0.874-5ubuntu15 --- open-iscsi (2.0.874-5ubuntu15) disco; urgency=medium * d/iscsid.service: Remove ExecStop= directive. Letting systemd handle termination prevents restart failures. (LP: #1821255) -- hal...@canonical.com (Heito

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

2019-04-01 Thread Eric Desrochers
Sponsored for disco. Let's wait until this land in disco-releases, before proceeding with the SRU. ** Changed in: open-iscsi (Ubuntu Disco) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. ht

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

2019-03-28 Thread Ubuntu Foundations Team Bug Bot
The attachment "lp1821255-bionic.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, a

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

2019-03-28 Thread Heitor R. Alves de Siqueira
Hi Eric, Xenial does not exhibit this bug since it does not ship iscsid.socket. This is also the reason Debian is not affected, since they also don't have socket activation for iscsid. I did send a comment to the Debian bug that proposes changing iscsid to socket activation [0], just so they're

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

2019-03-28 Thread Eric Desrochers
[sponsor note] - Can you please submit the change to Debian ? - Does Xenial would need the fix as well as it come with systemd by default and as the 'ExecStop=/sbin/iscsiadm -k 0 2' directive as well ? ** Changed in: open-iscsi (Ubuntu Disco) Status: Confirmed => In Progress -- You rece

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

2019-03-28 Thread Heitor R. Alves de Siqueira
I've updated the description with a simpler test case that doesn't require an override file, but this bug can also be verified with the Restart=always directive: ubuntu@disco:~$ cat /etc/systemd/system/iscsid.service.d/override.conf [Service] Restart=always ubuntu@disco:~$ sudo pkill iscsid ubu

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

2019-03-28 Thread Heitor R. Alves de Siqueira
** Patch added: "lp1821255-disco.debdiff" https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1821255/+attachment/5250283/+files/lp1821255-disco.debdiff ** Tags added: sts-sponsor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubun

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

2019-03-28 Thread Heitor R. Alves de Siqueira
** Patch added: "lp1821255-cosmic.debdiff" https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1821255/+attachment/5250282/+files/lp1821255-cosmic.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad

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

2019-03-28 Thread Heitor R. Alves de Siqueira
** Patch added: "lp1821255-bionic.debdiff" https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1821255/+attachment/5250281/+files/lp1821255-bionic.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad

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

2019-03-28 Thread Heitor R. Alves de Siqueira
** Description changed: - Iscsid restart fails when killed with a SIGTERM. + [Impact] + iscsid restart fails when killed with 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

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

2019-03-21 Thread Steve Langasek
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 th