View previous topic :: View next topic |
Author |
Message |
spendabuck Apprentice
Joined: 28 Apr 2002 Posts: 256
|
Posted: Mon Apr 29, 2002 2:12 pm Post subject: When should I use "rc-update"? |
|
|
I emerged "gimp" and after it was merged I tried using "rc-update add gimp default" and got this error "/sbin/rc-update: /etc/init.d/gimp not found; aborting" can someone tellme what is it I'm doing wrong. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Apr 29, 2002 2:25 pm Post subject: Re: When should I use "rc-update"? |
|
|
spendabuck wrote: | can someone tellme what is it I'm doing wrong. |
You're trying to set a user-space program to run as a system-level daemon. rc scripts are designed to start daemons -- not user-space programs.
Not to mention that Gimp requires some sort of GUI interface, such as X or framebuffer, so you'd need to startx, start kde (or whatever) before you could think about starting Gimp.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
+BroNNoS+ n00b
Joined: 17 Apr 2002 Posts: 46 Location: Groningen, The Netherlands
|
Posted: Mon Apr 29, 2002 2:36 pm Post subject: |
|
|
What I am wondering about is what you wanted to achieve with "rc-update add gimp default"? Because as klieber is mentioning there is no real sense in doing that. |
|
Back to top |
|
|
spendabuck Apprentice
Joined: 28 Apr 2002 Posts: 256
|
Posted: Mon Apr 29, 2002 2:44 pm Post subject: rc-update |
|
|
I wasn't sure if I needed to run it after I install a package, all the tutorials I followed like installing samba and cups and some others I had to run the "rc-update add filename default" so I thought I had to do it everytime I installed a package. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Apr 29, 2002 3:12 pm Post subject: Re: rc-update |
|
|
spendabuck wrote: | I thought I had to do it everytime I installed a package. |
You only have to do it when you're installing a package that runs as a daemon.
rc scripts are "run control" scripts (or, "run command" scripts, depending on who you ask); they're designed to start system-level daemons at boot.
So, if a particular package doesn't run as a daemon, then you don't have to worry about using rc-update.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
spendabuck Apprentice
Joined: 28 Apr 2002 Posts: 256
|
Posted: Mon Apr 29, 2002 3:23 pm Post subject: rc-update |
|
|
Thanks |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 19, 2002 8:29 am Post subject: |
|
|
From Desktop Environments to Other Things Gentoo, hopefully future searches will be more likely to turn it up there. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|