Re: Troubleshooting boot problems

2010-04-21 Thread Scott James Remnant
On Wed, 2010-04-21 at 15:29 -0500, Patrick Goetz wrote: > >> OK, well what service emits a runlevel event? > >> > > None. It's emitted by the /sbin/telinit tool. > > OK, but this doesn't this assume at least one run level change? The > rc2.d scripts are run, so something must be running tel

Re: Troubleshooting boot problems

2010-04-21 Thread Patrick Goetz
Scott James Remnant wrote: >> When is ufw run vis' a vis the /etc/rc2.d scripts? >> > Before, after, during, etc. There is no fixed relationship between > these two things, except that /etc/rcS.d (and thus /etc/rc2.d) will not > be run until the "lo" device is up. > Then this is problematic for

Re: Troubleshooting boot problems

2010-04-21 Thread Scott James Remnant
On Wed, 2010-04-21 at 21:37 +0200, Florian Diesch wrote: > Scott James Remnant writes: > > >> Next, suppose I don't want to run ufw -- what's the procedure for > >> turning this service off? Deleting the ufw.conf script from /etc/init? > >> This seems terribly irreversible. > >> > > Yes, o

Re: Troubleshooting boot problems

2010-04-21 Thread Florian Diesch
Scott James Remnant writes: >> Next, suppose I don't want to run ufw -- what's the procedure for >> turning this service off? Deleting the ufw.conf script from /etc/init? >> This seems terribly irreversible. >> > Yes, or renaming to .conf-disabled is a common pattern. Doesn't the file get

Re: Troubleshooting boot problems

2010-04-21 Thread Scott James Remnant
On Wed, 2010-04-21 at 11:39 -0700, Scott James Remnant wrote: > On Tue, 2010-04-20 at 14:33 -0500, Patrick Goetz wrote: > > > What emits the net-device-added event? > > > It's emitted by "ifup" and by Network Manager, both via > the /etc/network/if-up.d/upstart script. > Sorry, this was the ans

Re: Troubleshooting boot problems

2010-04-21 Thread Scott James Remnant
Just answering the bits that are/look like questions ... On Tue, 2010-04-20 at 14:33 -0500, Patrick Goetz wrote: > What emits the net-device-added event? > It's emitted by "ifup" and by Network Manager, both via the /etc/network/if-up.d/upstart script. > When is this run vis' a vis the /etc/rc2

Re: Troubleshooting boot problems

2010-04-21 Thread Charlie Kravetz
On Wed, 21 Apr 2010 11:19:29 -0500 Patrick Goetz wrote: > > > > Subject: Re: Troubleshooting boot problems > > From: Florian Diesch > > Date: Wed, 21 Apr 2010 12:18:40 +0200 > > > > Any event can be emitted by any program using upstart's DBus API.

Re: Troubleshooting boot problems

2010-04-21 Thread Patrick Goetz
> > Subject: Re: Troubleshooting boot problems > From: Florian Diesch > Date: Wed, 21 Apr 2010 12:18:40 +0200 > > Any event can be emitted by any program using upstart's DBus API. > > IMHO it's not that important to know where a event gets emitted > (that

Re: Troubleshooting boot problems

2010-04-21 Thread Florian Diesch
Joao Pinto writes: > On Wed, Apr 21, 2010 at 5:22 AM, Florian Diesch wrote: > >> Patrick Goetz writes: >> > nothing. Maybe /etc/init/networking.conf emits net-device-added? >> >> I guess it's emitted by upstart-udev-bridge >> >> > How can one find out for sure? >> >> I'd have a look at the upst

Re: Troubleshooting boot problems

2010-04-21 Thread Joao Pinto
On Wed, Apr 21, 2010 at 5:22 AM, Florian Diesch wrote: > Patrick Goetz writes: > > nothing. Maybe /etc/init/networking.conf emits net-device-added? > > I guess it's emitted by upstart-udev-bridge > > > How can one find out for sure? > > I'd have a look at the upstart-udev-bridge source code > g

Re: Troubleshooting boot problems

2010-04-20 Thread Florian Diesch
Patrick Goetz writes: > 4. > OK, > r...@dell8:/etc/init# grep "emits net-device-added" * > r...@dell8:/etc/init# > > r...@dell8:/etc/init# grep net-device-added * > network-interface.conf:start on net-device-added > ufw.conf:start on net-device-added INTERFACE=lo > > not

Re: Troubleshooting boot problems

2010-04-20 Thread Tom H
On Tue, Apr 20, 2010 at 4:08 PM, Joao Pinto wrote: > On Tue, Apr 20, 2010 at 8:33 PM, Patrick Goetz > wrote: >> > Subject: Re: Troubleshooting boot problems >> > From: Brian Vaughan >> > Date: Fri, 16 Apr 2010 07:53:30 -0700 >> >> Next, suppose I

Re: Troubleshooting boot problems

2010-04-20 Thread Tom H
On Tue, Apr 20, 2010 at 3:33 PM, Patrick Goetz wrote: >> Subject: Re: Troubleshooting boot problems >> From: Brian Vaughan >> Date: Fri, 16 Apr 2010 07:53:30 -0700 >> >> I'd like to see a good overview of Ubuntu's startup process. I just took >> a

Re: Troubleshooting boot problems

2010-04-20 Thread Joao Pinto
On Tue, Apr 20, 2010 at 8:33 PM, Patrick Goetz wrote: > > Subject: Re: Troubleshooting boot problems > > From: Brian Vaughan > > Date: Fri, 16 Apr 2010 07:53:30 -0700 > > > > Next, suppose I don't want to run ufw -- what's the procedure for > turni

Re: Troubleshooting boot problems

2010-04-20 Thread Patrick Goetz
> Subject: Re: Troubleshooting boot problems > From: Brian Vaughan > Date: Fri, 16 Apr 2010 07:53:30 -0700 > > I'd like to see a good overview of Ubuntu's startup process. I just took > a class on Unix/Linux system administration, and we spent quite some > time

Re: Troubleshooting boot problems

2010-04-16 Thread Brian Vaughan
I'd like to see a good overview of Ubuntu's startup process. I just took a class on Unix/Linux system administration, and we spent quite some time on system startup and shutdown -- but mostly in terms of Sys V init scripts and runlevels. I'm clueless about upstart and plymouth. -- Brian Vaughan

Troubleshooting boot problems

2010-04-16 Thread Joao Pinto
Hello, a frequently reported problem on #Ubuntu+1 which is most of the times answered is the "I am unable to boot problem". Is there a generic boot troubleshotting documentation ? I couldn't find one. If not is there with the know-how to create it ? It should describe how to check at which stage o