/live/persistence.conf

2018-12-05 Thread Rick Lell
Will creating this file in /live directory produce persistence upon reboot?
Also, what opening line is needed for this to work? Or is it its better to
have a persistence partition on the USB on which Debian Live is mounted?
Thank you for your patience with this newbie.


Bug#681176: marked as done (live-boot: persistence mounting fails if live-persistence.conf contains source=. stanza)

2012-07-25 Thread Debian Bug Tracking System
Your message dated Wed, 25 Jul 2012 15:47:12 +
with message-id e1su3ns-0007iu...@franck.debian.org
and subject line Bug#681176: fixed in live-boot 3.0~a37-1
has caused the Debian Bug report #681176,
regarding live-boot: persistence mounting fails if live-persistence.conf 
contains source=. stanza
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 ow...@bugs.debian.org
immediately.)


-- 
681176: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681176
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
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


---End Message---
---BeginMessage---
Source: live-boot
Source-Version: 3.0~a37-1

We believe that the bug you reported is fixed in the latest version of
live-boot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 681...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann dan...@debian.org (supplier of updated live-boot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.8
Date: Wed, 25 Jul 2012 17:18:06 +0200
Source: live-boot
Binary: live-boot live-boot-doc live-boot-initramfs-tools
Architecture: source all
Version: 3.0~a37-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live Project debian-live@lists.debian.org
Changed-By: Daniel Baumann dan...@debian.org
Description: 
 live-boot  - Debian Live - System Boot Scripts
 live-boot-doc - Debian Live - System Boot Scripts (documentation)
 live-boot-initramfs-tools - Debian Live - System Boot Scripts (initramfs-tools 
backend)
Closes: 681176
Changes: 
 live-boot (3.0~a37-1) unstable; urgency=low
 .
   [ Daniel Baumann ]
   * Cleaning up initramfs-tools hook.
 .
   [ Tails developers ]
   * Fixing persistence backward-compatibility mode (Closes: #681176).
 .
   [ Daniel Baumann ]
   * Making swap function self contained.
   * Making read-only function self contained.
   * Making verify-checksums function self contained.
   * Factoring out debug into an own function.
   * Extending read-only parameters to allow specifying custom list of
 devices.
   * Avoid re-access /proc/cmdline in select-eth-device function and use
 internal variable instead.
Checksums-Sha1: 
 69c7bc142245b94d4276dff9f780ec8d933559b3 1383 live-boot_3.0~a37-1.dsc
 c2c846668f8d0956909cad2162080806d195acde 59808 live-boot_3.0~a37.orig.tar.xz
 092660b78b9ed4dd21704455b666a8b89ab40374 20300 
live-boot_3.0~a37-1.debian.tar.xz
 e23204635347aa101af3bd9e15caecd12e9c8d60 46978 live-boot_3.0~a37-1_all.deb
 c3e0e588f07e22a6abd6a4ba6037ba4a02903168 49856 live-boot-doc_3.0~a37-1_all.deb
 591e7269148f1b0ab8e88dc0cf783a4aecbc91fb 24046 
live-boot-initramfs-tools_3.0~a37-1_all.deb
Checksums-Sha256: 
 02e3033f1fa7aef1d23fe93a63860a930d049d8c1623bc901fadde8867de3440 1383 
live-boot_3.0~a37-1.dsc
 55733add3f1dc3d0c3a5fa11aee33770bf68a1087123b2fb37e3100c5c37e53a 59808 
live-boot_3.0~a37.orig.tar.xz
 e5c7b0e8058bdbd57cf8fea93c33a70574e55d8ff62648217bd3a461427440ac 20300 
live-boot_3.0~a37-1.debian.tar.xz
 21a078d62eb106b114d5b8fa624930548cd71e64974a24b392c834744d40db5f 46978 
live-boot_3.0~a37-1_all.deb
 c3d9379dd5c90a429be75ca323969751576d33a2eb484ab8f53cf410596ee537 49856 
live-boot-doc_3.0~a37-1_all.deb

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