public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How and whether to take action on elog message from sys-fs/lvm2-2.02.73
Date: Fri, 27 Aug 2010 19:59:26 +0200	[thread overview]
Message-ID: <201008271959.26677.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <AANLkTi=QBnECJT-yGSDFVGCqczvAU_g=hf9=1Y86Bq_g@mail.gmail.com>

Apparently, though unproven, at 18:55 on Friday 27 August 2010, Kevin O'Gorman 
did opine thusly:

> I read the logs, but it doesn't always help.  This one apparently used to
> build statically,
> and is now using shared libraries.  Here's the message:
> =======================================================
> *Subject:* [portage] ebuild log for sys-fs/lvm2-2.02.73 on
> treat.kosmanor.com
> 
> LOG: setup
> Warning, we no longer overwrite /sbin/lvm and /sbin/dmsetup with
> their static versions. If you need the static binaries,
> you must append .static the filename!
> =======================================================
> **
> It's not clear to me that I would need this package when dynamically
> loading is inactive,
> partly because I don't think that happens -- /usr/lib is not on a separate
> partition, so
> it's always there.
> 
> Leaving that aside, the message does not state *which* filename to append
> ".static" to,
> and where to change it, so I'm baffled as to how to take action on this
> message, even
> if I thought it important to do.
> 
> Anyone have a clue?


I should think it's quite obvious actually. The elog mentions /usr/lib 
nowhere, it does mention /sbin. It also explicitly mentions two filenames:

/sbin/lvm
/sbin/dmsetup

then says that they are no longer overwritten with static versions. So, 
presumably, /sbin/{lvm|dmsetup} exists (probably statically linked), and the 
ebuild writes dynamically linked versions in their place. If you want static 
versions, you must rename the two old files to lvm.static and dmsetup.static.

It is not a problem to have these binaries dynamically linked as

a. they are in /sbin and /lib which by convention are mandated to be on the 
same partition as / and therefore always available,
b. /usr/ is referenced nowhere. Witness:

nazgul ~ # ldd /sbin/lvm
        linux-vdso.so.1 =>  (0x00007ffffa3ff000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007ff2c5aed000)
        libdevmapper-event.so.1.02 => /lib/libdevmapper-event.so.1.02 
(0x00007ff2c58e7000)
        libdevmapper.so.1.02 => /lib/libdevmapper.so.1.02 (0x00007ff2c56c1000)
        libreadline.so.6 => /lib/libreadline.so.6 (0x00007ff2c547c000)
        libm.so.6 => /lib/libm.so.6 (0x00007ff2c51f9000)
        libudev.so.0 => /lib/libudev.so.0 (0x00007ff2c4feb000)
        libc.so.6 => /lib/libc.so.6 (0x00007ff2c4c74000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff2c5cf1000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x00007ff2c4a23000)
nazgul ~ # ldd /sbin/dmsetup 
        linux-vdso.so.1 =>  (0x00007fff925ff000)
        libdevmapper.so.1.02 => /lib/libdevmapper.so.1.02 (0x00007fb0e5a8d000)
        libudev.so.0 => /lib/libudev.so.0 (0x00007fb0e587f000)
        libc.so.6 => /lib/libc.so.6 (0x00007fb0e5508000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb0e5cb3000)

-- 
alan dot mckinnon at gmail dot com



  reply	other threads:[~2010-08-27 18:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-27 16:55 [gentoo-user] How and whether to take action on elog message from sys-fs/lvm2-2.02.73 Kevin O'Gorman
2010-08-27 17:59 ` Alan McKinnon [this message]
2010-08-27 18:07 ` felix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201008271959.26677.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox