[Bug 315541] Re: runit event.d file should stop service in single user mode

2014-02-13 Thread Chris J Arges
I've been able to reproduce the issue. Installed the package in
-proposed and it fixed the issue as described in the test case.

** Tags removed: verification-needed
** Tags added: verification-done-quantal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2014-02-13 Thread Launchpad Bug Tracker
This bug was fixed in the package runit - 2.1.1-6.2ubuntu2.1

---
runit (2.1.1-6.2ubuntu2.1) precise; urgency=low

  [ Christoph Mathys ]
  * Kill runsvdir with SIGHUP when entering runlevel [016]. Fixes LP: #245728,
LP: #315541  LP: #539567.

  [ Francis Russell ]
  * Remove installation of runsvdir.conf in obsolete location /etc/event.d.
  * Modify postinst script so that it doesn't to try to grep /etc/inittab on
initial package install if it doesn't exist.
 -- Christoph Mathys christoph.mat...@komaxgroup.com   Tue, 11 Sep 2012 
13:14:37 +0200

** Changed in: runit (Ubuntu Precise)
   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/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2014-02-13 Thread Launchpad Bug Tracker
This bug was fixed in the package runit - 2.1.1-6.2ubuntu2.2

---
runit (2.1.1-6.2ubuntu2.2) quantal; urgency=low

  [ Christoph Mathys ]
  * Kill runsvdir with SIGHUP when entering runlevel [016]. Fixes LP: #245728,
LP: #315541  LP: #539567.

  [ Francis Russell ]
  * Remove installation of runsvdir.conf in obsolete location /etc/event.d.
  * Modify postinst script so that it doesn't to try to grep /etc/inittab on
initial package install if it doesn't exist.
 -- Christoph Mathys christoph.mat...@komaxgroup.com   Tue, 11 Sep 2012 
13:14:37 +0200

** Changed in: runit (Ubuntu Quantal)
   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/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2013-11-07 Thread Steve Langasek
** Tags added: verification-done-precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2013-08-29 Thread Brian Murray
On which release of Ubuntu did you test this Christian?  12.04 or 12.10?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2013-08-29 Thread Christian Hudon
On 12.04, as that's what I have on my server, and it stays on the LTS
releases.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2013-07-22 Thread Christian Hudon
Sorry if it took a while to test this. The server where this is
installed doesn't have a screen usually, and ssh-ing in doesn't work
very well to test stuff in single-user mode. I can now confirm that the
fix works for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2013-03-14 Thread Brian Murray
Hello Christian, or anyone else affected,

Accepted runit into precise-proposed. The package will build now and be
available at
http://launchpad.net/ubuntu/+source/runit/2.1.1-6.2ubuntu2.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: runit (Ubuntu Precise)
   Status: Triaged = Fix Committed

** Tags added: verification-needed

** Changed in: runit (Ubuntu Quantal)
   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/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2013-03-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/precise/runit/precise-
proposed

** Branch linked: lp:~ubuntu-branches/ubuntu/quantal/runit/quantal-
proposed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2013-02-28 Thread eraserix
** Description changed:

  Binary package hint: runit
  
- When bringing the system down to single user mode (with telinit 1), the
- runsvdir program is terminated (presumably with all the services running
- under it?), but then respawned. The end result is that when in single
- user mode, all the services managed by runit are still running.
+ [Impact]
+ Because runit uses an upstart stanza (stop on shutdown) which does not exist 
it will not be termineted when switching to single user mode and is just left 
running.
  
- I think that the right thing to do when bringing the system down to
- single user mode would be to stop all the services running under runit
- (with the sv x command), then terminate the runsv program itself. At
- least, all the services under runit shouldn't stay up when in single
- user mode.
+ [Test Case]
+ 1. Install runit and add the directory test to /etc/service.
+ 3. Add a script called 'run' and a script called 'finish' to this directory. 
Add a line 'echo run  /test; sleep 1' and 'echo finish  /test' to run and 
finish respectively, then make them executable.
+ 4. When run is marked executable, runsvdir will start it, check with pstree 
-a to see the runsvdir process tree and run somewhere beneath. Observe that 
/test contains 'run'.
+ 5. Execute the command 'sudo telinit 1' and wait for the single user command 
prompt.
+ 6. Observe that pstree -a will still show runsvdir, runsv and run to be 
running. Also observe that /test will not contain 'finish', which means that 
runsv has never been told that runsvdir is going to terminate.
+ 
+ runit has not been restarted, it has never been terminated in the first
+ place. It needs a correct upstart configuration to even try to terminate
+ processes graceful. Furthermore, runsvdir expects SIGHUP to correctly
+ shutdown all supervised services.
+ 
+ [Regression potential]
+ IMO small, unless someone came to rely on the broken behaviour.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2013-02-27 Thread Brian Murray
** Also affects: runit (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Changed in: runit (Ubuntu Precise)
   Status: New = Triaged

** Changed in: runit (Ubuntu Precise)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2013-02-27 Thread Brian Murray
** Also affects: runit (Ubuntu Quantal)
   Importance: Undecided
   Status: New

** Changed in: runit (Ubuntu Quantal)
   Status: New = Triaged

** Changed in: runit (Ubuntu Quantal)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2012-12-08 Thread Launchpad Bug Tracker
This bug was fixed in the package runit - 2.1.1-6.2ubuntu3

---
runit (2.1.1-6.2ubuntu3) raring; urgency=low

  [ Christoph Mathys ]
  * Kill runsvdir with SIGHUP when entering runlevel [016]. Fixes LP: #245728,
LP: #315541  LP: #539567.

  [ Francis Russell ]
  * Remove installation of runsvdir.conf in obsolete location /etc/event.d.
  * Modify postinst script so that it doesn't to try to grep /etc/inittab on
initial package install if it doesn't exist.
 -- Christoph Mathys christoph.mat...@komaxgroup.com   Fri, 07 Dec 2012 
20:43:15 -0500

** Changed in: runit (Ubuntu)
   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/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2012-12-07 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/raring/runit/raring-
proposed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/315541

Title:
  runit event.d file should stop service in single user mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/runit/+bug/315541/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2010-08-01 Thread Francis Russell
I've added a debdiff that should fix this issue here:

https://bugs.launchpad.net/ubuntu/+source/runit/+bug/245728

It's against the runit source package in maverick. Can you confirm that
the runsvdir process itself was still active in single user mode? The
current package behaviour should have resulted in runsvdir being killed
and not respawning, but the runsv processes and the services they were
supervising still remaining alive. Any testing or feedback would be
appreciated.

-- 
runit event.d file should stop service in single user mode
https://bugs.launchpad.net/bugs/315541
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 315541] Re: runit event.d file should stop service in single user mode

2009-01-09 Thread Christian Hudon
** Summary changed:

- runit even.d file should stop service in single user mode
+ runit event.d file should stop service in single user mode

-- 
runit event.d file should stop service in single user mode
https://bugs.launchpad.net/bugs/315541
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs