Everything is Broken

Ubuntu version of chkconfig

I always forget this one when I’m setting up a new Ubuntu machine, so this is as much for my benefit as anyone else’s …

I’ve used a lot of OSes and have always found the chkconfig command on Redhat / Centos very useful for changing runlevels of services. The equivalent on Ubuntu is the fabulously unmemorably named sysv-rc-conf. (UPDATE – Ignore most of this post and read Ernest’s comment below) … Here’s how to get it on your system.

sudo apt-get install sysv-rc-conf

and to run it requires

sudo ..uh what was its name again sysrc something? Dammit.

So what I normally do is a quick symlink:

sudo ln -s /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig

and then I can use chkconfig as if it was really available for Ubuntu. Don’t know why they couldn’t just stick to the same name. Bah.

This entry was posted on Tuesday, August 19th, 2008 at 8:47 am and is filed under Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« Free Wireless VPN
All Change. Mandriva 2008 to Ubuntu 8.04 »

4 Responses to “Ubuntu version of chkconfig”

  1. Lawrence Says:
    October 28th, 2009 at 4:01 am

    after 15 minutes looking for solutions – this was
    perfect, albeit chkconfig is my fav.

    Thanks

  2. admin Says:
    October 28th, 2009 at 11:53 am

    No problem. Glad I could help someone.

    Guess you could also use the ‘alias’ command, which I discovered since writing this entry. eg.
    alias chkconfig=’/usr/sbin/sysv-rc-conf’

    … which works on a per-user basis.

  3. Ernest Says:
    November 4th, 2009 at 9:06 pm

    sudo apt-get install chkconfig

  4. admin Says:
    November 5th, 2009 at 10:59 am

    Ernest. Thanks for that. chkconfig wasn’t available as an Ubuntu package when I wrote the post over a year ago (Ubuntu 8.04), but I’ve just tried and it is indeed available now. Not quite the same as the Redhat version, but good enough.

Leave a Reply

CAPTCHA Image CAPTCHA Audio
Refresh Image
  • Recent Posts

    • ClamAV reporting Outdated version
    • Adventures in unbricking a router
    • One Line Guitar Tuner
    • Captcha Madness
    • Ubuntu upgrade 9.04 to 9.10
  • Sing for your supper

  • Static

    • About
    • Privacy Policy
  • Tags

    apathy apple calendar chkconfig collanos cross-platform eee evolution firmware google grub hotspot id card lightning Linux Mandriva notebook partitioning pclinuxos pclinuxos 2008 Philippines power management re-install sane scanner scheduleworld script Security slow sysv-rc-conf thinkpad thunderbird trust ubuntu ultraportable usb virtualisation vmware vpn wifi wireless workspace sharing xsane yahoo zombie
  • Blogroll

    • Datalude
    • Digital Life
    • Engage the World
  • Archives

    • May 2010
    • April 2010
    • March 2010
    • November 2009
    • October 2009
    • June 2009
    • May 2009
    • April 2009
    • February 2009
    • January 2009
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • April 2008
    • March 2008
    • February 2008

Everything is Broken runs on WordPress. Theme by Bob. All content Copyright © Datalude 2008+.