Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
remove services dependency from network services
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Fri May 02, 2008 6:22 am    Post subject: remove services dependency from network services Reply with quote

hello, I'm running boinc on my system, every time that I disconnect from my network the service automatically goes off.
is there a way to remove boinc's dependency on network?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
RoundsToZero
Guru
Guru


Joined: 17 Nov 2003
Posts: 478
Location: New York, NY

PostPosted: Fri May 02, 2008 6:41 am    Post subject: Reply with quote

/etc/conf.d/rc and look at the RC_NET_STRICT_CHECKING setting. Personally I use "lo" so that as long as the loopback interface comes up (indicating basic things like networking support and IP are working in the kernel) services will have their net dependency satisfied.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Sun May 04, 2008 1:16 pm    Post subject: Reply with quote

RoundsToZero wrote:
/etc/conf.d/rc and look at the RC_NET_STRICT_CHECKING setting. Personally I use "lo" so that as long as the loopback interface comes up (indicating basic things like networking support and IP are working in the kernel) services will have their net dependency satisfied.


not good, it starts all services, why do I need samba an cups if I dont have network?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
RoundsToZero
Guru
Guru


Joined: 17 Nov 2003
Posts: 478
Location: New York, NY

PostPosted: Mon May 05, 2008 4:41 pm    Post subject: Reply with quote

Not sure what you mean, I have lots of network services like Samba and CUPS installed, and they don't start automatically unless I have put them in the default runlevel with rc-update. Just changing the RC_NET_STRICT_CHECKING setting shouldn't affect this.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Mon May 05, 2008 5:10 pm    Post subject: Reply with quote

I've got samba, cups, klive, netmount, boinc and festival under default which depends on net.
changing it to lo brings all of them up whether my network cable is plugged or not.
I want all of them beside boinc and maybe festival to be network dependent.
I dont want them up if there isnt any connection. changing didnt helped me achieve that.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
RoundsToZero
Guru
Guru


Joined: 17 Nov 2003
Posts: 478
Location: New York, NY

PostPosted: Mon May 05, 2008 8:47 pm    Post subject: Reply with quote

Well the boinc init script says it needs net but if you know better then just edit the init script. It won't be preserved across updates though so keep that in mind. Or if you think it doesn't need to depend on net, submit a bug and they'll change the init script.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Tue May 06, 2008 5:23 am    Post subject: Reply with quote

RoundsToZero wrote:
Well the boinc init script says it needs net but if you know better then just edit the init script. It won't be preserved across updates though so keep that in mind. Or if you think it doesn't need to depend on net, submit a bug and they'll change the init script.


thats what I did, submit a bug to who?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
RoundsToZero
Guru
Guru


Joined: 17 Nov 2003
Posts: 478
Location: New York, NY

PostPosted: Tue May 06, 2008 3:26 pm    Post subject: Reply with quote

Gentoo bugzilla I think. Gentoo init scripts are different than on other distros so Gentoo devs usually need to make them themselves instead of using the one from upstream.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Wed May 07, 2008 5:10 am    Post subject: Reply with quote

can we get a verification from a developer in gentoo?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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