Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Henrique de Moraes Holschuh
Hi debian-mentors! On Sun, 10 Nov 2002, Henrique de Moraes Holschuh wrote: > On Sun, 10 Nov 2002, Martin Godisch wrote: > > On Sun, Nov 10, 2002 at 09:13:39 -0200, Henrique de Moraes Holschuh wrote: > > > > > On Sun, 10 Nov 2002, Martin Godisch wrote: > > > > > > > May I suggest that dh_installi

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Henrique de Moraes Holschuh
On Sun, 10 Nov 2002, Martin Godisch wrote: > On Sun, Nov 10, 2002 at 09:13:39 -0200, Henrique de Moraes Holschuh wrote: > > > On Sun, 10 Nov 2002, Martin Godisch wrote: > > > > > May I suggest that dh_installinit adds 'debconf (>= 1.2.9)' to > > > ${misc:Depends}? > > > > No. That's a build-depe

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Joey Hess
Martin Godisch wrote: > Since debconf 1.2.9 dpkg-reconfigure calls prerm, which does invoke-rc.d > stop, so I think this would be the correct runtime dependency when > dpkg-reconfigure has to stop a daemon before it can be (re)started in > postinst... I don't see what you mean, and this seems to h

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Joey Hess
Martin Godisch wrote: > On Sat, Nov 09, 2002 at 12:06:58 -0500, Joey Hess wrote: > > > [EMAIL PROTECTED]:~>grep prerm =dpkg-reconfigure > > foreach my $info (['prerm','upgrade', $version], > > May I suggest that dh_installinit adds 'debconf (>= 1.2.9)' to > ${misc:Depends}? What

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Robert Bihlmeyer
Henrique de Moraes Holschuh <[EMAIL PROTECTED]> writes: > > May I suggest that dh_installinit adds 'debconf (>= 1.2.9)' to > > ${misc:Depends}? > > No. That's a build-dependency, you know. There is no runtime dependency. Of course debconf (dpkg-reconfigure) is needed at run time. Are you confu

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Henrique de Moraes Holschuh
Hi debian-mentors! On Sun, 10 Nov 2002, Henrique de Moraes Holschuh wrote: > On Sun, 10 Nov 2002, Martin Godisch wrote: > > On Sun, Nov 10, 2002 at 09:13:39 -0200, Henrique de Moraes Holschuh wrote: > > > > > On Sun, 10 Nov 2002, Martin Godisch wrote: > > > > > > > May I suggest that dh_installi

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Henrique de Moraes Holschuh
On Sun, 10 Nov 2002, Martin Godisch wrote: > On Sun, Nov 10, 2002 at 09:13:39 -0200, Henrique de Moraes Holschuh wrote: > > > On Sun, 10 Nov 2002, Martin Godisch wrote: > > > > > May I suggest that dh_installinit adds 'debconf (>= 1.2.9)' to > > > ${misc:Depends}? > > > > No. That's a build-depe

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Joey Hess
Martin Godisch wrote: > Since debconf 1.2.9 dpkg-reconfigure calls prerm, which does invoke-rc.d > stop, so I think this would be the correct runtime dependency when > dpkg-reconfigure has to stop a daemon before it can be (re)started in > postinst... I don't see what you mean, and this seems to h

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Joey Hess
Martin Godisch wrote: > On Sat, Nov 09, 2002 at 12:06:58 -0500, Joey Hess wrote: > > > joey@dragon:~>grep prerm =dpkg-reconfigure > > foreach my $info (['prerm','upgrade', $version], > > May I suggest that dh_installinit adds 'debconf (>= 1.2.9)' to > ${misc:Depends}? Whatever f

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Robert Bihlmeyer
Henrique de Moraes Holschuh <[EMAIL PROTECTED]> writes: > > May I suggest that dh_installinit adds 'debconf (>= 1.2.9)' to > > ${misc:Depends}? > > No. That's a build-dependency, you know. There is no runtime dependency. Of course debconf (dpkg-reconfigure) is needed at run time. Are you confu

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Henrique de Moraes Holschuh
On Sun, 10 Nov 2002, Martin Godisch wrote: > On Sat, Nov 09, 2002 at 12:06:58 -0500, Joey Hess wrote: > > [EMAIL PROTECTED]:~>grep prerm =dpkg-reconfigure > > foreach my $info (['prerm','upgrade', $version], > > May I suggest that dh_installinit adds 'debconf (>= 1.2.9)' to > ${mi

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Henrique de Moraes Holschuh
On Sun, 10 Nov 2002, Martin Godisch wrote: > On Sat, Nov 09, 2002 at 12:06:58 -0500, Joey Hess wrote: > > joey@dragon:~>grep prerm =dpkg-reconfigure > > foreach my $info (['prerm','upgrade', $version], > > May I suggest that dh_installinit adds 'debconf (>= 1.2.9)' to > ${misc:Dep

Re: dh_installinit and dpkg-reconfigure

2002-11-10 Thread Henrique de Moraes Holschuh
On Sat, 09 Nov 2002, Martin Godisch wrote: > On Sat, Nov 09, 2002 at 08:12:57 -0200, Henrique de Moraes Holschuh wrote: > > On Sat, 09 Nov 2002, Martin Godisch wrote: > > > dh_installinit adds 'invoke-rc.d start' (or: init.d/package start) to > > > postinst, hence, after dpkg-reconfigure is run, po

Re: dh_installinit and dpkg-reconfigure

2002-11-09 Thread Henrique de Moraes Holschuh
On Sat, 09 Nov 2002, Martin Godisch wrote: > On Sat, Nov 09, 2002 at 08:12:57 -0200, Henrique de Moraes Holschuh wrote: > > On Sat, 09 Nov 2002, Martin Godisch wrote: > > > dh_installinit adds 'invoke-rc.d start' (or: init.d/package start) to > > > postinst, hence, after dpkg-reconfigure is run, po

Re: dh_installinit and dpkg-reconfigure

2002-11-09 Thread Joey Hess
Martin Godisch wrote: > I do not upgrade, dpkg-reconfigure doesn't call prerm... Look again. [EMAIL PROTECTED]:~>grep prerm =dpkg-reconfigure foreach my $info (['prerm','upgrade', $version], -- see shy jo pgp58jOS4Ok1X.pgp Description: PGP signature

Re: dh_installinit and dpkg-reconfigure

2002-11-09 Thread Joey Hess
Martin Godisch wrote: > dh_installinit adds 'invoke-rc.d start' (or: init.d/package start) to > postinst, hence, after dpkg-reconfigure is run, postinst will try to > start an already running service, start-stop-daemon will fail, and the > daemon will not reload its new configuration. > > What's t

Re: dh_installinit and dpkg-reconfigure

2002-11-09 Thread Joey Hess
Martin Godisch wrote: > I do not upgrade, dpkg-reconfigure doesn't call prerm... Look again. joey@dragon:~>grep prerm =dpkg-reconfigure foreach my $info (['prerm','upgrade', $version], -- see shy jo msg07790/pgp0.pgp Description: PGP signature

Re: dh_installinit and dpkg-reconfigure

2002-11-09 Thread Joey Hess
Martin Godisch wrote: > dh_installinit adds 'invoke-rc.d start' (or: init.d/package start) to > postinst, hence, after dpkg-reconfigure is run, postinst will try to > start an already running service, start-stop-daemon will fail, and the > daemon will not reload its new configuration. > > What's t

Re: dh_installinit and dpkg-reconfigure

2002-11-09 Thread Henrique de Moraes Holschuh
On Sat, 09 Nov 2002, Martin Godisch wrote: > dh_installinit adds 'invoke-rc.d start' (or: init.d/package start) to > postinst, hence, after dpkg-reconfigure is run, postinst will try to > start an already running service, start-stop-daemon will fail, and the > daemon will not reload its new configu

Re: dh_installinit and dpkg-reconfigure

2002-11-09 Thread Henrique de Moraes Holschuh
On Sat, 09 Nov 2002, Martin Godisch wrote: > dh_installinit adds 'invoke-rc.d start' (or: init.d/package start) to > postinst, hence, after dpkg-reconfigure is run, postinst will try to > start an already running service, start-stop-daemon will fail, and the > daemon will not reload its new configu