Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Cannot have the default USE='static pam' for sys-apps/busybox
Date: Fri, 23 Jan 2015 17:29:45
Message-Id: CAJ1xhMW-PUnOk4GY-FA_a0NAyAMJ5UHLPPrdJiyp5-Cxs+CB_A@mail.gmail.com
In Reply to: Re: [gentoo-user] Cannot have the default USE='static pam' for sys-apps/busybox by Gevisz
1 On Fri, Jan 23, 2015 at 6:53 PM, Gevisz <gevisz@×××××.com> wrote:
2
3 > On Fri, 23 Jan 2015 17:31:20 +0200 Alexander Kapshuk <
4 > alexander.kapshuk@×××××.com> wrote:
5 >
6 > > On Fri, Jan 23, 2015 at 1:46 PM, Gevisz <gevisz@×××××.com> wrote:
7 > >
8 > > > While doing recent wold updates I get the following message:
9 > > >
10 > > > * Messages for package sys-apps/busybox-1.23.0-r1:
11 > > > * You cannot have USE='static pam'. Assuming static is more important.
12 > > >
13 > > > However, I never set any of those two flags neither in
14 > > > /etc/portage/make.conf
15 > > > no in /etc/portage/packag.use. So, it is set by default.
16 > > >
17 > > > So, why the massage above?
18 > > >
19 > > > Now, after finally setting
20 > > > sys-apps/busybox -pam
21 > > > in /etc/portage/packag.use and rebuilding the package, I have
22 > > >
23 > > > $ equery uses busybox
24 > > > [ Legend : U - final flag setting for installation]
25 > > > [ : I - package is installed with flag ]
26 > > > [ Colors : set, unset ]
27 > > > * Found these USE flags for sys-apps/busybox-1.23.0-r1:
28 > > > U I
29 > > > - - debug : Enable extra debug codepaths, like asserts and
30 > extra
31 > > > output. If you want to get meaningful backtraces see
32 > > > http://www.gentoo.org/proj/en/qa/backtraces.xml
33 > > > + + ipv6 : Add support for IP version 6
34 > > > - - livecd : !!internal use only!! DO NOT SET THIS FLAG
35 > YOURSELF!,
36 > > > used during livecd building
37 > > > - - make-symlinks : Create all the appropriate symlinks in /bin and
38 > /sbin.
39 > > > - - math : Enable math support in gawk (requires libm)
40 > > > - - mdev : Create the appropriate symlink in /sbin and
41 > install
42 > > > mdev.conf and support files
43 > > > - + pam : Add support for PAM (Pluggable Authentication
44 > > > Modules) - DANGEROUS to arbitrarily flip
45 > > > - - savedconfig : Use this to restore your config from
46 > > > /etc/portage/savedconfig ${CATEGORY}/${PN}. Make sure your USE flags
47 > allow
48 > > > for appropriate dependencies
49 > > > - - sep-usr : Support a separate /usr without needing an
50 > initramfs
51 > > > by booting with init=/ginit
52 > > > + + static : Make the system rescue shell (/bin/bb) static so
53 > you
54 > > > can recover even when glibc is broken
55 > > > - - syslog : Enable support for syslog
56 > > > - - systemd : Support systemd
57 > > >
58 > > > which confirms that +pam and +static has been set in busybox by
59 > default.
60 > > >
61 > > >
62 > > >
63 > > >
64 > > STATIC is enabled and PAM is disabled in the ebuild:
65 > >
66 > > grep IUSE `equery -q w busybox`
67 > > IUSE="debug ipv6 livecd make-symlinks math mdev -pam selinux sep-usr
68 > > +static syslog systemd"
69 >
70 > Strange enough. How I arrived to +pam setting if I have not set it in
71 > both /etc/portage/make.conf and /etc/portage/package.use files?
72 >
73 > I had explicitly enabled pam globally in /etc/portage/make.conf. So after
74 reading the portage message about pam having to be disabled, I disabled it
75 explicitly in /etc/portage/package.use.
76
77 Running 'emerge --info | grep pam' might reveal a USE flag setting with pam
78 enabled.

Replies