Bug#343714: Cannot use evmsn from initrd due to missing library

2005-12-17 Thread J.H.M. Dassen (Ray)
Package: evms-bootdebug
Version: 2.5.3-7
Severity: important

To boot my current kernel, I generated an initrd per
/usr/share/doc/evms-bootdebug/README.Debian . When booting this kernel with
that initrd, evmsn could not be used from the initrd, due to a missing
libncurses.so.5.

Looking at /usr/share/initramfs-tools/hooks/evms_bootdebug, it does not take
into account the dependencies of the binaries (like evmsn or the fscks)
which it copies.

initiramfs-tools' /usr/share/initramfs-tools/hook-functions includes a
copy_exec function which appears to copy binaries including the libraries
they depend on. Please use that function in
/usr/share/initramfs-tools/hooks/evms_bootdebug to copy the binaries so that
the libraries they depend on will be available in the initrd.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (800, 'unstable'), (750, 'experimental'), (500, 
'testing-proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.4
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages evms-bootdebug depends on:
ii  evms-cli  2.5.3-7Enterprise Volume Management Syste
ii  evms-ncurses  2.5.3-7Enterprise Volume Management Syste
ii  initramfs-tools   0.44   tools for generating an initramfs

evms-bootdebug recommends no packages.

-- debconf-show failed
-- 
Obsig: developing a new sig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#343714: Cannot use evmsn from initrd due to missing library

2005-12-17 Thread Steinar H. Gunderson
On Sat, Dec 17, 2005 at 03:56:56PM +0100, J.H.M. Dassen (Ray) wrote:
 To boot my current kernel, I generated an initrd per
 /usr/share/doc/evms-bootdebug/README.Debian . When booting this kernel with
 that initrd, evmsn could not be used from the initrd, due to a missing
 libncurses.so.5.

Hm, odd, it works fine here. I'll probably revisit this when I get to move
the initramfs-tools hooks over to evms, but ATM I'm blocked by the need to
fix my critical bugs in stable, which means in practice I can't make too big
changes in the evms package in unstable :-/

 Looking at /usr/share/initramfs-tools/hooks/evms_bootdebug, it does not take
 into account the dependencies of the binaries (like evmsn or the fscks)
 which it copies.

Note that this happens after-the-fact by more recent initramfs-tools, using
mklibs; copy_exec is deprecated.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#343714: Cannot use evmsn from initrd due to missing library

2005-12-17 Thread J.H.M. Dassen (Ray)
On Sat, Dec 17, 2005 at 16:18:36 +0100, Steinar H. Gunderson wrote:
 On Sat, Dec 17, 2005 at 03:56:56PM +0100, J.H.M. Dassen (Ray) wrote:
  When booting this kernel with that initrd, evmsn could not be used
  from the initrd, due to a missing libncurses.so.5.
 
 Hm, odd, it works fine here.

I got an initrd with the contents as attached (l); with the patch I just
submitted, things work fine (l2).

 I'll probably revisit this when I get to move the initramfs-tools hooks
 over to evms, but ATM I'm blocked by the need to fix my critical bugs in
 stable, which means in practice I can't make too big changes in the evms
 package in unstable :-/

That's unfortunate.

  Looking at /usr/share/initramfs-tools/hooks/evms_bootdebug, it does not
  take into account the dependencies of the binaries (like evmsn or the
  fscks) which it copies.
 
 Note that this happens after-the-fact by more recent initramfs-tools, using
 mklibs; copy_exec is deprecated.

Where would one find the newer versions? I'm using 0.44 which is the current
version in sid, and there isn't a newer one in experimental.

Greetings,
Ray
-- 
Scary piece of history:
`The very first use of Unix in the real business of Bell Labs was to type
and produce patent applications'
Dennis Ritchie in http://cm.bell-labs.com/cm/cs/who/dmr/odd.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#343714: Cannot use evmsn from initrd due to missing library

2005-12-17 Thread Steinar H. Gunderson
On Sat, Dec 17, 2005 at 04:24:54PM +0100, J.H.M. Dassen (Ray) wrote:
 Note that this happens after-the-fact by more recent initramfs-tools, using
 mklibs; copy_exec is deprecated.
 Where would one find the newer versions? I'm using 0.44 which is the current
 version in sid, and there isn't a newer one in experimental.

Heh, it looks like they've actually reverted it in 0.39:

  * Revert the mklibs-small usage patch - reduces needed dependencies:
hook-fuctions: Readds copy_exec.
mkinitramfs, hooks/{evms,lvm,md}: Use copy_exec.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]