On Sun, May 09, 2010 at 11:21:41PM +0300, Juhapekka Tolvanen wrote: > When I update and upgarade my Debian-packages with apt-get, I run it > in nice value 19. Unfortunately it has this side effect: > > # ps xfo pid,tty,nice,stat,time,command > PID TT NI STAT TIME COMMAND > (Clip) > 13721 ? 19 SNs 00:00:00 /usr/sbin/sshd > > > Maybe this bugreport really belongs to that system-utility, that actually > stops and restarts servers during upgrade.
I'm not sure what we should do about this. invoke-rc.d doesn't seem to sanitise the environment at all, so I imagine nearly all packages have exactly the same bug. Moving to Upstart would fix this, since with Upstart we can instruct the init daemon to start the job rather than having to run the init script as a descendant of the postinst. I wonder if it's really worth going around trying to sanitise the environment all over the place when we should be able to switch to Upstart in the not too distant future anyway? Cheers, -- Colin Watson [[email protected]] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

