[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#225465: debian-policy: packages must give choice to not start at boot, via debconf



On Mon, Dec 29, 2003 at 09:47:13PM -0800, Vincent Bernat wrote:
> > . /etc/default/package # this contains "RUN_package_AT_BOOT"
> > test -z "$RUN_package_AT_BOOT" && echo $0 | grep -q '^S' && exit 0
> After  an upgrade,  the  package will  be  started, even  if it is not
> running. There  is    no  improvement over  not   making  symlinks  in
> /etc/rc*.d.

Gotcha!, that's a problem.

Now I'm wondering: since almost all daemons use start-stop-daemon, why
can't they just check if the daemon is actually running and restart it
_only_ if it is runing?

Wouldn't it be a reasonable start/stop policy? It follows the principle
of touching as few as possible the current environment during debian
upgrades.

CHeers.

-- 
^Stefano Zacchiroli -- Master in Computer Science @ Uni. Bologna, Italy$
^zack@{cs.unibo.it,debian.org,bononia.it} -- http://www.bononia.it/zack$
^Frequentando il mio maestro mi ero reso conto [.] che la logica poteva$
^servire a molto a condizione di entrarci dentro e poi di uscirne -Adso$

Attachment: signature.asc
Description: Digital signature


Reply to: