[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2017-07-18 Thread Bug Watch Updater
** Changed in: samba (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To manage

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-05-15 Thread Bug Watch Updater
** Changed in: sysvinit (Debian) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-05-12 Thread Bug Watch Updater
** Changed in: sysvinit (Debian) Status: New = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To manage

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-10 Thread Bug Watch Updater
** Changed in: systemd (Debian) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-10 Thread Launchpad Bug Tracker
This bug was fixed in the package sysvinit - 2.88dsf-53.2ubuntu8 --- sysvinit (2.88dsf-53.2ubuntu8) vivid; urgency=medium * service, invoke-rc.d: Avoid deadlocks during bootup and shutdown from units/hooks which call invoke-rc.d service reload and similar, since the

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-10 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 218-8ubuntu2 --- systemd (218-8ubuntu2) vivid; urgency=medium * debian/tests/logind: With dropped systemd-logind-launch we don't have a visible /sys/fs/cgroup/systemd/ any more under cgmanager. So adjust the test to check

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-09 Thread Martin Pitt
** Changed in: sysvinit (Ubuntu) Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-09 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/sysvinit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To manage notifications

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-09 Thread Bug Watch Updater
** Changed in: systemd (Debian) Status: New = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To manage

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-08 Thread Martin Pitt
** Changed in: systemd (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-05 Thread Martin Pitt
As explained in https://bugs.debian.org/777113 I want to fix this in a more generic way in service, invoke-rc.d, and /lib/lsb/init- functions.d/40-systemd. ** Bug watch added: Debian Bug tracker #777113 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777113 ** Package changed: samba (Ubuntu)

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-05 Thread Martin Pitt
As explained in https://bugs.debian.org/777113 I want to fix this in a more generic way in service, invoke-rc.d, and /lib/lsb/init- functions.d/40-systemd. ** Bug watch added: Debian Bug tracker #777113 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777113 ** Package changed: samba (Ubuntu)

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-05 Thread Bug Watch Updater
** Changed in: sysvinit (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To manage

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-05 Thread Bug Watch Updater
** Changed in: samba (Debian) Status: Fix Committed = New ** Changed in: systemd (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To manage notifications about this bug go to:

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
Tim: Can you please revert the change to service (apt-get install --reinstall sysvinit-utils) and test the systemd in https://launchpad.net/~pitti/+archive/ubuntu/ppa ? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu.

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
Tim: Can you please revert the change to service (apt-get install --reinstall sysvinit-utils) and test the systemd in https://launchpad.net/~pitti/+archive/ubuntu/ppa ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To manage notifications about this bug

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
Actually, please forget the PPA; after further discussions with the Debian and upstream systemd maintainers we have settled for a different solution. This now works for me with samba and postfix. Can you please replace /usr/sbin/service with this script and confirm that it also fixes your boot

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
** Summary changed: - systemd init gets stuck reloading smbd.service + Reloading services can result in a deadlock under systemd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title:

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
** Summary changed: - systemd init gets stuck reloading smbd.service + Reloading services can result in a deadlock under systemd -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1417010

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
Actually, please forget the PPA; after further discussions with the Debian and upstream systemd maintainers we have settled for a different solution. This now works for me with samba and postfix. Can you please replace /usr/sbin/service with this script and confirm that it also fixes your boot

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Tim
I tested the updated service scripts and indeed does also fix my boot hang! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Tim
I tested the updated service scripts and indeed does also fix my boot hang! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
For keeping references: This is another case like https://bugs.debian.org/635777 and https://bugs.debian.org/624599 just a bit more general. ** Bug watch added: Debian Bug tracker #635777 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635777 ** Bug watch added: Debian Bug tracker #624599

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
For keeping references: This is another case like https://bugs.debian.org/635777 and https://bugs.debian.org/624599 just a bit more general. ** Bug watch added: Debian Bug tracker #635777 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635777 ** Bug watch added: Debian Bug tracker #624599

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Bug Watch Updater
** Changed in: samba (Debian) Status: Unknown = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Bug Watch Updater
** Changed in: samba (Debian) Status: Unknown = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title: Reloading services can result in a deadlock under systemd To

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
** Changed in: systemd (Ubuntu) Status: Triaged = In Progress ** Changed in: systemd (Ubuntu) Milestone: None = ubuntu-15.03 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu.

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
** Changed in: systemd (Ubuntu) Status: Triaged = In Progress ** Changed in: systemd (Ubuntu) Milestone: None = ubuntu-15.03 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417010 Title:

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
This is another patch I experimented with which helps with a different kind of deadlock problem. But with the previous patch all of the practically reported issues are already covered, so I just keep it here in case we need it in the future. ** Patch added: WIP: manager: avoid deadlocks for

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
I pondered this for a while; quite naturally there is no perfect solution as synchronous reload/restart requests in hooks which may be part of a systemd unit transaction are fundamentally against the design of systemd. But this patch now seems to fix this bug and the three referenced Debian bugs,

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
I pondered this for a while; quite naturally there is no perfect solution as synchronous reload/restart requests in hooks which may be part of a systemd unit transaction are fundamentally against the design of systemd. But this patch now seems to fix this bug and the three referenced Debian bugs,

[Bug 1417010] Re: Reloading services can result in a deadlock under systemd

2015-02-04 Thread Martin Pitt
This is another patch I experimented with which helps with a different kind of deadlock problem. But with the previous patch all of the practically reported issues are already covered, so I just keep it here in case we need it in the future. ** Patch added: WIP: manager: avoid deadlocks for