Switching to Native Upstart Scripts?

2009-10-02 Thread Jeffrey Ollie
I was wondering what the consensus on switching to native Upstart
scripts (/etc/event.d/*) vs. keeping the traditional SysV init
scripts (/etc/rc.d/init.d) for daemons was?  I was looking at
switching Asterisk over and have an Upstart script that seems to work
fairly well.  I would be making the change for F-13...

-- 
Jeff Ollie


asterisk
Description: Binary data
-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Re: Switching to Native Upstart Scripts?

2009-10-02 Thread Bill Nottingham
Jeffrey Ollie (j...@ocjtech.us) said: 
 I was wondering what the consensus on switching to native Upstart
 scripts (/etc/event.d/*) vs. keeping the traditional SysV init
 scripts (/etc/rc.d/init.d) for daemons was?  I was looking at
 switching Asterisk over and have an Upstart script that seems to work
 fairly well.  I would be making the change for F-13...

1) Likely for F-13 we're moving to upstart 0.6.x. This will likely
require changes (if nothing else, to the script location), so you're
best holding off until after then.

2) We currently have no mechanism for the following:

- not starting services automatically that happen to have jobs installed
  (i.e., chkconfig service off)
- enforcing dependencies between SysV and upstart scripts  - if a package
  that provides a service that a SysV service depends on (via LSB headers)
  changes to an upstart script, things go wrong.

Bill

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


Re: Switching to Native Upstart Scripts?

2009-10-02 Thread Jeffrey Ollie
On Fri, Oct 2, 2009 at 1:42 PM, Bill Nottingham nott...@redhat.com wrote:

 1) Likely for F-13 we're moving to upstart 0.6.x.

 2) We currently have no mechanism for the following:

 - not starting services automatically that happen to have jobs installed
 - enforcing dependencies between SysV and upstart scripts

Sounds the plan for now is to add the upstart script as a %doc until
these issues get sorted out.

-- 
Jeff Ollie

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


Re: Switching to Native Upstart Scripts?

2009-10-02 Thread Steve Grubb
On Friday 02 October 2009 02:42:43 pm Bill Nottingham wrote:
 enforcing dependencies between SysV and upstart scripts  - if a package
   that provides a service that a SysV service depends on (via LSB headers)
   changes to an upstart script, things go wrong.

Also last time I checked, they still have not specified an audit facility. They 
have one for syslog, but not audit. And yes this matters.

-Steve

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


Re: Switching to Native Upstart Scripts?

2009-10-02 Thread Rahul Sundaram
On 10/03/2009 12:21 AM, Steve Grubb wrote:
 On Friday 02 October 2009 02:42:43 pm Bill Nottingham wrote:
 enforcing dependencies between SysV and upstart scripts  - if a package
   that provides a service that a SysV service depends on (via LSB headers)
   changes to an upstart script, things go wrong.
 
 Also last time I checked, they still have not specified an audit facility. 
 They 
 have one for syslog, but not audit. And yes this matters.

Have you talked to upstream about it? Upstart has been in the
distribution for quite sometime already. If there are particular
requirements for Fedora, we should have already communicated that.

Rahul

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list