init.d script dependencies used in the archive today

Petter Reinholdtsen pere at hungry.com
Tue Aug 18 18:19:27 UTC 2009


To get an idea on the maintainers imagination when making up
dependencies, I decided to make a histogram of used dependencies.
This is as far as I know, the complete list of dependencies used by
init.d scripts in the archive.

   1026 $remote_fs
    951 $syslog
    752 $local_fs
    675 $network
    164 $named
    115 $time
     40 dbus
     37 $all
     28 udev
     24 networking
     23 postgresql
     20 hal
     18 mysql
     18 checkroot
     17 mountkernfs
     15 ifupdown
     13 slapd
     13 avahi
     13 $portmap
     10 mountall
     10 devfsd
      9 mountdevsubfs
      8 console-screen
      8 cman
      7 mail-transport-agent
      7 kdm
      6 xdm
      6 umountroot
      6 postfix
      6 mdadm
      6 gdm
      6 clamav-daemon
      6 checkfs
      6 acpid
      5 raid2
      5 module-init-tools
      5 lvm2
      4 xfs
      4 sshd
      4 squid
      4 spamassassin
      4 snmpd
      4 nfs-common
      4 mysql-ndb-mgm
      4 munge
      4 lvm
      4 iscsi
      4 evms
      4 capiutils
      4 apache2
      4 alsa-utils
      4 $networking
      3 umountfs
      3 sendsigs
      3 sendmail
      3 samba
      3 reboot
      3 mpd
      3 keymap
      3 hostname
      3 cryptdisks-early
      3 avahi-daemon
      3 apache
      2 xend
      2 umountnfs
      2 ssh
      2 shorewall
      2 saslauthd
      2 root-file-server
      2 rmnologin
      2 radiusd
      2 quota
      2 pulseaudio
      2 postgrey
      2 openhpid
      2 nstxd
      2 nis
      2 mysqld
      2 mysql-ndb
      2 mountnfs
      2 loadcpufreq
      2 ldm
      2 kolab-cyrus-common
      2 kexec
      2 isdnutils
      2 isdnactivecards
      2 ircd-hybrid
      2 iptables
      2 ipsec
      2 ipmasq
      2 hylafax
      2 hfaxd
      2 halt
      2 greylist
      2 glibc
      2 gfs2-tools
      2 gfs-tools
      2 frameworkd
      2 firehol
      2 fetchmail
      2 festival
      2 faxq
      2 fam
      2 dancer-ircd
      2 cupsys
      2 cryptdisks
      2 clvm
      2 capiinit
      2 bluetooth
      2 bacula-sd
      2 bacula-fd
      2 autofs
      2 auditd
      2 asterisk
      2 $ypbind
      2 $mysql
      2 $mail
      2 $hal
      2 $bluetooth
      2 $apache
      1 zaptel
      1 uptimed-init
      1 udev-mtab
      1 sdm
      1 schroot
      1 readahead-desktop
      1 readahead
      1 puppetmaster
      1 portmap
      1 open-iscsi
      1 o2cb
      1 nullmailer
      1 ntp
      1 network-manager
      1 mtab
      1 mountall-bootclean
      1 masqmail
      1 ltsp-client-setup
      1 loadavg
      1 lm-sensors
      1 lirc
      1 ldap
      1 krb5-kdc
      1 killprocs
      1 keyboard-setup
      1 ifupdown-clean
      1 hwclockfirst
      1 hotplug
      1 hdparm
      1 geneweb
      1 exim4
      1 cron
      1 cpufrequtils
      1 console-setup
      1 citadel
      1 bootmisc
      1 bootlogd
      1 bind9
      1 atd
      1 $spamassassin
      1 $null
      1 $mythtv-backend
      1 $mail-transport-agent
      1 $clamav-daemon
      1 $alsa

The list was created like this:

 egrep -i '^# (Required-|Should-|X-Start-Before|X-stop-after)' init.d/* | \
  cut -d: -f3- | sed 's/\t/ /g' |sed 's/,/ /g' | sed 's/  */\n/g' | sort | \
  uniq -c | sort -nr

At least some of these dependencies need to be cleaned up. :)

Happy hacking,
-- 
Petter Reinholdtsen



More information about the initscripts-ng-devel mailing list