On Tue, 19 Jun 2012 12:23:45 +0200, Goswin von Brederlow wrote: > Tomas Pospisek writes: > >> On Mon, 18 Jun 2012 14:10:46 +0100, Ben Hutchings wrote: >>> On Mon, 2012-06-18 at 20:40 +0800, Paul Wise wrote: >>>> On Mon, Jun 18, 2012 at 5:40 PM, Tomas Pospisek wrote: >>>> >>>> > I want to announce restart-services here [1][2]. It's a script >>>> > that tries to restart all services that have had their >>>> > dependency packages updated. This is primarily useful when >>>> > security-relevant libraries get security releases. >>>> > >>>> > It's using checkrestart from the debian-goodies package to do >>>> > most of its work. >>>> > >>>> > Together with the unattended-upgrades package it is saving me >>>> > a lot of system maintenance time, thus I am announcing it here >>>> > in the hope that it will save others a lot of time as well. >>>> >>>> Sounds useful, maybe put it in the debian-goodies package? >> >> I've proposed this to Javier [3] and it's been quite well received :-) >> >>> What, yet another feature reserved for those in the know? Surely we >>> should be doing this by default. >> >> I agree. Could you suggest a way forward? Currently I'm aiming for >> debian-goodies, however maybe unattended-upgrades would be a better fit. >> However I think really it should go into apt-level inftrastructure. > > I want to automatically restart services so that / and /usr can be > remounted read-only again. But I don't want unattended upgrades. So for > me debian-goddies is a better fit. Easy enough to add it then to the > apt config.
Point taken. However Ben argued, if I interpret him correctly, that services that depend on something (a library), should be restarted by default if that dependency gets updated and the user should not be required to install an "obscure" package to have that sane default behavior. This implies that an "apt-get install library" needs to trigger that restart. Which means that apt-get needs to depend on restart-services. So either restart-services and checkrestart should go into the apt package, or apt needs to depend on/recommend debian-goodies, which would currently pull in python, perl, curl, dialog and their respective dependencies. The later may be a technically working solution, but from a conceptual and a KISS point of view doesn't make sense to me. Is my conclusion correct so far? So if we want a "clean" solution, then checkrestart/restart-services would need to move into apt and get rid of the non-essential dependencies (get rewritten in shell or C). ? *t >> [3] http://bugs.debian.org/676509 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/dd25736bb03f21cb838910bbfd35c...@mail.sp-metanet