public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] New USE flags for lvm2?
@ 2013-02-10 18:37 Tanstaafl
  2013-02-10 18:47 ` Florian Philipp
  0 siblings, 1 reply; 9+ messages in thread
From: Tanstaafl @ 2013-02-10 18:37 UTC (permalink / raw
  To: gentoo-user

I'm prepping for updating some things I've been putting off, and I 
noticed that lvm2 has some new use flags set, and I'm wondering why...

[ebuild     U  ] sys-fs/lvm2-2.02.97-r1 [2.02.88] USE="lvm1 readline 
thin%* udev%* (-clvm) (-cman) (-selinux) -static* -static-libs*" 1,166 kB

The two that are new/green (with asterisks) are -static and -static-libs...

I'm pretty sure that lvm2 was NOT built with either of these, but is 
there a way to to tell what USE flags were used for the currently 
installed package?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] New USE flags for lvm2?
  2013-02-10 18:37 [gentoo-user] New USE flags for lvm2? Tanstaafl
@ 2013-02-10 18:47 ` Florian Philipp
  2013-02-10 19:07   ` Tanstaafl
  0 siblings, 1 reply; 9+ messages in thread
From: Florian Philipp @ 2013-02-10 18:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

Am 10.02.2013 19:37, schrieb Tanstaafl:
> I'm prepping for updating some things I've been putting off, and I
> noticed that lvm2 has some new use flags set, and I'm wondering why...
> 
> [ebuild     U  ] sys-fs/lvm2-2.02.97-r1 [2.02.88] USE="lvm1 readline
> thin%* udev%* (-clvm) (-cman) (-selinux) -static* -static-libs*" 1,166 kB
> 
> The two that are new/green (with asterisks) are -static and -static-libs...
> 
> I'm pretty sure that lvm2 was NOT built with either of these, but is
> there a way to to tell what USE flags were used for the currently
> installed package?
> 

I guess you remember wrongly:
Symbol   Location    Meaning
*        suffix      transition to or from the enabled state
%        suffix      newly added or removed


Read /var/db/pkg/sys-fs/lvm2-2.02.88/IUSE to find out what was enabled.

Regards,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] New USE flags for lvm2?
  2013-02-10 18:47 ` Florian Philipp
@ 2013-02-10 19:07   ` Tanstaafl
  2013-02-10 19:39     ` Florian Philipp
  2013-02-10 19:57     ` Neil Bothwick
  0 siblings, 2 replies; 9+ messages in thread
From: Tanstaafl @ 2013-02-10 19:07 UTC (permalink / raw
  To: gentoo-user

On 2013-02-10 1:47 PM, Florian Philipp <lists@binarywings.net> wrote:
> Am 10.02.2013 19:37, schrieb Tanstaafl:
>> I'm pretty sure that lvm2 was NOT built with either of these, but is
>> there a way to to tell what USE flags were used for the currently
>> installed package?

> I guess you remember wrongly:
> Symbol   Location    Meaning
> *        suffix      transition to or from the enabled state
> %        suffix      newly added or removed
>
> Read /var/db/pkg/sys-fs/lvm2-2.02.88/IUSE to find out what was enabled.

Thanks Florian, yep, you're right...

So, the question becomes, why did these change? I do have /user on a 
separate LVM partition, so, is this something I should worry about?

Actually, a bit of googling suggests I shouldn't have had them enabled 
in the first place?

Thanks again


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] New USE flags for lvm2?
  2013-02-10 19:07   ` Tanstaafl
@ 2013-02-10 19:39     ` Florian Philipp
  2013-02-10 19:57     ` Neil Bothwick
  1 sibling, 0 replies; 9+ messages in thread
From: Florian Philipp @ 2013-02-10 19:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]

Am 10.02.2013 20:07, schrieb Tanstaafl:
> On 2013-02-10 1:47 PM, Florian Philipp <lists@binarywings.net> wrote:
>> Am 10.02.2013 19:37, schrieb Tanstaafl:
>>> I'm pretty sure that lvm2 was NOT built with either of these, but is
>>> there a way to to tell what USE flags were used for the currently
>>> installed package?
> 
>> I guess you remember wrongly:
>> Symbol   Location    Meaning
>> *        suffix      transition to or from the enabled state
>> %        suffix      newly added or removed
>>
>> Read /var/db/pkg/sys-fs/lvm2-2.02.88/IUSE to find out what was enabled.
> 
> Thanks Florian, yep, you're right...
> 
> So, the question becomes, why did these change? I do have /user on a
> separate LVM partition, so, is this something I should worry about?
> 
> Actually, a bit of googling suggests I shouldn't have had them enabled
> in the first place?
> 
> Thanks again
> 

My version of lvm2 (-static) has no dependencies to /usr libraries.

equery files lvm2 | while read line; do test -x "$line" && ldd "$line";
done | awk '{print $3}' | sort -u

Regards,
Florian Philipp



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] New USE flags for lvm2?
  2013-02-10 19:07   ` Tanstaafl
  2013-02-10 19:39     ` Florian Philipp
@ 2013-02-10 19:57     ` Neil Bothwick
  2013-02-10 20:40       ` Tanstaafl
  1 sibling, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2013-02-10 19:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

On Sun, 10 Feb 2013 14:07:38 -0500, Tanstaafl wrote:

> So, the question becomes, why did these change? I do have /user on a 
> separate LVM partition, so, is this something I should worry about?

The static use flag builds a separate lvm.static all-in-one binary
more suitable for use in an initramfs.


-- 
Neil Bothwick

Don't put all your hypes in one home page.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] New USE flags for lvm2?
  2013-02-10 19:57     ` Neil Bothwick
@ 2013-02-10 20:40       ` Tanstaafl
  2013-02-10 20:43         ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: Tanstaafl @ 2013-02-10 20:40 UTC (permalink / raw
  To: gentoo-user

On 2013-02-10 2:57 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Sun, 10 Feb 2013 14:07:38 -0500, Tanstaafl wrote:
>
>> So, the question becomes, why did these change? I do have /user on a
>> separate LVM partition, so, is this something I should worry about?
>
> The static use flag builds a separate lvm.static all-in-one binary
> more suitable for use in an initramfs.

Thanks Neil...

Now that I'm looking at the USE flags that were used for the current 
install, I'm confused...

Here's what IUSE says are enabled for the currently installed lvm2:

readline +static +static-libs clvm cman +lvm1 selinux

But...

emerge output shows:

[ebuild     U  ] sys-fs/lvm2-2.02.97-r1 [2.02.88] USE="lvm1 readline 
thin%* udev%* (-clvm) (-cman) (-selinux) -static* -static-libs*" 1,166 kB

The only ones showing as changed (in green and with asterisks by them) 
are -static and -static-libs...

So, why do clvm, cman and selinux all show as not previously used 
according to emerge output (in blue, with a '-' in front of them?

Confusing...


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] New USE flags for lvm2?
  2013-02-10 20:40       ` Tanstaafl
@ 2013-02-10 20:43         ` Neil Bothwick
  2013-02-11 12:09           ` Tanstaafl
  0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2013-02-10 20:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

On Sun, 10 Feb 2013 15:40:00 -0500, Tanstaafl wrote:

> Here's what IUSE says are enabled for the currently installed lvm2:
> 
> readline +static +static-libs clvm cman +lvm1 selinux

IUSE shows the flags that were available to that build, USE shows the
flags that were used.


-- 
Neil Bothwick

I just took an IQ test. The results were negative.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] New USE flags for lvm2?
  2013-02-10 20:43         ` Neil Bothwick
@ 2013-02-11 12:09           ` Tanstaafl
  2013-02-11 15:15             ` Alan McKinnon
  0 siblings, 1 reply; 9+ messages in thread
From: Tanstaafl @ 2013-02-11 12:09 UTC (permalink / raw
  To: gentoo-user

On 2013-02-10 3:43 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Sun, 10 Feb 2013 15:40:00 -0500, Tanstaafl wrote:
>
>> Here's what IUSE says are enabled for the currently installed lvm2:
>>
>> readline +static +static-libs clvm cman +lvm1 selinux
>
> IUSE shows the flags that were available to that build, USE shows the
> flags that were used.

Ah, thanks for that...

Ok, so the current one was installed with::

amd64 elibc_glibc kernel_linux lvm1 multilib readline static static-libs 
userland_GNU

And the update wants to install with:

USE="lvm1 readline thin%* udev%* (-clvm) (-cman) (-selinux) -static* 
-static-libs*"

So, what is with the differences?

+ thin udev

Why is amd64, elibc_glibc, kernel_linux, multilib & userland_GNU not 
included?

and why omitting

- static, static-libs

?

Just trying to understand why the changes, and want to make sure lvm 
isn't going to end up failing on me the next reboot...

Thanks


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] New USE flags for lvm2?
  2013-02-11 12:09           ` Tanstaafl
@ 2013-02-11 15:15             ` Alan McKinnon
  0 siblings, 0 replies; 9+ messages in thread
From: Alan McKinnon @ 2013-02-11 15:15 UTC (permalink / raw
  To: gentoo-user

On 11/02/2013 14:09, Tanstaafl wrote:
> On 2013-02-10 3:43 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
>> On Sun, 10 Feb 2013 15:40:00 -0500, Tanstaafl wrote:
>>
>>> Here's what IUSE says are enabled for the currently installed lvm2:
>>>
>>> readline +static +static-libs clvm cman +lvm1 selinux
>>
>> IUSE shows the flags that were available to that build, USE shows the
>> flags that were used.
> 
> Ah, thanks for that...
> 
> Ok, so the current one was installed with::
> 
> amd64 elibc_glibc kernel_linux lvm1 multilib readline static static-libs
> userland_GNU
> 
> And the update wants to install with:
> 
> USE="lvm1 readline thin%* udev%* (-clvm) (-cman) (-selinux) -static*
> -static-libs*"
> 
> So, what is with the differences?
> 
> + thin udev
> 
> Why is amd64, elibc_glibc, kernel_linux, multilib & userland_GNU not
> included?
> 
> and why omitting
> 
> - static, static-libs
> 
> ?
> 
> Just trying to understand why the changes, and want to make sure lvm
> isn't going to end up failing on me the next reboot...
> 
> Thanks
> 

The answers to most of the questions you asked are in the ebuild file
and in the ChangeLog. You can find them at

$PORTDIR/sys-fs/lvm2/



amd64, elibc_glibc, kernel_linux, multilib & userland_GNU are not in
emerge output as those are not USE flags in the regular sense of the
word. Don't worry about them, they define the basic settings upon which
portage built your host. Change any of them only at your peril, you will
break things horribly (and keep N pieces, where N is a big number). You
can see the full lot near the end of

emerge --info

-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-02-11 15:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-10 18:37 [gentoo-user] New USE flags for lvm2? Tanstaafl
2013-02-10 18:47 ` Florian Philipp
2013-02-10 19:07   ` Tanstaafl
2013-02-10 19:39     ` Florian Philipp
2013-02-10 19:57     ` Neil Bothwick
2013-02-10 20:40       ` Tanstaafl
2013-02-10 20:43         ` Neil Bothwick
2013-02-11 12:09           ` Tanstaafl
2013-02-11 15:15             ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox