Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185016 - net-dialup/diald-1.0-r1 uses pam_pwdb
Summary: net-dialup/diald-1.0-r1 uses pam_pwdb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks: 185203
  Show dependency tree
 
Reported: 2007-07-11 23:29 UTC by Martin Mokrejš
Modified: 2007-07-19 13:35 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 Martin Mokrejš 2007-07-11 23:29:55 UTC
...
>>> Merging sys-libs/pam-0.99.8.0-r1 to /
 * 
 * Your current setup is using one or more of the following modules,
 * that are not built or supported anymore:
 * pam_pwdb, pam_radius, pam_timestamp, pam_chroot
 * If you are in real need for these modules, please contact the maintainers
 * of PAM through http://bugs.gentoo.org/ providing information about its
 * use cases.
Note: The repository at /usr/local/portage does not have a profiles/repo_name entry.
      This can reduce the functionality of the repository in some cases.
Note: The repository at /usr/portage/local/layman/sunrise does not have a profiles/repo_name entry.
      This can reduce the functionality of the repository in some cases.
 * 
 * ERROR: sys-libs/pam-0.99.8.0-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1663:   Called dyn_preinst
 *   ebuild.sh, line 1100:   Called pkg_preinst
 *   pam-0.99.8.0-r1.ebuild, line 168:   Called die
 * 
 * deprecated PAM modules still used
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/pam-0.99.8.0-r1/temp/build.log'.
 * 
!!! FAILED preinst: 1

 * Messages for package sys-libs/pam-0.99.8.0-r1:

 * 
 * Your current setup is using one or more of the following modules,
 * that are not built or supported anymore:
 * pam_pwdb, pam_radius, pam_timestamp, pam_chroot
 * If you are in real need for these modules, please contact the maintainers
 * of PAM through http://bugs.gentoo.org/ providing information about its
 * use cases.
 * 
 * Your current setup is using one or more of the following modules,
 * that are not built or supported anymore:
 * pam_pwdb, pam_radius, pam_timestamp, pam_chroot
 * If you are in real need for these modules, please contact the maintainers
 * of PAM through http://bugs.gentoo.org/ providing information about its
 * use cases.
 * 
 * ERROR: sys-libs/pam-0.99.8.0-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1663:   Called dyn_preinst
 *   ebuild.sh, line 1100:   Called pkg_preinst
 *   pam-0.99.8.0-r1.ebuild, line 168:   Called die
 * 
 * deprecated PAM modules still used
...
# find /etc/pam.d/ -type f | xargs grep pam_pwdb
/etc/pam.d/diald:auth       required    pam_pwdb.so shadow
/etc/pam.d/diald:account    required    pam_pwdb.so
#
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-07-12 05:37:13 UTC
Modify your /etc/pam.d/diald as follows and tell me if it works for ya:
#%PAM-1.0
auth       include      system-auth
auth       required     pam_nologin.so
account    include      system-auth

P.S.: When I say 'works', I'm referring to diald, not to pam-0.99 emerging.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-12 05:53:28 UTC
(In reply to comment #1)
> Modify your /etc/pam.d/diald as follows and tell me if it works for ya:
> #%PAM-1.0
> auth       include      system-auth
> auth       required     pam_nologin.so
> account    include      system-auth

Alin, the order is wrong; nologin will be ignored unless moved above system-auth.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-07-12 07:42:46 UTC
Chances are you don't use pam with diald, therefore I've fixed it in -r2 without waiting for your confirmation.

x86 team, can you mark the new revision stable? Changes are the following:
  - install a safe default for /etc/pam.d/diald
  - add pam USE flag; when is disabled, nopam.patch is applied
  - sanitize dependencies
  - remove src_compile() (the default implementation of this function works just as well)
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-07-17 19:37:49 UTC
x86 stable and closing
Comment 5 Martin Mokrejš 2007-07-19 13:35:30 UTC
So I have 1.0-r2 installed now with the default pam.d/ file but cannot comment more on that. I have it installed but actually never got to configure the thing. :(