Configure Linux Startup Applications with sysv-rc-conf

How do you control your background services in Linux? Purists will probably say that renaming the symlinks in the rc folders is the way to go, but for me that’s a pain in the ass. I much more prefer some simple app where I could just click bunch of check-boxes on a single page to enable and disable starting up of various apps at different run levels. KDE has a built in tool for this called KSysV but it’s UI is atrocious. I mean, please check out this screenshot and tell me - does that look like a clean UI design?

KSysV is a Mess

What the hell were they smoking? It actually takes you a minute or two to realize that you disable applications by dragging and dripping their respective icons to the recycle bin icon in the corner. I guess it makes management of the services a bit easier but it could be much cleaner.

I recently discovered sysv-rc-conf app that actually manages to nail the simplistic service management paradigm I was really looking for - by using freaking checkboxes:

sysv-rc-conf

It’s not often that a curses utility written in perl completely owns a polished KDE app on clarity, usability and UI design. But this is exactly what we have here. You don’t want the service to run, you un-check the box. No dragging and no dropping stuff between boxes, searching and etc. Just pick an app, go across and check or un-check boxes as needed. And if you want more control, just run it with -p and you will get into the priority mode:

sysv-rc-conf in priority mode

Here you can actually edit the K and S records for each app on each run level. Now, KSysV might have some a bit more functionality, but sysv-rc-conf is simple, powerful and easy to use.

My Dapper installation didn’t have it installed by default, but I found it in the universe/admin repositories. You can get it by doing:

apt-get install sysv-rc-conf

or

aptitude install sysv-rc-conf

What is your favorite tool for managing SysV stuff? Let me know in the comments!

Related Posts:

  • Access Linux Workstation by Hostname on a Windows Network
  • Installing Fluxbuntu on Compaq Presario 1240
  • Mutt with SSMTP
  • Loading Startup Applications… Please Wait…
  • Katapult: Launchy/Quicksilver for Linux
  • Jaiku
  • Ascii Art in nmaps configure file
  • Howto: Two Way Sync Between Kontact and GCal
  • Pkill - an Easier Linux Kill Command
  • Linux: Quick and Dirty Way to Take Screenshots

  • 15 Responses to “Configure Linux Startup Applications with sysv-rc-conf”

    1. Gravatar Craig Betts UNITED STATES Says:

      The only Linux I really touch is Red Hat, so I just use chkconfig. Easy to script, easy to read. I am not sure what other distros use chkconfig

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Solaris Solaris
    2. Gravatar Luke Maciak UNITED STATES Says:

      Yeah, it’s pretty much a Red Hat script. It’s not in the core Ubuntu package repositories. (

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Windows Windows XP
    3. Gravatar Craig Betts UNITED STATES Says:

      Yeah, it’s pretty much a Red Hat script. It’s not in the core Ubuntu package repositories.

      Yeah but you are downloading sysv-rc-conf anyways. Might as well just grab chkconfig: LINKY

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Solaris Solaris
    4. Gravatar Luke Maciak UNITED STATES Says:

      Only thing that worries me about compiling this from source is that Red Hat and Fedora have a slightly different ideas about runlevels than Debian and Ubuntu.

      I might check it out on a test machine or in a VM. Don’t feel like b0rking my work laptop. P

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Windows Windows XP
    5. Gravatar Fr3d UNITED KINGDOM Says:

      Don’t feel like b0rking my work laptop. P

      Makes a good excuse not to work though )

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Windows Windows XP
    6. Gravatar Craig Betts UNITED STATES Says:

      Then again . . . unless you are a sysadmin doing a lot of tests, you really should not be messing around with rc scripts much to begin with. If you have a fear of borking-up your system, you probably should not mess with it unless you have a good understanding of what you are doing.

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Mac OS Mac OS X
    7. Gravatar Luke Maciak UNITED STATES Says:

      Heh. That doesn’t stop me though. I b0rk my systems all the time, and I’m usually able to fix it.

      It’s just I don’t want to deal with that at the moment ie. breaking your system because of tinkering is not an excuse when you are on a strict deadline. ) So I’d rather use something that works, rather than something that may or may either work, or do some funny stuff I might need to fix.

      Btw, I found like 15 services on my laptop that I didn’t really need to be running like apache, sendmail, bittorrent tracker, irda modules (I don’t use the info red sensor) and etc. It almost cut my boot time in half because all that crap is not starting up every time I power this thing on - so I’m happy.

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Ubuntu Linux Ubuntu Linux
    8. Gravatar Craig Betts UNITED STATES Says:

      “info red” LOL

      Never thought of infrared that way.

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Solaris Solaris
    9. Gravatar Luke Maciak UNITED STATES Says:

      LOL I can’t believe I actually typed that. oops

      This is what happens when I don’t get my morning coffee.

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Ubuntu Linux Ubuntu Linux
    10. Gravatar Terminally Incoherent » Blog Archive » Installing Fluxbuntu on Compaq Presario 1240 UNITED STATES Says:

      […] So, Fluxbuntu is working. The base system is running at an acceptable speed. I think both Slax and DSL were performing better. This system just feels slower and more cumbersome. I trimmed it down using sysv-rc-conf and removed all the unnecessary daemons and background processes. This made boot times more tolerable, and made the UI a wee bit more responsive. I’m not sure if I can tweak it down from here, but suggestions are always appreciated. I guess the rest is just choice of software you use on the machine. […]

      Posted using WordPress WordPress 2.0.5
    11. Gravatar Dmitriy Kropivnitskiy UNITED STATES Says:

      Yes, this is a good tool. I have used it before, albeit I am not a big fan of cursed interfaces. I think this tool is only pre-packaged for Debian though (Ubuntu gets it being Debian derivative), so anybody with Red Hat based system or some SuSe or Mandriva (could be considered RH based ) ). Is a bit out of luck.
      About chkconfig. It is a very Red Hat specific tool and it will NOT work on Ubuntu. The reason for this is that chkconfig relies on startup scripts having a lot of specific and properly formated information in their headers and will not work without them. Debian derivatives have a command line tool called update-rc.d to manipulate sysv startup. It doesn’t have listing capability though.

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.5 on Fedora Linux Fedora Linux
    12. Gravatar Luke Maciak UNITED STATES Says:

      That’s what I thought. These kinds of things don’t port seamlessly between distros. Thanks for the info. )

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Ubuntu Linux Ubuntu Linux
    13. Gravatar Joe Oppegaard UNITED STATES Says:

      I’m the author of sysv-rc-conf, just ran across this posting. Glad you all like it. I thought I’d add to the discussion regarding chkconfig,

      I also had used redhat and liked the chkconfig syntax. So, I built sysv-rc-conf to take the same command line arguments. You can check the man page for more details, but it allows you to modify run levels just like chkconfig without bringing up the TUI.

      Ie. sysv-rc-conf --level 2345 apache off Check the USING THE CLI section of the man page for a bit more.

      Regarding compatibility, I admit I haven’t checked in a over a year, but I tested this app on a number of non-debian based distros and it worked, specifically I do remember testing with redhat. The COMPATIBILITY section of the man page gives more info on what to check for to see if your distro is compatible.

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.11 on Ubuntu Linux Ubuntu Linux
    14. Gravatar Luke Maciak UNITED STATES Says:

      Hey Joe! sysv-rc-conf is really a great app! Keep up the good work.

      I haven’t checked the CLI options but that really looks useful - especially for scripting. Thanks for the tip!

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.9 on Ubuntu Linux Ubuntu Linux
    15. Gravatar vixtor Says:

      great review
      It make things easier

      Posted using Debian IceWeasel 2.0.0.13 on Debian GNU/Linux Debian GNU/Linux

    Leave a Reply

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <pre lang=""> <em> <i> <strike> <strong>

    [Quote selected]