FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 05-07-2008, 01:15 AM
Guillem Jover
 
Default debhelper, start-stop-daemon -exec, and restarting daemons during upgrade

Hi,

On Tue, 2008-05-06 at 12:49:31 +1000, Craig Sanders wrote:
> On April 26, joeyh wrote:
> > start-stop-daemon behaves as I described when -exec is used, as
> > documented on its man page. At least 1/3 of init scripts run it that
> > way, and would all instantly fail if debhelper were changed. (This
> > number seems to have gone down somewhat, it used to be nearer to 100%.)

> it also implies that a bug report needs to be filed against dpkg because
> 'start-stop-daemon -exec' doesn't properly cope with upgrades.

> it's entirely normal that an executable will be replaced during an
> upgrade.
>
> it's also entirely normal that daemon packages will and should do a
> restart in the postinst rather than stop in prerm and start in postinst.

The test on <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471060#37>
seems bogus to me, as the original file would have been removed at
"postinst configure" time, and s-s-d should work then.

regards,
guillem


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:03 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org