| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
Message-ID: <49B08239.6060404@mit.edu> Date: Thu, 05 Mar 2009 20:54:01 -0500 From: Evan Broder <broder@MIT.EDU> MIME-Version: 1.0 To: debathena@mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I've written /mit/broder/Public/debathena-chroot-daemons.patch as a patch to debathena-reactivate which I think should restart a provided list of daemons within the chroot, and also keep the auto-updater from restarting them outside of the chroot during a login session. For right now, that list of daemons is just "cups" Some implementational tricks: - The cups package was renamed sometime between Hardy and Intrepid from cupsys to cups. This means that we have to look for both startup scripts, and not error out if a script isn't found. - We need a policy-rc.d script both inside and outside the chroot. The one inside the chroot /only/ allows cups to start and stop, and the one outside the chroot allows /anything but/ cups to start and stop. The logic currently prevents daemons from being invoked "out-of-runlevel", as documented in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452645, although I'm not actually sure if that logic is necessary. I haven't tested if it'll run at all, let alone if all of the logic is right, but I think it is. I'm not sure when I'll next be at a cluster machine and able to test, so if someone else has a chance, I'd appreciated it if they could try the new script out. When (fixed as necessary and) applied, this should close off ATN-37. I'm also hoping it will help with ATN-43, but that seems kind of unlikely. - Evan
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |