Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540948 - sys-apps/openrc missing [R]DEPEND on sys-libs/pam (or virtual/pam)
Summary: sys-apps/openrc missing [R]DEPEND on sys-libs/pam (or virtual/pam)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-21 21:35 UTC by Rick Farina (Zero_Chaos)
Modified: 2015-02-26 19:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Farina (Zero_Chaos) gentoo-dev 2015-02-21 21:35:50 UTC
I've been actively working on depcheck again, and it found this:

 * /sbin/openrc links to /lib64/libpam.so.0
 *   Missing RDEPEND on sys-libs/pam
 *   Missing DEPEND on sys-libs/pam

I manually confirmed with lddtree:

zero@new-host-4 ~ % lddtree /sbin/openrc
/sbin/openrc (interpreter => /lib64/ld-linux-x86-64.so.2)
    libutil.so.1 => /lib64/libutil.so.1
    librc.so.1 => /lib64/librc.so.1
    libeinfo.so.1 => /lib64/libeinfo.so.1
        libncurses.so.5 => /lib64/libncurses.so.5
    libdl.so.2 => /lib64/libdl.so.2
    libpam.so.0 => /lib64/libpam.so.0
    libc.so.6 => /lib64/libc.so.6


With openrc[pam] directly using /lib64/libpam.so.0 it really should depend on the provider of said file.  It appears that adding an [R]DEPEND on virtual/pam would be most correct, but copying pam-bugs to confirm the appropriate method.
Comment 1 William Hubbs gentoo-dev 2015-02-21 21:57:16 UTC
@pam-bugs:
In #392995#c28, I was specifically asked *not* to depend on virtual/pam,
but to only depend on ssys-auth/pambase.

I need to know if this is still your position, or if I should add
virtual/pam to the OpenRC rdepend as requested.

Thanks,

William
Comment 2 William Hubbs gentoo-dev 2015-02-26 19:02:10 UTC
I spoke with robbat2 about this yesterday, and with a couple of other
folks on IRC.
I have added virtual/pam to the dependencies.