Bug#681176: live-boot: persistence mounting fails if live-persistence.conf contains source=. stanza

2012-07-12 Thread intrigeri
tags 681176 + pending
thanks

Hi,

Nemo Inis wrote (11 Jul 2012 06:13:53 GMT) :
 I believe the bug is a typo at line 1307 of lib/boot/misc-helpers.sh, which
 reads: [...]
 but should read instead: [...]

Fixed in Git, thanks!



-- 
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/85ehog8svn@boum.org



Processed: Re: Bug#681176: live-boot: persistence mounting fails if live-persistence.conf contains source=. stanza

2012-07-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 681176 + pending
Bug #681176 [live-boot] live-boot: persistence mounting fails if 
live-persistence.conf contains source=. stanza
Added tag(s) pending.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
681176: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681176
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
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/handler.s.c.134214663515459.transcr...@bugs.debian.org



Bug#681176: live-boot: persistence mounting fails if live-persistence.conf contains source=. stanza

2012-07-11 Thread Nemo Inis
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