[Bug 292200] Re: spurious whitespace causes infinite loop in postinst during package upgrade

Jean-Louis Dupond jean-louis at dupond.be
Fri Apr 13 13:07:41 UTC 2012


Thank you for taking the time to report this bug and helping to make
Ubuntu better. We are sorry that we do not always have the capacity to
look at all reported bugs in a timely manner. There have been many
changes in Ubuntu since that time you reported the bug and your problem
may have been fixed with some of the updates. It would help us a lot if
you could test it on a currently supported Ubuntu version. When you test
it and it is still an issue, kindly upload the updated logs by running
apport-collect <bug #292200> and any other logs that are relevant for
this particular issue.

** Changed in: cryptsetup (Ubuntu)
       Status: Triaged => Incomplete

-- 
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:
  Incomplete

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