Bug#680084: postinst script gets stuck

2012-10-26 Thread intrigeri
tags 680084 + patch thanks intrigeri wrote (30 Sep 2012 09:42:14 GMT) : I can see that too with os-prober installed. TL;DR --- see patch at the bottom of this message. I retried, and I did not see that *the first time*. First time log: $ pgrep -l grub-mount $ sudo update-grub

Bug#680084: postinst script gets stuck

2012-10-26 Thread Christian PERRIER
Quoting intrigeri (intrig...@debian.org): ... else, this script exits, umount is never run, and a dangling grub-mount process is left behind. .../... Impressive analysis and solution. Anyone objecting to /me committing intrigeri's fix? signature.asc Description: Digital signature

Bug#680084: postinst script gets stuck

2012-09-30 Thread intrigeri
found 680084 1.56 thanks Hi, Harald Dunkel wrote (19 Jul 2012 07:42:06 GMT) : Looking at the grub-install: It seems that os-prober (run by update-grub) starts a grub-mount tool that keeps on running, even though the update-grub already did an exit. ps -ef showed me a few of these:

Bug#680084: postinst script gets stuck

2012-07-19 Thread Harald Dunkel
On 07/18/12 16:41, Fabian Greffrath wrote: Hm, does manually adding stop as per http://www.fifi.org/doc/debconf-doc/tutorial.html in the last line in memtest86+.postinst fix the issue? This seems to work. Regards Harri -- To UNSUBSCRIBE, email to

Bug#680084: postinst script gets stuck

2012-07-19 Thread Fabian Greffrath
Am 19.07.2012 08:58, schrieb Harald Dunkel: This seems to work. Fine. I suspect the script to get stuck because of the error message printed by grub-probe to some file descriptor. The grub-invaders package has a very similar postinst script. Could you please install it and test if its

Bug#680084: postinst script gets stuck

2012-07-19 Thread Harald Dunkel
On 07/19/12 09:05, Fabian Greffrath wrote: Fine. I suspect the script to get stuck because of the error message printed by grub-probe to some file descriptor. The grub-invaders package has a very similar postinst script. Could you please install it and test if its postinst script gets

Bug#680084: postinst script gets stuck

2012-07-18 Thread Fabian Greffrath
Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-3-amd64 Found initrd image: /boot/initrd.img-3.2.0-3-amd64 Found memtest86+ image: /memtest86+.bin Found memtest86+ multiboot image: /memtest86+_multiboot.bin grub-probe: error: no such disk. done This looks more like a bug in

Bug#680084: postinst script gets stuck

2012-07-18 Thread Fabian Greffrath
Am 18.07.2012 14:40, schrieb Fabian Greffrath: This looks more like a bug in update-grub2 itself, rather than in memtest86+'s init script. s/init/postinst/ ;) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Bug#680084: postinst script gets stuck

2012-07-18 Thread Harald Dunkel
Hi Fabian, On 07/18/12 14:40, Fabian Greffrath wrote: This looks more like a bug in update-grub2 itself, rather than in memtest86+'s init script. Can you reproduce this by running update-grub2 as root? - Fabian update-grub doesn't get stuck. dpkg -P memtest86+ doesn't get stuck,

Bug#680084: postinst script gets stuck

2012-07-18 Thread Fabian Greffrath
Am 18.07.2012 16:16, schrieb Harald Dunkel: dpkg -P memtest86+ doesn't get stuck, either: Hm, does manually adding stop as per http://www.fifi.org/doc/debconf-doc/tutorial.html in the last line in memtest86+.postinst fix the issue? - Fabian -- To UNSUBSCRIBE, email to

Bug#680084: postinst script gets stuck

2012-07-05 Thread Harald Dunkel
Hi Yann, On 07/04/12 19:56, Yann Dirson wrote: 2. the output of strace -p pid root@ppcl007:~# strace -p 3648 Process 3648 attached - interrupt to quit read(11, In that case, we'll need to know what's hidden behind file descriptor 11. You can use ls -l /proc/pid/fd/ to find out.

Bug#680084: postinst script gets stuck

2012-07-04 Thread Harald Dunkel
On 07/03/12 23:57, Yann Dirson wrote: This seems to show the debconf frontend script not dealing handling the termination of the memtest86+.postinst script. If any, it seems more plausible that the bug would be in debconf. Which debconf version is this ? Are you running squeeze or sid ?

Bug#680084: postinst script gets stuck

2012-07-04 Thread Yann Dirson
On Wed, Jul 04, 2012 at 08:48:59AM +0200, Harald Dunkel wrote: On 07/03/12 23:57, Yann Dirson wrote: This seems to show the debconf frontend script not dealing handling the termination of the memtest86+.postinst script. If any, it seems more plausible that the bug would be in debconf.

Bug#680084: postinst script gets stuck

2012-07-03 Thread Harald Dunkel
Package: memtest86+ Version: 4.20-1.1 Severity: serious The postinst script gets stuck on builing grub.cfg: : Selecting previously unselected package memtest86+. (Reading database ... 29792 files and directories currently installed.) Unpacking memtest86+ (from .../memtest86+_4.20-1.1_amd64.deb)

Bug#680084: postinst script gets stuck

2012-07-03 Thread Yann Dirson
On Tue, Jul 03, 2012 at 03:21:33PM +0200, Harald Dunkel wrote: The postinst script gets stuck on builing grub.cfg: : Selecting previously unselected package memtest86+. (Reading database ... 29792 files and directories currently installed.) Unpacking memtest86+ (from