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

Bug#642396: marked as done (please don't fail if non-existing scripts are specified)



Your message dated Fri, 23 Sep 2011 19:04:01 +0000
with message-id <E1R7B2X-0002WC-IU@franck.debian.org>
and subject line Bug#642396: fixed in live-config 3.0~a27-1
has caused the Debian Bug report #642396,
regarding please don't fail if non-existing scripts are specified
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.)


-- 
642396: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642396
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-config
Version: 3.0~a26
Severity: important
Tags: patch


In function Cmdline file existence is ignored during _SCRIPTS list construction.
This leaves live system in unconfigured state. Here is the patch to fix the issue.

commit 1f698315d768ee12b95e20d63775e91bb8738f2c
Author: Stanislav Bogatyrev <realloc@realloc.spb.ru>
Date:   Wed Sep 21 18:50:18 2011 +0400

    Check if config script exists

diff --git a/scripts/config.sh b/scripts/config.sh
index a8c1c00..392f469 100755
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -91,7 +91,9 @@ Cmdline ()
        then
                for _CONFIG in $(echo ${LIVE_CONFIGS} | sed -e 's|,| |g')
                do
-                       _SCRIPTS="${_SCRIPTS} $(ls /lib/live/config/???-${_CONFIG})"
+        if [ -e /lib/live/config/???-${_CONFIG} ];then
+                             _SCRIPTS="${_SCRIPTS} $(ls /lib/live/config/???-${_CONFIG})"
+        fi
                done
        fi

@@ -100,7 +102,9 @@ Cmdline ()
        then
                for _NOCONFIG in $(echo ${LIVE_NOCONFIGS} | sed -e 's|,| |g')
                do
-                       _SCRIPTS="$(echo ${_SCRIPTS} | sed -e "s|$(ls /lib/live/config/???-${_NOCONFIG})||")"
+        if [ -e /lib/live/config/???-${_NOCONFIG} ];then
+                             _SCRIPTS="$(echo ${_SCRIPTS} | sed -e "s|$(ls /lib/live/config/???-${_NOCONFIG})||")"
+        fi
                done
        fi
 }


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Source: live-config
Source-Version: 3.0~a27-1

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:

live-config-doc_3.0~a27-1_all.deb
  to main/l/live-config/live-config-doc_3.0~a27-1_all.deb
live-config-runit_3.0~a27-1_all.deb
  to main/l/live-config/live-config-runit_3.0~a27-1_all.deb
live-config-systemd_3.0~a27-1_all.deb
  to main/l/live-config/live-config-systemd_3.0~a27-1_all.deb
live-config-sysvinit_3.0~a27-1_all.deb
  to main/l/live-config/live-config-sysvinit_3.0~a27-1_all.deb
live-config-upstart_3.0~a27-1_all.deb
  to main/l/live-config/live-config-upstart_3.0~a27-1_all.deb
live-config_3.0~a27-1.debian.tar.gz
  to main/l/live-config/live-config_3.0~a27-1.debian.tar.gz
live-config_3.0~a27-1.dsc
  to main/l/live-config/live-config_3.0~a27-1.dsc
live-config_3.0~a27-1_all.deb
  to main/l/live-config/live-config_3.0~a27-1_all.deb
live-config_3.0~a27.orig.tar.gz
  to main/l/live-config/live-config_3.0~a27.orig.tar.gz



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 642396@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 23 Sep 2011 20:40:09 +0200
Source: live-config
Binary: live-config live-config-doc live-config-runit live-config-systemd live-config-sysvinit live-config-upstart
Architecture: source all
Version: 3.0~a27-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 live-config - Debian Live - System Configuration Scripts
 live-config-doc - Debian Live - System Configuration Scripts (documentation)
 live-config-runit - Debian Live - System Configuration Scripts (runit backend)
 live-config-systemd - Debian Live - System Configuration Scripts (systemd backend)
 live-config-sysvinit - Debian Live - System Configuration Scripts (sysvinit backend)
 live-config-upstart - Debian Live - System Configuration Scripts (upstart backend)
