Package: live-boot
Version: 3.0~a35-1
Severity: important

live-boot fails to mount a persistence volume if the volume's live-
persistence.conf contains the "source=." stanza. It wrongly reports an unsafe
custom mount. Since that stanza is also automatically used for compatibility-
mode mounting of old home-rw and live-rw overlays, this bug may affect quite a
few people.

I believe the bug is a typo at line 1307 of lib/boot/misc-helpers.sh, which
reads:
   if echo ${opt_source} | grep -q -e "^/" -e "^\(.*/\)\?\.\.\?\(/.*\)\?$" && [
"${source}" != "." ]
but should read instead:
   if echo ${opt_source} | grep -q -e "^/" -e "^\(.*/\)\?\.\.\?\(/.*\)\?$" && [
"${opt_source}" != "." ]

This change fixed the problem for my wheezy live build.




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120711061353.8173.41558.reportbug@zulu

Reply via email to