all startup scripts past S30gdm do not execute

Andrew Farris flyindragon1 at aol.com
Wed Aug 12 18:11:04 UTC 2009


On Wed, 2009-08-12 at 07:52 -0700, Admin wrote:
> HI List,
> 
> my startup scripts are not executing scripts past S30gdm.  So I put a 
> line /sbin/sulogin in the script and finally figured out where the 
> script is hanging and never returning.  How can I cure the problem?
> 
> ---- 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?

I don't know if this helps or not, but the end of your line to launch
the start-stop-daemon is different from mine, and looks malformed to
begin with (i.e. the "log_end_msg 1echo" part). Here's what mine looks
like... maybe that will help:

<from="/etc/rc2.d/S30gdm" @ "BEC-LIN">

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

</from>



> ~$ 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
> 
> 
> 


-- 
Andrew
_____________________________
Registered Linux User: 473690
Registered Ubuntu User: 22747





More information about the ubuntu-users mailing list