On Fri, Jan 23, 2015 at 6:53 PM, Gevisz <gev...@gmail.com> wrote:

> On Fri, 23 Jan 2015 17:31:20 +0200 Alexander Kapshuk <
> alexander.kaps...@gmail.com> wrote:
>
> > On Fri, Jan 23, 2015 at 1:46 PM, Gevisz <gev...@gmail.com> wrote:
> >
> > > While doing recent wold updates I get the following message:
> > >
> > > * Messages for package sys-apps/busybox-1.23.0-r1:
> > > * You cannot have USE='static pam'.  Assuming static is more important.
> > >
> > > However, I never set any of those two flags neither in
> > > /etc/portage/make.conf
> > > no in /etc/portage/packag.use. So, it is set by default.
> > >
> > > So, why the massage above?
> > >
> > > Now, after finally setting
> > >  sys-apps/busybox -pam
> > > in /etc/portage/packag.use and rebuilding the package, I have
> > >
> > > $ equery uses busybox
> > > [ Legend : U - final flag setting for installation]
> > > [        : I - package is installed with flag     ]
> > > [ Colors : set, unset                             ]
> > >  * Found these USE flags for sys-apps/busybox-1.23.0-r1:
> > >  U I
> > >  - - debug         : Enable extra debug codepaths, like asserts and
> extra
> > > output. If you want to get meaningful backtraces see
> > >                      http://www.gentoo.org/proj/en/qa/backtraces.xml
> > >  + + ipv6          : Add support for IP version 6
> > >  - - livecd        : !!internal use only!! DO NOT SET THIS FLAG
> YOURSELF!,
> > > used during livecd building
> > >  - - make-symlinks : Create all the appropriate symlinks in /bin and
> /sbin.
> > >  - - math          : Enable math support in gawk (requires libm)
> > >  - - mdev          : Create the appropriate symlink in /sbin and
> install
> > > mdev.conf and support files
> > >  - + pam           : Add support for PAM (Pluggable Authentication
> > > Modules) - DANGEROUS to arbitrarily flip
> > >  - - savedconfig   : Use this to restore your config from
> > > /etc/portage/savedconfig ${CATEGORY}/${PN}. Make sure your USE flags
> allow
> > > for appropriate dependencies
> > >  - - sep-usr       : Support a separate /usr without needing an
> initramfs
> > > by booting with init=/ginit
> > >  + + static        : Make the system rescue shell (/bin/bb) static so
> you
> > > can recover even when glibc is broken
> > >  - - syslog        : Enable support for syslog
> > >  - - systemd       : Support systemd
> > >
> > > which confirms that +pam and +static has been set in busybox by
> default.
> > >
> > >
> > >
> > >
> > STATIC is enabled and PAM is disabled in the ebuild:
> >
> > grep IUSE `equery -q w busybox`
> > IUSE="debug ipv6 livecd make-symlinks math mdev -pam selinux sep-usr
> > +static syslog systemd"
>
> Strange enough. How I arrived to +pam setting if I have not set it in
> both /etc/portage/make.conf and /etc/portage/package.use files?
>
> I had explicitly enabled pam globally in /etc/portage/make.conf. So after
reading the portage message about pam having to be disabled, I disabled it
explicitly in /etc/portage/package.use.

Running 'emerge --info | grep pam' might reveal a USE flag setting with pam
enabled.

Reply via email to