From Fedora Project Wiki

Revision as of 20:12, 10 October 2012 by Mattdm (talk | contribs)

  1. REDIRECT Starting_services_by_default
Old page
This page has been marked as "old", and likely contains content that is irrelevant or incorrect. If you can, please update this page. This page will be deleted if action is not taken.

Fedora Default Services

Fedora 7 Test 2 GNOME based Live CD

Hardware specific - Bluetooth (along with hidd), cups (FC6 even had smartcard daemon by default). Should check and enable on demand. Bug report - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=222315.

Definitely superfluous - firstboot, livecd. Should disable after first run completely or even remove the packages.

Extra - cpuspeed (should only be enabled on laptops). mdmonitor, netfs, ntpd, portmap.

Default? - Possibly NetworkManagerDispatcher since NetworkManager is enabled by default

Exim should probably replaced with something like esmtp or ssmtp in the live cd. Folks wanting to install a full blown MTA can install sendmail, postfix or email on their own. Does esmtp or ssmtp deliver local mail?


Archived Discussions

  • This would have the default list of services enabled in all the four classes of installation and provide detailed rationale for every single one of them. If we dont have a good rationale, we disable it by default. Simple eh?
  • My list of useless services that kill boot time.

Format:

mdnsresponder Why? how many of us run a howl network? isdn Don't know what this is or why any user would need it mdmonitor Only needed in a RAID environment. Should be detected in Anaconda and set to be avtive with this type of install. else default should be off. nifd What are you? rpcgssd What are you? rpcidmapd What are you? rpcsvcgssd What are you? sasauthd This should be off unless you are doing a server install.

  • this one is not really a process

rhgb removing rhgb durring the install process will help speading up the boot time. at least until the developers can start x once and have a nice boot up process! :)

  • There are a few others that I have left off. I have 2 boot charts
    • original set up with all the defualt services enabled. the only piece of software not involved is rhgb. Rhgb will either shave or add 5-6 seconds of boot time to any PC.


[[Image:DefaultServices_btchartdefault.png,width=400,height=300]

    • 30 Second boot time with initng **

[[Image:DefaultServices_btChart30sec.png,width=400,height=300]


BootChartInstallation


FIXME: This is intended to be completed during the FC5 release time

How you help

  • Document the necessity behind services that are started by default.
  • Identify services that are unnecessarily started by default.
  • File bug reports against each of the packages containing the unnecessary services. Add them to the list here.


Bug reports


Comments

  • Keith Sharp

1) mdnsresponder I think this is useful for laptop users. It is becoming increasingly common to create ad-hoc networks using 802.11b during meetings and conferences to share files and provide collaboration and messaging.

2) ISDN (Integrated Services Digital Networks) For more info see: http://en.wikipedia.org/wiki/ISDN This was very popular in Europe for business and residential Internet access prior to the widespread adoption of Cable and DSL broadband technologies. I would agree that it should be off by default and possibly activated by Anaconda or Kudzu on detection of ISDN hardware.

3) mdmonitor Agree.

4) nifd (Network Interface Monitor Daemon) This is needed by mdnsresponder (possibly others as well) to monitor interfaces for changes in link or address status.

5) rpcgssd, rpcidmap, rpcsvcgssd These are all needed by NFS version 4. I would expect more and more people to switch to NFSv4 as the Linux implementation stabilises, so these should be left enabled.

6) sasauthd This should possibly be left enabled. I am not sure if it is required for laptop users who provide services on an ad-hoc basis as per (1).


  • Stewart Adam

1) I agree completely, these services should be disabled.

2) Can I also suggest rhnsd be removed? It no longer has a function as the Red Hat Network doesn't work any more in Fedora.


  • James Lawrence

1) Ext3 filesystem isn't compiled into the kernel as a default Would this reduce boot time because of 1 less module to be called?

2) gdmearly login is set to off by default will post a boot chart after enabling early login

EDIT: after enabling early login the boot time increased turning it off and no initng I was able to achive a 39 second boot time Please see BootChartInstallation


  • Stewart Adam

1) To use gdm-early-login, we must also enable gdm-allow-login. And, we must also modify the xfs and syslog files in /etc/init.d to show that they start before gdm-early-login, (The #chkconfig [runlevels] [start priority] [stop priority] line), adn then re-add them with chkconfig --add xfs;chkconfig --add syslog.

2) Yes, compiling ext3 would be a good idea. See here:

http://www.improvedsource.com/view.php/Linux-System/2/

This person compiled USB drivers, ext3, parallel port, floppy, a few others and removed a few, too to increase speed. Of course, we can't do the removing, but perhaps we could do the USB, ext2/3, vfat, all the common utilities?


  • JamesLawrence

Please see this post from fedoraforum.org

post #52

This person was able to go from 1:17 seconds to 41 seconds