Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
When should I use "rc-update"?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
spendabuck
Apprentice
Apprentice


Joined: 28 Apr 2002
Posts: 256

PostPosted: Mon Apr 29, 2002 2:12 pm    Post subject: When should I use "rc-update"? Reply with quote

:?: 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
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Apr 29, 2002 2:25 pm    Post subject: Re: When should I use "rc-update"? Reply with quote

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
View user's profile Send private message
+BroNNoS+
n00b
n00b


Joined: 17 Apr 2002
Posts: 46
Location: Groningen, The Netherlands

PostPosted: Mon Apr 29, 2002 2:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
spendabuck
Apprentice
Apprentice


Joined: 28 Apr 2002
Posts: 256

PostPosted: Mon Apr 29, 2002 2:44 pm    Post subject: rc-update Reply with quote

:oops: 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
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Apr 29, 2002 3:12 pm    Post subject: Re: rc-update Reply with quote

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
View user's profile Send private message
spendabuck
Apprentice
Apprentice


Joined: 28 Apr 2002
Posts: 256

PostPosted: Mon Apr 29, 2002 3:23 pm    Post subject: rc-update Reply with quote

Thanks :lol:
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Aug 19, 2002 8:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum