Debian Bug report logs - #661871
lb_chroot_dpkg symlinks /bin/true from host system into chroot when diverting flash-kernel

Package: live-build; Maintainer for live-build is Live Systems Maintainers <debian-live@lists.debian.org>; Source for live-build is src:live-build.

Reported by: "Cody A.W. Somerville" <cody.somerville@canonical.com>

Date: Fri, 2 Mar 2012 05:48:02 UTC

Severity: normal

Tags: moreinfo

Done: "Cody A.W. Somerville" <cody.somerville@canonical.com>

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 Project <debian-live@lists.debian.org>:
Bug#661871; Package live-build. (Fri, 02 Mar 2012 05:48:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Cody A.W. Somerville" <cody.somerville@canonical.com>:
New Bug report received and forwarded. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Fri, 02 Mar 2012 05:48:05 GMT) Full text and rfc822 format available.

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

From: "Cody A.W. Somerville" <cody.somerville@canonical.com>
To: submit@bugs.debian.org
Subject: lb_chroot_dpkg symlinks /bin/true from host system into chroot when diverting flash-kernel
Date: Fri, 02 Mar 2012 00:44:57 -0500
Package: live-build

lb_chroot_dpkg symlinks /bin/true from the host system into the chroot 
after diverting /usr/sbin/flash-kernel. This is problematic if the 
(E)ABI between the host system and chroot system are incompatible (eg. 
armel host and armhf chroot)as the binary will not be executable and 
thus most likely cause the build to fail if flash-kernel is called 
(which it will be if flash-kernel is installed since it installs 
initramfs-tools hook, which is probably the case when doing an ARM image 
build).




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#661871; Package live-build. (Fri, 02 Mar 2012 08:18:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel.baumann@progress-technologies.net:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Fri, 02 Mar 2012 08:18:11 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: "Cody A.W. Somerville" <cody.somerville@canonical.com>
Cc: 661871@bugs.debian.org
Subject: Re: Bug#661871: lb_chroot_dpkg symlinks /bin/true from host system into chroot when diverting flash-kernel
Date: Fri, 02 Mar 2012 09:07:42 +0100
tag 661871 moreinfo
thanks

On 03/02/2012 06:44 AM, Cody A.W. Somerville wrote:
> lb_chroot_dpkg symlinks /bin/true from the host system into the chroot
> after diverting /usr/sbin/flash-kernel.

i don't think so.

  ln -s /bin/true chroot/usr/sbin/flash-kernel

creates a *symbolic* link in chroot/usr/sbin/flash-kernel pointing to
/bin/true, which when being used in the chroot references /bin/true
within the chroot.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/




Added tag(s) moreinfo. Request was from Daniel Baumann <daniel.baumann@progress-technologies.net> to control@bugs.debian.org. (Fri, 02 Mar 2012 08:18:13 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#661871; Package live-build. (Fri, 02 Mar 2012 08:36:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel.baumann@progress-technologies.net:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Fri, 02 Mar 2012 08:36:03 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: "Cody A.W. Somerville" <cody.somerville@canonical.com>
Cc: 661871@bugs.debian.org
Subject: Re: Bug#661871: lb_chroot_dpkg symlinks /bin/true from host system into chroot when diverting flash-kernel
Date: Fri, 02 Mar 2012 09:34:19 +0100
On 03/02/2012 09:07 AM, Daniel Baumann wrote:
> i don't think so.

hrm, bad inline reply to your original mail.. to be precice, the 'i
don't think so' is ment as in 'your original observation is correct, but
not the conclusion'.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/




Reply sent to "Cody A.W. Somerville" <cody.somerville@canonical.com>:
You have taken responsibility. (Tue, 13 Mar 2012 19:51:11 GMT) Full text and rfc822 format available.

Notification sent to "Cody A.W. Somerville" <cody.somerville@canonical.com>:
Bug acknowledged by developer. (Tue, 13 Mar 2012 19:51:11 GMT) Full text and rfc822 format available.

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

From: "Cody A.W. Somerville" <cody.somerville@canonical.com>
To: 661871-done@bugs.debian.org
Date: Tue, 13 Mar 2012 15:46:52 -0400
Right, sorry - brainfart. Symlink created is symbolic. :)




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 11 Apr 2012 07:45:04 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: Sat Apr 19 06:09:06 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.