Your message dated Tue, 07 Jun 2016 16:44:38 +0000
with message-id <e1bak7k-00056q...@franck.debian.org>
and subject line Bug#817831: fixed in live-config 5.20160607
has caused the Debian Bug report #817831,
regarding [live-config] configuration file placed in /live/config.conf is not
read while in persistence mode
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.)
--
817831: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817831
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: live-config
Version: 5.20151121
Severity: important
--- Please enter the report below this line. ---
If booting with persistence mode, then the /live/config.conf file is no
longer accessible and used by the live-config frontend.
Instead, if we boot in persistence with configuration file placed in
/etc/live/config.conf everything's fine.
Exploring frontend source code at line 44-45, we can see that the
searching directories are :
* /etc/live/config.conf
* /etc/live/config.conf.d/*.conf
* /lib/live/mount/medium/live/config.conf
* /lib/live/mount/medium/live/config.conf.d/*.conf
But, in persistence mode, the medium path IS NOT /lib/live/mount/medium
but /lib/live/mount/persistence/sdXX
By the way, the frontend CAN NOT access configuration file.
The workaround is to allow searching in
/lib/live/mount/persistence/*/live/config.conf OR
/lib/live/mount/persistence/*/live/config.conf.d/*.conf
Grégory DAVID
--- System information. ---
Architecture: amd64
Kernel: Linux 4.4.0-1-amd64
Debian Release: stretch/sid
500 unstable debian.mirrors.ovh.net
--- Package information. ---
Package's Depends field is empty.
Package's Recommends field is empty.
Package's Suggests field is empty.
--
DAVID Grégory
02.43.82.33.49
d...@groolot.net
Compositeur de musique électronique
Artiste numérique
Directeur artistique des projets Groolot en vrai et Plébiscite
http://www.plebiscite.it
(Les Hommes construisent trop de murs et pas assez de ponts)
http://en-vrai.groolot.net
(Poésie électronique post-industrielle)
http://tchernobyl.groolot.net
(Installation radioactive)
http://vilain.groolot.net
(Logiciel de mapping vidéo)
GPG : 0x4437F8A1
From 18952868d7e2f1c71b3492c819cb2141d4a88a5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9gory=20DAVID?= <groo...@groolot.net>
Date: Thu, 10 Mar 2016 16:10:36 +0100
Subject: [PATCH] Search and read live-config file(s) configuration from medium
(live image or other device) in persistence mode
---
frontend/live-config | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/frontend/live-config b/frontend/live-config
index 8c70c71..e46e311 100755
--- a/frontend/live-config
+++ b/frontend/live-config
@@ -42,7 +42,8 @@ _COMPONENTS="$(ls /lib/live/config/*)"
# Reading configuration files from filesystem and live-media
for _FILE in /etc/live/config.conf /etc/live/config.conf.d/*.conf \
- /lib/live/mount/medium/live/config.conf /lib/live/mount/medium/live/config.conf.d/*.conf
+ /lib/live/mount/medium/live/config.conf /lib/live/mount/medium/live/config.conf.d/*.conf \
+ /lib/live/mount/persistence/*/live/config.conf /lib/live/mount/persistence/*/live/config.conf.d/*.conf
do
if [ -e "${_FILE}" ]
then
--
2.7.0
--- End Message ---
--- Begin Message ---
Source: live-config
Source-Version: 5.20160607
We believe that the bug you reported is fixed in the latest version of
live-config, 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 817...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Raphaël Hertzog <hert...@debian.org> (supplier of updated live-config 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...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 07 Jun 2016 16:30:13 +0200
Source: live-config
Binary: live-config live-config-doc live-config-systemd live-config-sysvinit
Architecture: source
Version: 5.20160607
Distribution: unstable
Urgency: medium
Maintainer: Live Systems Maintainers <debian-live@lists.debian.org>
Changed-By: Raphaël Hertzog <hert...@debian.org>
Description:
live-config - Live System Configuration Components
live-config-doc - Live System Configuration Components (documentation)
live-config-systemd - Live System Configuration Components (systemd backend)
live-config-sysvinit - Live System Configuration Components (sysvinit backend)
Closes: 799359 816201 817831 824197
Changes:
live-config (5.20160607) unstable; urgency=medium
.
* Team upload.
* No longer manually start the getty@* services. There is systemd-logind
already taking care of this at runtime when the user switches to the
corresponding VT. Furthermore systemd-logind is smarter since it will
avoid running it on an already used VT (such as vt1 which is nowadays
used by gdm3). This also gets rid of the undesirable boot delay that
was likely introduced by one of the above conflicts.
* Make live-config-systemd the default backend.
* Properly handle hwclock set to local time. Closes: #824197
Thanks to Tom Jampen <t...@cryptography.ch> for the patch.
* Fix timezone configuration by dropping /etc/localtime so that
tzdata config script is forced to recreate it from /etc/timezone.
Closes: #816201 Thanks to Gregory DAVID <groo...@groolot.net> for
the analysis.
* Also look for live/config.conf in /lib/live/mount/persistence/*/
Closes: #817831 Thanks to Gregory DAVID <groo...@groolot.net>
for the patch.
* Automatically export variables set in live-config configuration
files so that components inherit from them. Closes: #799359
Thanks to Lukas Schwaighofer <lu...@schwaighofer.name> for the patch.
* Drop override and options for XZ compression, it has been the default for
a while.
* Bump Standards-Version to 3.9.8.
Checksums-Sha1:
05821d30d45f46d0cad3afb592a6de2a2d7b977e 1602 live-config_5.20160607.dsc
6f5d55b701d4eae0b47eaec92bea2d608c4ea537 74732 live-config_5.20160607.tar.xz
Checksums-Sha256:
5133090a39b3c05e4bce1f3373998653f4565f6be7129b51e7b2beba607c96a1 1602
live-config_5.20160607.dsc
f9fd6caf0bc8b4254f4727a4ba937d497dbbb22b85ee010d08ebd13d69f034f3 74732
live-config_5.20160607.tar.xz
Files:
edb49154efccf1a12c8480212b0670d7 1602 misc optional live-config_5.20160607.dsc
60d23c782b61271680b93f8547507945 74732 misc optional
live-config_5.20160607.tar.xz
-----BEGIN PGP SIGNATURE-----
Comment: Signed by Raphael Hertzog
iQEcBAEBCgAGBQJXVvEVAAoJEAOIHavrwpq5KMoH/RZgUhwohGfMJYnIZkBYgHp5
+wi39ljU0bVN67N3OkNBsgu+SilNL8P8iU4eSV6vyhj+TWYX14G/nCgc0MormyHJ
9ertLrmBrNucxb16UH79frbh/d4xSCG3z9ThsL/iePOJl0EAZzzg6HSCcOXNvvKG
W4GJgnX5/AfH9cUGVs9ZoYlTzlMWDxFYSroylxNo3WEh7eiYWzAfCXueYDg1QMLF
sgT2sZYSaKkYkz+xJASzJgY+fDcBqkSNxwVp3riAz1MFl3lsrMx7kmJXQXTk/S6m
/s5t6cA58cvLjQgaHRlojbFITHrWHso+lg22iF5RZOg5AeC4ZwfVyS9XO77xs+o=
=0BKA
-----END PGP SIGNATURE-----
--- End Message ---