Bug#367052: conffile prompt background option doesn't work
On Thu, May 18, 2006 at 02:46:20PM -0700, Josh Triplett wrote: > Frank Lichtenheld wrote: > > On Sun, May 14, 2006 at 04:43:31AM -0700, Josh Triplett wrote: > >> I can't think of any reason. When I hit Z and press enter, the message > >> gets printed and then the conffile prompt comes right back up. > > > > Can you please try out the pkg at > > http://people.debian.org/~djpig/dpkg_1.13.19.0djpig1_powerpc.deb > > > > It should at least give you a useful error message. > > I don't run powerpc, but I grabbed the source from > http://people.debian.org/~djpig/dpkg_1.13.19.0djpig1.tar.gz and built an > i386 package to test. Ehmm, yeah, sorry for that... > I extensively tested installing, upgrading, downgrading, and conffile > modification, using a local test package, and couldn't seem to reproduce > the problem with either 1.13.19 or 1.13.19.0djpig1 . (By the way, out > of curiosity, what did you add? The only change in .0djpig1 looks > unrelated to conffiles or backgrounding.) Ehhmm, yeah, sorry for that, too. I indeed applied the wrong patch... > This can only occur along the path leading to a SIGTSTP rather than a > shell, which shouldn't occur when running under aptitude since > libapt-pkg sets DPKG_NO_TSTP when invoking dpkg. The only reason for that to go wrong that I could think of out of my head are either something cleaning the environment, like sudo. But it would new to me that aptitude runs "sudo dpkg". Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#367052: conffile prompt background option doesn't work
Frank Lichtenheld wrote: > On Sun, May 14, 2006 at 04:43:31AM -0700, Josh Triplett wrote: >> I can't think of any reason. When I hit Z and press enter, the message >> gets printed and then the conffile prompt comes right back up. > > Can you please try out the pkg at > http://people.debian.org/~djpig/dpkg_1.13.19.0djpig1_powerpc.deb > > It should at least give you a useful error message. I don't run powerpc, but I grabbed the source from http://people.debian.org/~djpig/dpkg_1.13.19.0djpig1.tar.gz and built an i386 package to test. I extensively tested installing, upgrading, downgrading, and conffile modification, using a local test package, and couldn't seem to reproduce the problem with either 1.13.19 or 1.13.19.0djpig1 . (By the way, out of curiosity, what did you add? The only change in .0djpig1 looks unrelated to conffiles or backgrounding.) I had the problem on two separate occasions in the past, but I don't know how those occasions differed from this. I've tried installing the package both separately via dpkg and under aptitude; in the latter case, it now seems to spawn a shell rather than backgrounding. I do recall (and have verified by checking /var/log/aptitude) that both times this issue occurred, I had performed a package upgrade using aptitude. However, when it occurred, I saw the message: Don't forget to foreground (`fg') this process when you're done ! and *not* the message: Type `exit' when you're done. This can only occur along the path leading to a SIGTSTP rather than a shell, which shouldn't occur when running under aptitude since libapt-pkg sets DPKG_NO_TSTP when invoking dpkg. - Josh Triplett signature.asc Description: OpenPGP digital signature
Bug#367052: conffile prompt background option doesn't work
On Sun, May 14, 2006 at 04:43:31AM -0700, Josh Triplett wrote: > I can't think of any reason. When I hit Z and press enter, the message > gets printed and then the conffile prompt comes right back up. Can you please try out the pkg at http://people.debian.org/~djpig/dpkg_1.13.19.0djpig1_powerpc.deb It should at least give you a useful error message. Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ signature.asc Description: Digital signature
Bug#367052: conffile prompt background option doesn't work
Frank Lichtenheld wrote: > On Sat, May 13, 2006 at 12:16:32AM -0700, Josh Triplett wrote: >> The dpkg prompt for a changed conffile offers the option to "background >> this process to examine the situation"; however, choosing this option no >> longer has any effect, other than printing a message: > > Works perfectly well for me. Directly after the message the > following commands gets executed: > kill(-getpgid(0),SIGTSTP); > > Do you know of any reason why this might fail in your case? > If not I can prepare a patch that adds actual error checking to > that peace of code. I can't think of any reason. When I hit Z and press enter, the message gets printed and then the conffile prompt comes right back up. - Josh Triplett signature.asc Description: OpenPGP digital signature
Bug#367052: conffile prompt background option doesn't work
On Sat, May 13, 2006 at 12:16:32AM -0700, Josh Triplett wrote: > The dpkg prompt for a changed conffile offers the option to "background > this process to examine the situation"; however, choosing this option no > longer has any effect, other than printing a message: Works perfectly well for me. Directly after the message the following commands gets executed: kill(-getpgid(0),SIGTSTP); Do you know of any reason why this might fail in your case? If not I can prepare a patch that adds actual error checking to that peace of code. Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#367052: conffile prompt background option doesn't work
Package: dpkg Version: 1.13.19 The dpkg prompt for a changed conffile offers the option to "background this process to examine the situation"; however, choosing this option no longer has any effect, other than printing a message: Configuration file `/etc/ssh/ssh_config' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** ssh_config (Y/I/N/O/D/Z) [default=N] ? Z Don't forget to foreground (`fg') this process when you're done ! Configuration file `/etc/ssh/ssh_config' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** ssh_config (Y/I/N/O/D/Z) [default=N] ? - Josh Triplett signature.asc Description: OpenPGP digital signature