[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#776021: marked as done (unblock: cryptsetup/2:1.6.6-5)



Your message dated Tue, 10 Feb 2015 22:51:22 +0100
with message-id <54DA7D5A.1040407@thykier.net>
and subject line Re: Bug#776021: unblock: cryptsetup/2:1.6.6-5
has caused the Debian Bug report #776021,
regarding unblock: cryptsetup/2:1.6.6-5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
776021: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776021
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Subject: unblock: cryptsetup/2:1.6.6-5
Package: release.debian.org
User: release.debian.org@packages.debian.org
Usertags: unblock
Severity: normal

Hi again,

I just uploaded cryptsetup 2:1.6.6-5 to unstable, fixing one single
reported bug, but also another - unreported - much worse bug. The report is:

Bug#773456: [cryptsetup] invoke-rc.d not found on boot

The severity of this bug is *just* 'normal'. But while fixing the bug, I
discovered a far worse bug in the same line of code, which I'd really
like to have fixed in time for jessie. I'm going to explain:

*/ The recently (in last upload, 2:1.6.6-4) introduced grep regex on
   outputof 'status cryptdisks-udev ...' is insufficient. On systems
   that use an init system != upstart but have upstart-bin installed,
   this grep regex can lead to infinitive loops in the boot process.
   [If you want me to, I can open a separate bugreport with rc severity
   regarding this problem.]
*/ Apart from that, the recently (in last upload, 2:1.6.6-4) introduced
   check for an upstart environment is broken. This will result in ugly
   error messages on every system with encrypted devices and separate
   /usr partition. (#773456)
*/ The fix introduced in this upload is very unintrusive. It only
   changes the (before broken) logic to detect an upstart environment
   and additionally fixes the (before insufficient) grep regex to
   detect a currently running cryptdisks-udev (upstart) init script.

The debdiff is attached and here's the full changelog for this upload:

cryptsetup (2:1.6.6-5) unstable; urgency=high

  * debian/cryptdisks.functions: fix the precheck for ubuntu+upstart
    before invoking 'status cryptdisks-udev'. (closes: #773456)
  * debian/cryptdisks.functions: fix the insufficient grep regex for
    detecting a running cryptdisks-udev (upstart) init script.

 -- Jonas Meurer <mejo@debian.org>  Thu, 22 Jan 2015 21:22:08 +0100

unblock cryptsetup/2:1.6.6-5

Cheers,
 jonas

-- System Information:
Debian Release: jessie/sid
  APT prefers utopic-updates
  APT policy: (500, 'utopic-updates'), (500, 'utopic-security'), (500,
'utopic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-29-generic (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

diff -Nru cryptsetup-1.6.6/debian/changelog cryptsetup-1.6.6/debian/changelog
--- cryptsetup-1.6.6/debian/changelog	2014-12-17 14:28:42.000000000 +0100
+++ cryptsetup-1.6.6/debian/changelog	2015-01-22 21:49:31.000000000 +0100
@@ -1,3 +1,12 @@
+cryptsetup (2:1.6.6-5) unstable; urgency=high
+
+  * debian/cryptdisks.functions: fix the precheck for ubuntu+upstart
+    before invoking 'status cryptdisks-udev'. (closes: #773456)
+  * debian/cryptdisks.functions: fix the insufficient grep regex for
+    detecting a running cryptdisks-udev (upstart) init script.
+
+ -- Jonas Meurer <mejo@debian.org>  Thu, 22 Jan 2015 21:22:08 +0100
+
 cryptsetup (2:1.6.6-4) unstable; urgency=medium
 
   [ Simon McVittie ]
diff -Nru cryptsetup-1.6.6/debian/cryptdisks.functions cryptsetup-1.6.6/debian/cryptdisks.functions
--- cryptsetup-1.6.6/debian/cryptdisks.functions	2014-12-08 22:58:47.000000000 +0100
+++ cryptsetup-1.6.6/debian/cryptdisks.functions	2015-01-22 21:20:13.000000000 +0100
@@ -750,7 +750,7 @@
 		# will just be a no-op, but we don't want to defer to the
 		# other job entirely because this is the fallback for fixing
 		# up any ordering-dependent decrypting.
-		invoke-rc.d --quiet cryptdisks-udev status && while status cryptdisks-udev DEVNAME="$dev_match" 2>&1 | grep -q 'start'; do
+		[ -x /sbin/status ] && while /sbin/status cryptdisks-udev DEVNAME="$dev_match" 2>&1 | grep -q "\<start"; do
 			sleep 1
 		done
 		handle_crypttab_line_start "$dst" "$src" "$key" "$opts" <&3 || log_action_end_msg $?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
On 2015-02-10 13:16, Cyril Brulebois wrote:
> Control: tag -1 confirmed
> 
> Jonas Meurer <jonas@freesources.org> (2015-02-06):
>> [...]
> 
> Many thanks!
> 
>> any news on that? Is there anything I can do to help you making the
>> cryptsetup 2:1.6.6-5 transition to jessie happen?
> 
> It only needed my finding and allocating time to Debian work, which I
> haven't been able to do over the last week, sorry about that.
> 
> Let's get that into testing. :)
> 
> Mraw,
> KiBi.
> 

Unblocked, thanks.

~Niels

--- End Message ---

Reply to: