[Bug 292200] Re: spurious whitespace causes infinite loop in postinst during package upgrade
Steve Langasek
steve.langasek at canonical.com
Fri Apr 13 17:39:34 UTC 2012
by code inspection and a manual dpkg-reconfigure test, I can confirm
that this bug is resolved in precise.
** Changed in: cryptsetup (Ubuntu)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/292200
Title:
spurious whitespace causes infinite loop in postinst during package
upgrade
Status in “cryptsetup” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: cryptsetup
During and since upgrade from hardy to intrepid cryptsetup's
postinstall runs into an infinite loop within the update.initramfs.
root 10195 3.4 0.0 1844 296 pts/0 S 16:33 0:32 /bin/sh /var/lib/dpkg/info/cryptsetup.postinst configure 2:1.0.5-2ubuntu12
root 10077 0.0 0.0 1844 196 pts/0 R 16:48 0:00 \_ /bin/sh /var/lib/dpkg/info/cryptsetup.postinst configure 2:1.0.5-2ubuntu12
root 10078 0.0 0.0 0 0 pts/0 Z 16:48 0:00 \_ [cryptsetup.post] <defunct>
root 10081 0.0 0.0 1844 496 pts/0 R 16:48 0:00 \_ sed s/,.*//
(sudo sh -x /var/lib/dpkg/info/cryptsetup.postinst configure >
cryptsetup-loop 2>&1 attached)
The reason lies with an extra space in the /etc/crypttab-options that causes the loop (see the second comma):
not working: home /dev/sda6 none luks,retry=2, cipher=aes-lrw-benbi
working: home /dev/sda6 none luks,retry=2,cipher=aes-lrw-benbi
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/292200/+subscriptions
More information about the foundations-bugs
mailing list