[Bug 43574] Re: Needs Ubuntu-style init script

2013-02-14 Thread Scott Moser
** Changed in: server-papercuts
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in Ubuntu.
https://bugs.launchpad.net/bugs/43574

Title:
  Needs Ubuntu-style init script

To manage notifications about this bug go to:
https://bugs.launchpad.net/server-papercuts/+bug/43574/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-12-06 Thread Kees Cook
Thanks, this looks good. I'll upload shortly.

** Changed in: xinetd (Ubuntu)
   Status: In Progress = Fix Committed

** Changed in: xinetd (Ubuntu)
 Assignee: (unassigned) = Scott Moser (smoser)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.
https://bugs.launchpad.net/bugs/43574

Title:
  Needs Ubuntu-style init script

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-12-06 Thread Launchpad Bug Tracker
This bug was fixed in the package xinetd - 1:2.3.14-7ubuntu4

---
xinetd (1:2.3.14-7ubuntu4) natty; urgency=low

  * add xinetd upstart job (LP: #43574)
 -- Scott Moser smo...@ubuntu.com   Tue, 13 Jul 2010 09:24:49 -0400

** Changed in: xinetd (Ubuntu)
   Status: Fix Committed = Fix Released

** Branch linked: lp:ubuntu/xinetd

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.
https://bugs.launchpad.net/bugs/43574

Title:
  Needs Ubuntu-style init script

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-12-03 Thread Jamie Strandboge
@ttx and @smoser,

This was marked 'Fix Committed' for maverick-alpha-3. I don't see the
changes in xinetd in natty. Is this something that is planned? If yes,
please mark the status as 'Triaged' or something more appropriate. If
not, please mark as Won't Fix with reasons why. There is no reason
leaving a Wishlist bug open for 4.5 years if no one is planning on
fixing it. Thanks!


** Changed in: xinetd (Ubuntu)
   Status: Triaged = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.
https://bugs.launchpad.net/bugs/43574

Title:
  Needs Ubuntu-style init script

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-12-03 Thread Scott Moser
Dan,
  In my tests here, I added 'respawn', and made the pre-stop script look like:

pre-stop script
  xinetd_pid=$(status | awk '/stop\/pre-stop/ { print $NF }')
  [ -n ${xinetd_pid} ] || exit 0
  kill -QUIT ${xinetd_pid}
  wait ${xinetd_pid}
  stop # Prevent respawn bug in upstart (LP: #605007)
end script

With 'respawn' commented out, the script works like:
$ sudo status xinetd
xinetd start/running, process 490
$ sudo stop xinetd
xinetd stop/waiting
$ sudo start xinetd
xinetd start/running, process 1364

With respawn added back in, it looks like:
$ sudo status xinetd
xinetd stop/waiting
$ sudo start xinetd
xinetd start/running, process 3094
$ sudo stop xinetd
xinetd start/running, process 3275
$ sudo stop xinetd
xinetd start/running, process 3394

So I don't think the workaround works.
Initial debugging shows that nothing in that pre-stop script after 'wait' will 
run.  I'm guessing that upstart just kills the pre-stop job after it sees that 
the process is gone.

So, I think the right thing to do here is to move to the upstart job
that I have, and, if you see fit, open a new bug saying respawn does
not work with xinetd upstart job.


** Changed in: xinetd (Ubuntu)
   Status: Incomplete = In Progress

** Branch unlinked: lp:~smoser/ubuntu/maverick/xinetd/xinetd.bug43574

** Branch linked: lp:~smoser/ubuntu/natty/xinetd/bug43574

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.
https://bugs.launchpad.net/bugs/43574

Title:
  Needs Ubuntu-style init script

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-12-03 Thread Scott Moser
I've linked a new branch (lp:~smoser/ubuntu/natty/xinetd/bug43574) which
is identical to the one I unlinked except for 'natty' as the release in
debian/changelog.

Please sponsor and upload.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.
https://bugs.launchpad.net/bugs/43574

Title:
  Needs Ubuntu-style init script

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-11-04 Thread Sebastien Bacher
Why is the task fix commited? Does anybody plan to upload that to natty?

-- 
Needs Ubuntu-style init script
https://bugs.launchpad.net/bugs/43574
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-10-15 Thread Dan DeMaggio
A work-around: add stop to the pre-stop script. This will prevent
respawning. This seems to work:

{{{ 
   P=`cat /pidfile`
   kill -QUIT $P
   wait $P
   stop # Prevent respawn bug in upstart
}}}

-- 
Needs Ubuntu-style init script
https://bugs.launchpad.net/bugs/43574
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-08-03 Thread Thierry Carrez
** Changed in: server-papercuts
   Status: Triaged = Fix Committed

-- 
Needs Ubuntu-style init script
https://bugs.launchpad.net/bugs/43574
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-07-15 Thread Scott Moser
Some comments on the upstart job.

In order to maintain the old behavior, we send a SIGQUIT in the pre-stop 
portion of the upstart job.  Per man page:
- SIGQUIT causes program termination.
- SIGTERM terminates all running servers before terminating xinetd.

Doing this is incompatible with using 'respawn', and I've opened upstart bug 
605007 to address that.
'respawn' would be nice, as xinetd is a daemon that could die, and it would be 
nice to have upstart watching it, but the old sysv scripts had no such 
function. 

In short, the upstart job should function almost identically to the
sysvinit script.

-- 
Needs Ubuntu-style init script
https://bugs.launchpad.net/bugs/43574
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-07-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~smoser/ubuntu/maverick/xinetd/xinetd.bug43574

-- 
Needs Ubuntu-style init script
https://bugs.launchpad.net/bugs/43574
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-07-13 Thread Scott Moser
** Changed in: xinetd (Ubuntu)
 Assignee: Scott Moser (smoser) = (unassigned)

-- 
Needs Ubuntu-style init script
https://bugs.launchpad.net/bugs/43574
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-06-29 Thread Thierry Carrez
** Changed in: server-papercuts
   Importance: Undecided = Wishlist

** Changed in: server-papercuts
   Status: New = Triaged

** Changed in: server-papercuts
Milestone: None = maverick-alpha-3

-- 
Needs Ubuntu-style init script
https://bugs.launchpad.net/bugs/43574
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-06-28 Thread Chuck Short
** Also affects: server-papercuts
   Importance: Undecided
   Status: New

-- 
Needs Ubuntu-style init script
https://bugs.launchpad.net/bugs/43574
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 43574] Re: Needs Ubuntu-style init script

2010-04-21 Thread Scott James Remnant
Strictly speaking, converting it to an Upstart job would be better

** Changed in: xinetd (Ubuntu)
   Status: Confirmed = Triaged

-- 
Needs Ubuntu-style init script
https://bugs.launchpad.net/bugs/43574
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs