Metainit in Ubuntu?

Scott James Remnant scott at ubuntu.com
Thu Jun 21 11:33:28 UTC 2007


On Thu, 2007-06-21 at 12:27 +0100, Joachim Breitner wrote:

> Am Donnerstag, den 21.06.2007, 12:04 +0100 schrieb Scott James Remnant:
> > On Thu, 2007-06-21 at 11:26 +0100, Joachim Breitner wrote:
> > Should-Start and Should-Stop are trickier to implement, since these need
> > to be added to the named jobs, rather than the one being processed.
> 
> Actually, we do not support these runlevel-specifiying fields  in
> metainit, as they are very init system specific. In debian, by default,
> all daemons start in 2,3,4,5 anyways... 
> 
Ah, I see what these do...  You could actually make these work in
Upstart with states as well:

	while not runlevel 2

> > I suspect the likely use within Ubuntu will be primarily for packages in
> > Universe, and those in main that are literally just basic services.  For
> > services and tasks that we care about, we're likely to directly ship
> > Upstart definitions, since we would want the flexibility those allow.
> 
> Right, that’s understanding as well. It would be great if metainit
> could, for basic services, save ubuntu the effort of creating upstart
> jobs and in return we can work together to make metainit create nice
> upstart jobs and convert more basic services to metainit.
> 
My Perl is rather rusty, so I wouldn't like to try and hack on it
directly; but I'd be happy to provide whatever guidance someone needs to
do it.

Scott
-- 
Scott James Remnant
Ubuntu Development Manager
scott at ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20070621/d373cf0c/attachment.sig>


More information about the Ubuntu-devel-discuss mailing list