Closes: 642396
Changes: 
 live-config (3.0~a27-1) unstable; urgency=low
 .
   [ Daniel Baumann ]
   * Silencing rmdir calls in makefile.
   * Coding style improvement for if statments in config.sh.
 .
   [ Stanislav Bogatyrev ]
   * Check file existence during _SCRIPTS list construction and make sure
     the resulting list has only unique items (Closes: #642396).
 .
   [ Daniel Baumann ]
   * Using sort -u instead of sort and uniq when sorting scripts.
Checksums-Sha1: 
 ac3f69621dd65d2826ba85809b74f0665d7f3698 1610 live-config_3.0~a27-1.dsc
 9118258ef1f8c3eb091415a30c5a4bff393e7ead 102160 live-config_3.0~a27.orig.tar.gz
 751a46fc4b6d4a20580f36dbf01caab496ef32bf 9485 live-config_3.0~a27-1.debian.tar.gz
 072034c256a5fa3ea27b366219e2e736dfcb7f1e 20410 live-config_3.0~a27-1_all.deb
 840e3c59fc2d8d39ddcaab5c7ee07611cb3f1cf2 41516 live-config-doc_3.0~a27-1_all.deb
 b02783fc07d66aac0c5acb3a8953681b9db8f97b 9226 live-config-runit_3.0~a27-1_all.deb
 772b151de1048bd1eefd3323b71c90103401d153 8964 live-config-systemd_3.0~a27-1_all.deb
 632045eeb252d5b826cecbfdb9d74d0786bb1590 10058 live-config-sysvinit_3.0~a27-1_all.deb
 4410e070197fd5d560c9395baa01e69884d45adf 9908 live-config-upstart_3.0~a27-1_all.deb
Checksums-Sha256: 
 9184cefa9cda22f893482f7f05d2b6e8a7a3fc987392cf53b6cc3aae6f9dda3f 1610 live-config_3.0~a27-1.dsc
 335247019b7597b319dfdbd2d3312bf6b20d23b46544927bbd381418b0bc6fa3 102160 live-config_3.0~a27.orig.tar.gz
 f975fc948ea8755ed4d2cab5b05b336c2886d04d6929f4ebd3989a5719b0e520 9485 live-config_3.0~a27-1.debian.tar.gz
 5e25937ace4c956f272889dfeefc13504a7668b6fc451011a1142f7147daf578 20410 live-config_3.0~a27-1_all.deb
 722ef6a353cea9cb3cbcaf3708244026ff83c9d46838a04890ea4cb01c21e3a2 41516 live-config-doc_3.0~a27-1_all.deb
 350d0b43cb0b239f5e0f9a95479ed0910cf88623c3066fa5d8d66051d3a78841 9226 live-config-runit_3.0~a27-1_all.deb
 bc2b61e56cd3bd568c5f6121eb571a3e634a902c3f129807b1017dc8ae91800e 8964 live-config-systemd_3.0~a27-1_all.deb
 e23423c42c1612ac26e42941cb3395548faf2cc7266123664e8c2e826ff092ec 10058 live-config-sysvinit_3.0~a27-1_all.deb
 facb1ba4055abb0e85d4c352438df8496cc4b5312f9206a5b17c9dc76540bd39 9908 live-config-upstart_3.0~a27-1_all.deb
Files: 
 516faaaf798c240c42fd89fec6b58eae 1610 misc optional live-config_3.0~a27-1.dsc
 9ec3263f520e6e21e967d6bf85e1c9ff 102160 misc optional live-config_3.0~a27.orig.tar.gz
 a9d54f0775a17db8ab3691cbb43c883c 9485 misc optional live-config_3.0~a27-1.debian.tar.gz
 d11c9050ebd22a07aef745a84bb67842 20410 misc optional live-config_3.0~a27-1_all.deb
 a93503d590b45eccf1f7bd7556f4dff9 41516 doc optional live-config-doc_3.0~a27-1_all.deb
 7a2ceb06932e86cc6d57211733201319 9226 misc optional live-config-runit_3.0~a27-1_all.deb
 f5ebd9f55d933d5fb9ed123ed1863e4c 8964 misc optional live-config-systemd_3.0~a27-1_all.deb
 f62bb05c75f6c1694ccb625af40d369e 10058 misc optional live-config-sysvinit_3.0~a27-1_all.deb
 68f6aaa933c963dd2ca0d3e470f8e975 9908 misc optional live-config-upstart_3.0~a27-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk581X4ACgkQ+C5cwEsrK55GJQCfb4ZY6TS1NRLmL3JJH1Pz6fHv
VlAAmwVF60bMfavabiIfPplgXO0/Iy1V
=rViU
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: