Re: [gentoo-amd64] local not started?

2008-11-07 Thread Raffaele BELARDI
Christoph Mende wrote:
 On Thu, 06 Nov 2008 17:37:53 +0100
 Raffaele BELARDI [EMAIL PROTECTED] wrote:
 
 # /etc/init.d/local start
 * WARNING:  local has already been started.
 
 try /etc/init.d/local restart and look for errors
 just note that this will also run /etc/conf.d/local.stop iirc
 

No errors are reported.

raf



Re: [gentoo-amd64] local not started?

2008-11-07 Thread Beso
2008/11/7 Raffaele BELARDI [EMAIL PROTECTED]:
 Christoph Mende wrote:
 On Thu, 06 Nov 2008 17:37:53 +0100
 Raffaele BELARDI [EMAIL PROTECTED] wrote:

 # /etc/init.d/local start
 * WARNING:  local has already been started.

 try /etc/init.d/local restart and look for errors
 just note that this will also run /etc/conf.d/local.stop iirc


 No errors are reported.

 raf


rc-update show. see that you have local in the default profile.

-- 
dott. ing. beso



Re: [gentoo-amd64] local not started?

2008-11-07 Thread Raffaele BELARDI
Beso wrote:
 2008/11/7 Raffaele BELARDI [EMAIL PROTECTED]:
 Christoph Mende wrote:
 On Thu, 06 Nov 2008 17:37:53 +0100
 Raffaele BELARDI [EMAIL PROTECTED] wrote:

 # /etc/init.d/local start
 * WARNING:  local has already been started.
 try /etc/init.d/local restart and look for errors
 just note that this will also run /etc/conf.d/local.stop iirc

 No errors are reported.

 raf
 
 
 rc-update show. see that you have local in the default profile.
 

It is in default and nonetwork.

Could it be that the service is executed but some other service
indirectly resets the ignore_nice_load to 1?

raf



Re: [gentoo-amd64] local not started?

2008-11-07 Thread Beso
2008/11/7 Raffaele BELARDI [EMAIL PROTECTED]:
 Beso wrote:
 2008/11/7 Raffaele BELARDI [EMAIL PROTECTED]:
 Christoph Mende wrote:
 On Thu, 06 Nov 2008 17:37:53 +0100
 Raffaele BELARDI [EMAIL PROTECTED] wrote:

 # /etc/init.d/local start
 * WARNING:  local has already been started.
 try /etc/init.d/local restart and look for errors
 just note that this will also run /etc/conf.d/local.stop iirc

 No errors are reported.

 raf


 rc-update show. see that you have local in the default profile.


 It is in default and nonetwork.

 Could it be that the service is executed but some other service
 indirectly resets the ignore_nice_load to 1?


try grepping on the files in /etc/init.d/ searching for
ignore_nice_load and see if some other service is doing something
similar.
there should surely be one other service that does something on that:
cpufreqd or something similar depending on the frequency scaler you're
using.

-- 
dott. ing. beso



[gentoo-amd64] local not started?

2008-11-06 Thread Raffaele BELARDI
I use the 'local' service to force the ignore_nice_load parameter to 0:

# cat /etc/conf.d/local.start
echo 0  /sys/devices/system/cpu/cpu0/odemand/ignore_nice_load
(not sure about the path, I am on another pc now)

Recently I noticed that ignore_nice_load is still set to default 1
value, although the 'local' service apparently was started:
# /etc/init.d/local start
* WARNING:  local has already been started.

If I source the local.start from the shell, the value is correctly set.
Any ideas why the the ignore_nice_load is not set to the value I want at
boot?

thanks,

raffaele



Re: [gentoo-amd64] local not started?

2008-11-06 Thread Christoph Mende
On Thu, 06 Nov 2008 17:37:53 +0100
Raffaele BELARDI [EMAIL PROTECTED] wrote:

 # /etc/init.d/local start
 * WARNING:  local has already been started.

try /etc/init.d/local restart and look for errors
just note that this will also run /etc/conf.d/local.stop iirc

-- 
Christoph Mende
Gentoo/AMD64 Operational Lead and Release Engineering
GPG: EE2A 454A 6A3B A2D8 E43B  FF45 2A19 C3B3 6DA0 C1AF


signature.asc
Description: PGP signature