Raffaele BELARDI <[EMAIL PROTECTED]> posted [EMAIL PROTECTED],
excerpted below, on  Fri, 07 Nov 2008 10:35:02 +0100:

> 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?

One easy thing to try, for debugging, is to cat the sys file immediately 
before and after the echo/write.  Of course, you'll want the system set 
so no fancy splash screens (or an immediate boot to X) hide the output, 
but that should really be the default for someone hardcore enough to have 
chosen Gentoo.  I seem to also remember a "quiet-boot" parameter of some 
sort in /etc/rc.conf or /etc/conf.d/rc, that you may need to turn off if 
it interferes with debugging.  However, it's off by default so unless you 
turned it on you should be fine.

You can also try set -x (or -v) before, and set +x (or +v) after.  Those 
tend to be useful debugging tricks on anything bash script based, as the 
initscripts are.

I generally run the newer baselayout/openrc stuff (and am running it now, 
thus I don't remember and can't easily check settings like that quite-
boot option I mentioned), often while it's still somewhat buggy, and have 
traced and filed several bugs using tricks like the above to let me know 
what's going on.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to