You are here: Home Personal My Blog Fedora 15 - 8 services you can most likely disable

Fedora 15 - 8 services you can most likely disable

by Harald Hoyer last modified May 25, 2011 02:39 PM
This article shows you the 8 services you can most likely disable and speed up your boot process.

If you installed Fedora 15 from the live CD you will end up with some system services enabled, which you most likely do not need _ever_.

These services are:

  • fcoe and lldpad, only needed, if you have fibre channel over ethernet devices
  • iscsi and iscsid, only needed, if you have iSCSI devices
  • livesys and livesys-late, only needed for the live CD
  • mdmonitor, only needed, if you have RAID devices

You can disable them with system-config-services or by:

# chkconfig <servicename> off

<rant mode>anaconda really should do this for you... I filed a bug for this</rant mode>

Filed under: , , , ,

fcoe/iscsi deps

Avatar Posted by Peter Robinson at May 25, 2011 03:09 PM
It would also be nice if dracut didn't have a hard dependency on them too. It pulls in a rather large tree of deps that are generally not used on a large amount of Fedora devices.

dracut-deps

Avatar Posted by Harald Hoyer at May 25, 2011 03:10 PM
only dracut-network has these dependencies, which is why it is a subpackage

Systemd ?

Avatar Posted by Misc at May 25, 2011 03:42 PM
Shouldn't systemd start them only on demand ?

on demand

Avatar Posted by Harald Hoyer at May 25, 2011 03:44 PM
in an ideal world, of course. But most of these scripts are old LSB scripts and not service files. Also this would involve udev rules, which would start these scripts on demand, if such a device is discovered.

Un-needed Services

Avatar Posted by Dyspeptic Curmudgeon at May 25, 2011 05:36 PM
#!/bin/bash
#Dependencies services package
#Turning off un-needed services on a Mythtv box
#One network NIC, no NSF, Selinux=0, no RAID, no wireless...
# VERY MINIMAL!
 echo ""
 echo " ********************************* "
 echo " Turning un-needed things off"
 echo " ********************************* "

for s in atd \
        auditd \
        avahi-daemon \
        bluetooth \
        cgconfig \
        cgred \
        cups \
        dc_client \
        dc_server \
        dnsmasq \
        ebtables \
        firstboot \
        gpsd \
        haldaemon \
        ip6tables \
        irda \
        iscsi \
        iscsid \
        ksm \
        ksmtuned \
        libvirt-guests \
        libvirtd \
        lvm2-monitor \
        mdmonitor \
        NetworkManager \
        netconsole \
        netfs \
        nfs \
        nfslock \
        nmb \
        ntpd \
        ntpdate \
        openct \
        openvpn \
        pcscd \
        portreserve \
        psacct \
        rdisc \
        restorecond \
        rpcbind \
        rpcgssd \
        rpcidmapd \
        rpcsvcgssd \
        rsyslog \
        saslauthd \
        sendmail \
        smb \
        smolt \
        snmpd \
        speech-dispatcherd \
        snmptrapd \
        squid \
        svnserve \
        vboxdrv \
        vboxweb-service \
        wicd \
        wpa_supplicant \
        ypbind
do echo "chkconfig $s off";
chkconfig $s off;
done
 echo ""
 echo " ********************************* "
 echo " Turning minimal needed things on"
 echo " Httpd so webmin & mythweb work "

echo "********************************* "

for s in abrtd \
        httpd \
        network \
        mysqld \
        sshd \
        udev-post \
        xinetd
do echo "chkconfig $s on";
chkconfig $s on
done

 echo ""
 echo " ********************************* "
 echo " DONE...."
 echo " ********************************* "

Add comment

You can add a comment by filling out the form below. Plain text formatting.

(Required)
Please enter your name.
(Required)
(Required)
(Required)
Enter the word