upstart problems

Mark markg85 at gmail.com
Sat Mar 22 16:30:28 UTC 2008


2008/3/22, Jakub 'Livio' Rusinek <jakub.rusinek at gmail.com>:
> Mark wrote:
>  > 2008/3/21, Jakub 'Livio' Rusinek<jakub.rusinek at gmail.com>:
>  >> Back to slow startup :/ .
>  >>
>  >
>  > Why don't you invistigate what services are needed _before_ gdm needs
>  > to run? i'm sure you can tweak something with the boot order. And if
>  > you do investigate that stuff than we all have profit from that
>  > (assuming you actually do it and publish it here)!
>
>
> How?
>

Right after i suggested it i wondered also how you would do that :P
i investigated it a little. I assune you want to boot in graphical
mode (runlevel 5) so go to the folder: /etc/rc5.d and look at all the
scripts.
This is the list that i have on Fedora 8 (it's without upstart but
that doesn't mather because those scripts are still used in F9
(rawhide) (or tweaked a little)

lrwxrwxrwx 1 root root 16 2008-01-30 18:00 K01smartd -> ../init.d/smartd
lrwxrwxrwx 1 root root 15 2008-01-30 15:04 K01smolt -> ../init.d/smolt
lrwxrwxrwx 1 root root 34 2008-01-30 15:07 K02NetworkManagerDispatcher
-> ../init.d/NetworkManagerDispatcher
lrwxrwxrwx 1 root root 19 2008-01-30 15:05 K05saslauthd -> ../init.d/saslauthd
lrwxrwxrwx 1 root root 16 2008-01-30 14:58 K10psacct -> ../init.d/psacct
lrwxrwxrwx 1 root root 13 2008-01-30 14:56 K15gpm -> ../init.d/gpm
lrwxrwxrwx 1 root root 17 2008-02-12 22:35 K20hddtemp -> ../init.d/hddtemp
lrwxrwxrwx 1 root root 13 2008-01-30 15:05 K20nfs -> ../init.d/nfs
lrwxrwxrwx 1 root root 14 2008-01-30 14:58 K24irda -> ../init.d/irda
lrwxrwxrwx 1 root root 20 2008-01-30 15:00 K50netconsole -> ../init.d/netconsole
lrwxrwxrwx 1 root root 15 2008-01-30 18:06 K50snmpd -> ../init.d/snmpd
lrwxrwxrwx 1 root root 19 2008-01-30 18:06 K50snmptrapd -> ../init.d/snmptrapd
lrwxrwxrwx 1 root root 20 2008-01-30 15:05 K69rpcsvcgssd -> ../init.d/rpcsvcgssd
lrwxrwxrwx 1 root root 14 2008-01-30 17:06 K71lirc -> ../init.d/lirc
lrwxrwxrwx 1 root root 24 2008-03-16 21:14 K72wpa_supplicant ->
../init.d/wpa_supplicant
lrwxrwxrwx 1 root root 17 2008-01-30 15:13 K73winbind -> ../init.d/winbind
lrwxrwxrwx 1 root root 16 2008-01-30 15:13 K73ypbind -> ../init.d/ypbind
lrwxrwxrwx 1 root root 20 2008-01-30 15:05 K74lm_sensors -> ../init.d/lm_sensors
lrwxrwxrwx 1 root root 14 2008-01-30 14:56 K74nscd -> ../init.d/nscd
lrwxrwxrwx 1 root root 14 2008-02-24 17:07 K74ntpd -> ../init.d/ntpd
lrwxrwxrwx 1 root root 16 2008-01-30 15:06 K84btseed -> ../init.d/btseed
lrwxrwxrwx 1 root root 17 2008-01-30 15:06 K84bttrack -> ../init.d/bttrack
lrwxrwxrwx 1 root root 20 2008-01-30 14:58 K87multipathd -> ../init.d/multipathd
lrwxrwxrwx 1 root root 14 2008-03-16 21:14 K89dund -> ../init.d/dund
lrwxrwxrwx 1 root root 18 2008-01-30 14:56 K89netplugd -> ../init.d/netplugd
lrwxrwxrwx 1 root root 14 2008-03-16 21:14 K89pand -> ../init.d/pand
lrwxrwxrwx 1 root root 15 2008-01-30 14:56 K89rdisc -> ../init.d/rdisc
lrwxrwxrwx 1 root root 14 2008-01-30 15:05 K91capi -> ../init.d/capi
lrwxrwxrwx 1 root root 23 2008-01-30 15:05 S00microcode_ctl ->
../init.d/microcode_ctl
lrwxrwxrwx 1 root root 15 2008-01-30 15:00 S05kudzu -> ../init.d/kudzu
lrwxrwxrwx 1 root root 18 2008-01-30 14:58 S06cpuspeed -> ../init.d/cpuspeed
lrwxrwxrwx 1 root root 19 2008-01-30 17:58 S08ip6tables -> ../init.d/ip6tables
lrwxrwxrwx 1 root root 18 2008-01-30 17:58 S08iptables -> ../init.d/iptables
lrwxrwxrwx 1 root root 14 2008-01-30 15:05 S09isdn -> ../init.d/isdn
lrwxrwxrwx 1 root root 17 2008-01-30 15:00 S10network -> ../init.d/network
lrwxrwxrwx 1 root root 21 2008-01-30 15:01 S12restorecond ->
../init.d/restorecond
lrwxrwxrwx 1 root root 20 2008-01-30 18:01 S13irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 17 2008-01-30 14:56 S13rpcbind -> ../init.d/rpcbind
lrwxrwxrwx 1 root root 17 2008-01-30 15:05 S14nfslock -> ../init.d/nfslock
lrwxrwxrwx 1 root root 19 2008-01-30 15:04 S15mdmonitor -> ../init.d/mdmonitor
lrwxrwxrwx 1 root root 19 2008-01-30 15:05 S18rpcidmapd -> ../init.d/rpcidmapd
lrwxrwxrwx 1 root root 17 2008-01-30 15:05 S19rpcgssd -> ../init.d/rpcgssd
lrwxrwxrwx 1 root root 14 2008-03-15 03:14 S25fuse -> ../init.d/fuse
lrwxrwxrwx 1 root root 15 2008-01-30 15:00 S25netfs -> ../init.d/netfs
lrwxrwxrwx 1 root root 15 2008-01-30 15:07 S25pcscd -> ../init.d/pcscd
lrwxrwxrwx 1 root root 17 2008-03-16 21:14 S26preload -> ../init.d/preload
lrwxrwxrwx 1 root root 17 2008-03-16 21:14 S26rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 19 2008-01-30 18:00 S26udev-post -> ../init.d/udev-post
lrwxrwxrwx 1 root root 16 2008-03-16 21:14 S27auditd -> ../init.d/auditd
lrwxrwxrwx 1 root root 20 2008-03-16 21:14 S27messagebus -> ../init.d/messagebus
lrwxrwxrwx 1 root root 24 2008-03-16 21:14 S27setroubleshoot ->
../init.d/setroubleshoot
lrwxrwxrwx 1 root root 16 2008-01-30 14:58 S28autofs -> ../init.d/autofs
lrwxrwxrwx 1 root root 14 2008-03-07 14:01 S35qemu -> ../init.d/qemu
lrwxrwxrwx 1 root root 15 2008-01-30 18:01 S44acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 19 2008-03-16 21:14 S50bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 14 2008-01-30 15:05 S55sshd -> ../init.d/sshd
lrwxrwxrwx 1 root root 16 2008-02-02 15:05 S64mysqld -> ../init.d/mysqld
lrwxrwxrwx 1 root root 18 2008-01-30 18:18 S80sendmail -> ../init.d/sendmail
lrwxrwxrwx 1 root root 15 2008-02-16 02:33 S85httpd -> ../init.d/httpd
lrwxrwxrwx 1 root root 14 2008-02-13 01:21 S88nasd -> ../init.d/nasd
lrwxrwxrwx 1 root root 20 2008-03-01 15:25 S90ConsoleKit -> ../init.d/ConsoleKit
lrwxrwxrwx 1 root root 15 2008-01-30 14:58 S90crond -> ../init.d/crond
lrwxrwxrwx 1 root root 13 2008-01-30 14:58 S95atd -> ../init.d/atd
lrwxrwxrwx 1 root root 15 2008-01-30 15:49 S95jexec -> ../init.d/jexec
lrwxrwxrwx 1 root root 22 2008-01-30 15:00 S96avahi-daemon ->
../init.d/avahi-daemon
lrwxrwxrwx 1 root root 22 2008-01-30 18:13 S97yum-updatesd ->
../init.d/yum-updatesd
lrwxrwxrwx 1 root root 14 2008-01-30 15:04 S98cups -> ../init.d/cups
lrwxrwxrwx 1 root root 19 2008-01-30 15:07 S98haldaemon -> ../init.d/haldaemon
lrwxrwxrwx 1 root root 24 2008-01-30 15:23 S98NetworkManager ->
../init.d/NetworkManager
lrwxrwxrwx 1 root root 17 2008-01-30 18:01 S99anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 19 2008-01-30 15:04 S99firstboot -> ../init.d/firstboot
lrwxrwxrwx 1 root root 11 2008-01-30 15:00 S99local -> ../rc.local

First i will explain something that i found hard to find.. the scripts
starting with S means Start and K means Kill. it's that simple. In
upstart it's easy to say when GDM needs to start and what you did was
starting it right before the init5 scripts started (correct me if i'm
wrong) now what you need to do is add take a damn good look at all the
S scripts and see which ones are actually required before GDM shows
up.. something like Cron, Cups and yum-updatesd can safely start after
gdm (again correct me if i'm wrong) once you figured that out make a
start script here that starts GDM (don't know how.. looking in that)
and test it.

I'm currently updating a rawhide machine to the latest updates so i
can also test just that! i will also report my finding here.

good luck




More information about the fedora-devel-list mailing list