View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Fri May 02, 2008 6:22 am Post subject: remove services dependency from network services |
|
|
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 |
|
|
RoundsToZero Guru
Joined: 17 Nov 2003 Posts: 478 Location: New York, NY
|
Posted: Fri May 02, 2008 6:41 am Post subject: |
|
|
/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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Sun May 04, 2008 1:16 pm Post subject: |
|
|
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 |
|
|
RoundsToZero Guru
Joined: 17 Nov 2003 Posts: 478 Location: New York, NY
|
Posted: Mon May 05, 2008 4:41 pm Post subject: |
|
|
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Mon May 05, 2008 5:10 pm Post subject: |
|
|
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 |
|
|
RoundsToZero Guru
Joined: 17 Nov 2003 Posts: 478 Location: New York, NY
|
Posted: Mon May 05, 2008 8:47 pm Post subject: |
|
|
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Tue May 06, 2008 5:23 am Post subject: |
|
|
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 |
|
|
RoundsToZero Guru
Joined: 17 Nov 2003 Posts: 478 Location: New York, NY
|
Posted: Tue May 06, 2008 3:26 pm Post subject: |
|
|
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Wed May 07, 2008 5:10 am Post subject: |
|
|
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 |
|
|
|