Debian Bug report logs - #476294
/usr/bin/lh_chroot_local-packages: fails if packages exist in .

version graph

Package: live-helper; Maintainer for live-helper is Debian Live Project <debian-live@lists.debian.org>;

Reported by: "Michal Suchanek" <michal.suchanek@ruk.cuni.cz>

Date: Tue, 15 Apr 2008 17:03:01 UTC

Severity: normal

Tags: patch

Found in version live-helper/1.0~a43-1

Done: Chris Lamb <chris@chris-lamb.co.uk>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#476294; Package live-helper. Full text and rfc822 format available.

Acknowledgement sent to "Michal Suchanek" <michal.suchanek@ruk.cuni.cz>:
New Bug report received and forwarded. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Michal Suchanek" <michal.suchanek@ruk.cuni.cz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/bin/lh_chroot_local-packages: fails if packages exist in .
Date: Tue, 15 Apr 2008 19:00:20 +0200
Package: live-helper
Version: 1.0~a43-1
Severity: normal
File: /usr/bin/lh_chroot_local-packages


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463406

It appeared again in 1.0~a43, worked with ~41 or ~42.

Actually thereis no way to pass * to Chroot so that it is not expanded.
Either it is quoted and remains so (and the chrooted command does not
work because it receives doubly quoted *) or it is not quoted and gets
expanded in . (and the chrooted commnad does not work either).

Thanks

Michal


-- Package-specific info:

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.3-src (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/bash

Versions of packages live-helper depends on:
ii  debootstrap                   1.0.8      Bootstrap a basic Debian system

live-helper recommends no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#476294; Package live-helper. Full text and rfc822 format available.

Acknowledgement sent to Chris Lamb <chris@chris-lamb.co.uk>:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

Message #10 received at 476294@bugs.debian.org (full text, mbox):

From: Chris Lamb <chris@chris-lamb.co.uk>
To: 476294@bugs.debian.org, 476294-submitter@bugs.debian.org
Subject: Re: /usr/bin/lh_chroot_local-packages: fails if packages exist in .
Date: Tue, 15 Apr 2008 18:22:15 +0100
[Message part 1 (text/plain, inline)]
tags 476294 + patch
thanks

Michal Suchanek wrote:

> Actually thereis no way to pass * to Chroot so that it is not expanded.

Hmm.

  --- live-helper-1.0~a43.orig/helpers/lh_chroot_local-packages
  +++ live-helper-1.0~a43/helpers/lh_chroot_local-packages
   @@ -59,7 +59,7 @@ fi 
          # Installing packages
  -        Chroot "find /root -name *.deb" > chroot/root/local-packages
  +        Chroot "find /root -name \\*.deb" > chroot/root/local-packages
 
          if [ -s chroot/root/local-packages ]
          then

This works as expected, even when there are files in ".".


Regards,

-- 
Chris Lamb, UK                                       chris@chris-lamb.co.uk
                                                            GPG: 0x634F9A20
[signature.asc (application/pgp-signature, attachment)]

Tags added: patch Request was from Chris Lamb <chris@chris-lamb.co.uk> to control@bugs.debian.org. (Tue, 15 Apr 2008 17:24:09 GMT) Full text and rfc822 format available.

Message sent on to "Michal Suchanek" <michal.suchanek@ruk.cuni.cz>:
Bug#476294. Full text and rfc822 format available.

Reply sent to Chris Lamb <chris@chris-lamb.co.uk>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Michal Suchanek" <michal.suchanek@ruk.cuni.cz>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #20 received at 476294-done@bugs.debian.org (full text, mbox):

From: Chris Lamb <chris@chris-lamb.co.uk>
To: 476294-done@bugs.debian.org
Subject: Re: /usr/bin/lh_chroot_local-packages: fails if packages exist in .
Date: Wed, 16 Apr 2008 14:13:12 +0100
[Message part 1 (text/plain, inline)]
Hi,

This was fixed in today's 1.0~a44-1 upload -- I screwed up and put the wrong
bug number in the changelog so it was not closed automatically.


Regards,

-- 
Chris Lamb, UK                                       chris@chris-lamb.co.uk
                                                            GPG: 0x634F9A20
[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 15 May 2008 07:56:16 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 03:51:57 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.