all startup scripts past S30gdm do not execute

Admin admin at enabled.com
Tue Aug 11 01:31:11 UTC 2009


Hi list,

see below,

Marius Gedminas wrote:
> On Fri, Aug 07, 2009 at 02:11:36PM -0700, Admin wrote:
>> Hi there,
>>
>> I am trying to figure why all my startup scripts past /etc/rc2.d/S30gdm
>> are not loading?
>>
>> Looks like X gets fired up and then the following script do not run:
>>
>> S50avahi-daemon
> ...
>> S99stop-readahead
> 
> Can you check (e.g. with pstree) if the S30gdm script is perhaps still
> running?  If so, looking at its subprocesses may provide a clue as to
> why it got stuck.
> 
> Marius Gedminas
> 

okay I put a line /sbin/sulogin in the script and finally figured out 
where the script is hanging and never returning.

---- snip ---

                 start-stop-daemon --start --quiet --oknodo --pidfile 
$PIDFILE -\
-name gdm $SSD_ARG -- $CONFIG_FILE >/dev/null 2>&1 || log_end_msg 1echo

--- snip ---

What is the Best approach for allowing the start-stop-daemon to execute 
while allowing the script to continue

~$ ps -auxww | grep S30
Warning: bad ps syntax, perhaps a bogus '-'? See 
http://procps.sf.net/faq.html
root      3246  0.0  0.0   1872   584 ?        S    12:25   0:00 /bin/sh 
/etc/rc2.d/S30gdm start
root      3662  0.0  0.4  26724 16316 ?        S    14:07   0:01 emacs 
/etc/rc2.d/S30gdm
noah      4034  0.0  0.0   3376   908 pts/2    S+   17:44   0:00 less 
/etc/rc2.d/S30gdm
noah      4156  0.0  0.0   3340   808 pts/3    S+   18:30   0:00 grep S30

Cheers,

Noah





More information about the ubuntu-users mailing list