Your message dated Tue, 24 Apr 2007 08:32:14 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#387069: fixed in live-helper 1.0~a7-1 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: live-package Version: 0.99.5-1 Severity: Wishlist Tags: Patch Hi Please consider adding the following patch which allows using dchroot instead of chroot and therefore allows other users than root to use it. Please check the patch again as there might be some typos. Cheers Steffen--- live-package-0.99.5.orig/src/scripts/14chroot.sh +++ live-package-0.99.5/src/scripts/14chroot.sh @@ -12,7 +12,18 @@ Chroot_exec () { # Execute commands chrooted - chroot "${LIVE_CHROOT}" /usr/bin/env -i HOME="/root" PATH="/usr/sbin:/usr/bin:/sbin:/bin" TERM="${TERM}" ftp_proxy="${LIVE_PROXY_FTP}" http_proxy="${LIVE_PPROXY_HTTP}" DEBIAN_FRONTEND="noninteractive" DEBIAN_PRIORITY="critical" ${1} + if [ -z ${DCHROOT} ] ; then + chroot "${LIVE_CHROOT}" /usr/bin/env -i HOME="/root" PATH="/usr/sbin:/usr/bin:/sbin:/bin" TERM="${TERM}" ftp_proxy="${LIVE_PROXY_FTP}" http_proxy="${LIVE_PPROXY_HTTP}" DEBIAN_FRONTEND="noninteractive" DEBIAN_PRIORITY="critical" ${1} + else + if [ -n ${LIVE_DCHROOT} ] ; then + dchroot -c "${LIVE_DCHROOT}" /usr/bin/env -i HOME="/root" PATH="/usr/sbin:/usr/bin:/sbin:/bin" TERM="${TERM}" ftp_proxy="${LIVE_PROXY_FTP}" http_proxy="${LIVE_PPROXY_HTTP}" DEBIAN_FRONTEND="noninteractive" DEBIAN_PRIORITY="critical" ${1} + else + # in case $LIVE_DCHROOT is not set + echo "The --dchroot option was not set, please specifiy it first." + echo "Make also sure that you mark it in /etc/dchroot.conf ." + exit 1 + fi + fi } Chroot () only in patch2: unchanged: --- live-package-0.99.5.orig/src/main.sh +++ live-package-0.99.5/src/main.sh @@ -45,7 +45,7 @@ { echo "${PROGRAM} - utility to build Debian Live systems" echo - echo "Usage: ${PROGRAM} [-a|--architecture ARCHITECTURE] [-b|--bootappend KERNEL_PARAMETER|\"KERNEL_PARAMETERS\"] [--config FILE] [-c|--chroot DIRECTORY] [-d|--distribution DISTRIBUTION] [--disable-generic-indices] [--enable-generic-indices] [--filesystem FILESYSTEM] [-f|--flavour BOOTSTRAP_FLAVOUR] [--hook COMMAND|\"COMMANDS\"] [--include-chroot FILE|DIRECTORY] [--include-image FILE|DIRECTORY] [-k|--kernel KERNEL_FLAVOUR] [-m|--mirror URL] [--mirror-security URL] [--packages PACKAGE|\"PACKAGES\"] [-p|--package-list LIST|FILE] [--proxy-ftp URL] [--proxy-http URL] [-r|--root DIRECTORY] [-s|--section SECTION|\"SECTIONS\"] [--server-address HOSTNAME|IP] [--server-path DIRECTORY] [--templates DIRECTORY] [-t|--type TYPE]" + echo "Usage: ${PROGRAM} [-a|--architecture ARCHITECTURE] [-b|--bootappend KERNEL_PARAMETER|\"KERNEL_PARAMETERS\"] [--config FILE] [-c|--chroot DIRECTORY] [--dchroot-yes] [--dchroot] [-d|--distribution DISTRIBUTION] [--disable-generic-indices] [--enable-generic-indices] [--filesystem FILESYSTEM] [-f|--flavour BOOTSTRAP_FLAVOUR] [--hook COMMAND|\"COMMANDS\"] [--include-chroot FILE|DIRECTORY] [--include-image FILE|DIRECTORY] [-k|--kernel KERNEL_FLAVOUR] [-m|--mirror URL] [--mirror-security URL] [--packages PACKAGE|\"PACKAGES\"] [-p|--package-list LIST|FILE] [--proxy-ftp URL] [--proxy-http URL] [-r|--root DIRECTORY] [-s|--section SECTION|\"SECTIONS\"] [--server-address HOSTNAME|IP] [--server-path DIRECTORY] [--templates DIRECTORY] [-t|--type TYPE]" echo "Usage: ${PROGRAM} [-h|--help]" echo "Usage: ${PROGRAM} [-u|--usage]" echo "Usage: ${PROGRAM} [-v|--version]" @@ -98,7 +98,7 @@ { echo "${PROGRAM} - utility to build Debian Live systems" echo - echo "Usage: ${PROGRAM} [-a|--architecture ARCHITECTURE] [-b|--bootappend KERNEL_PARAMETER|\"KERNEL_PARAMETERS\"] [--config FILE] [-c|--chroot DIRECTORY] [-d|--distribution DISTRIBUTION] [--disable-generic-indices] [--enable-generic-indices] [--filesystem FILESYSTEM] [-f|--flavour BOOTSTRAP_FLAVOUR] [--hook COMMAND|\"COMMANDS\"] [--include-chroot FILE|DIRECTORY] [--include-image FILE|DIRECTORY] [-k|--kernel KERNEL_FLAVOUR] [-m|--mirror URL] [--mirror-security URL] [--packages PACKAGE|\"PACKAGES\"] [-p|--package-list LIST|FILE] [--proxy-ftp URL] [--proxy-http URL] [-r|--root DIRECTORY] [-s|--section SECTION|\"SECTIONS\"] [--server-address HOSTNAME|IP] [--server-path DIRECTORY] [--templates DIRECTORY] [-t|--type TYPE]" + echo "Usage: ${PROGRAM} [-a|--architecture ARCHITECTURE] [-b|--bootappend KERNEL_PARAMETER|\"KERNEL_PARAMETERS\"] [--config FILE] [-c|--chroot DIRECTORY] [--dchroot-yes] [--dchroot] [-d|--distribution DISTRIBUTION] [--disable-generic-indices] [--enable-generic-indices] [--filesystem FILESYSTEM] [-f|--flavour BOOTSTRAP_FLAVOUR] [--hook COMMAND|\"COMMANDS\"] [--include-chroot FILE|DIRECTORY] [--include-image FILE|DIRECTORY] [-k|--kernel KERNEL_FLAVOUR] [-m|--mirror URL] [--mirror-security URL] [--packages PACKAGE|\"PACKAGES\"] [-p|--package-list LIST|FILE] [--proxy-ftp URL] [--proxy-http URL] [-r|--root DIRECTORY] [-s|--section SECTION|\"SECTIONS\"] [--server-address HOSTNAME|IP] [--server-path DIRECTORY] [--templates DIRECTORY] [-t|--type TYPE]" echo "Usage: ${PROGRAM} [-h|--help]" echo "Usage: ${PROGRAM} [-u|--usage]" echo "Usage: ${PROGRAM} [-v|--version]" @@ -155,7 +155,7 @@ Main () { - ARGUMENTS="`getopt --longoptions root:,type:,architecture:,bootappend:,config:,chroot:,distribution:,filesystem:,flavour:,hook:,include-chroot:,include-image:,kernel:,mirror:,mirror-security:,output:,packages:,package-list:,proxy-ftp:,proxy-http:,section:,server-address:,server-path:,templates:,with-generic-indices,without-generic-indices,with-source,without-source,help,usage,version --name=${PROGRAM} --options r:t:a:b:c:d:f:k:m:o:p:s:huv --shell sh -- [EMAIL PROTECTED]" + ARGUMENTS="`getopt --longoptions root:,type:,architecture:,bootappend:,config:,dchroot-yes:,dchroot:,chroot:,distribution:,filesystem:,flavour:,hook:,include-chroot:,include-image:,kernel:,mirror:,mirror-security:,output:,packages:,package-list:,proxy-ftp:,proxy-http:,section:,server-address:,server-path:,templates:,with-generic-indices,without-generic-indices,with-source,without-source,help,usage,version --name=${PROGRAM} --options r:t:a:b:c:d:f:k:m:o:p:s:huv --shell sh -- [EMAIL PROTECTED]" if [ "${?}" != "0" ] then @@ -192,6 +192,14 @@ LIVE_CHROOT="${2}"; shift 2 ;; + --dchroot-yes) + DCHROOT="yes"; + ;; + + --dchroot) + LIVE_DCHROOT="${2}"; shift 2 + ;; + -d|--distribution) case "${2}" in "${CODENAME_OLDSTABLE}")pgpNdoiMi1BCn.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: live-helper Source-Version: 1.0~a7-1 We believe that the bug you reported is fixed in the latest version of live-helper, which is due to be installed in the Debian FTP archive: live-helper_1.0~a7-1.diff.gz to pool/main/l/live-helper/live-helper_1.0~a7-1.diff.gz live-helper_1.0~a7-1.dsc to pool/main/l/live-helper/live-helper_1.0~a7-1.dsc live-helper_1.0~a7-1_all.deb to pool/main/l/live-helper/live-helper_1.0~a7-1_all.deb live-helper_1.0~a7.orig.tar.gz to pool/main/l/live-helper/live-helper_1.0~a7.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 [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Daniel Baumann <[EMAIL PROTECTED]> (supplier of updated live-helper 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 [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 23 Apr 2007 00:00:00 +0200 Source: live-helper Binary: live-helper Architecture: source all Version: 1.0~a7-1 Distribution: unstable Urgency: medium Maintainer: Debian Live <debian-live-devel@lists.alioth.debian.org> Changed-By: Daniel Baumann <[EMAIL PROTECTED]> Description: live-helper - Debian Live helper programs Closes: 387069 394334 410147 Changes: live-helper (1.0~a7-1) unstable; urgency=medium . * New upstream release: - make-live unmounts proc and sys on exit and failures (Closes: #394334, #410147). - supporting sudo (Closes: #387069). Files: 3f145a8f5723a6e7e5049784aeabddd1 753 misc optional live-helper_1.0~a7-1.dsc f4874bc702510424b4db28cc2eeadfa1 1901995 misc optional live-helper_1.0~a7.orig.tar.gz c3cf3a2151b1e5591291c2cbbddde7bc 5134 misc optional live-helper_1.0~a7-1.diff.gz 07e48f916f3e7c2d3f90bdc641066fdc 1847078 misc optional live-helper_1.0~a7-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGLbeZ+C5cwEsrK54RAviOAJ0T9y0QiyazVMfuXGhBM9HgH2S+kACgpzRG HJUm/x21r0oQe+31hI6C2gE= =Qs0v -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Debian-live-devel mailing list Debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel