[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



OoO En cette  nuit  nuageuse du mardi   30 décembre 2003, vers  01:36,
Stefano Zacchiroli <zack@debian.org> disait:

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

Most daemons are stopped  at some point  (in preinst),  then restarted
later (in  postinst). The implementation  then needs to keep  trace of
what was running in some file.

But definitely, I think it should be considered something like that.
-- 
printk(KERN_WARNING "%s: Short circuit detected on the lobe\n",
dev->name);
	2.4.0-test2 /usr/src/linux/drivers/net/tokenring/lanstreamer.c

Attachment: pgpvGr7uttOl2.pgp
Description: PGP signature


Reply to: