Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PAM] deprecated PAM modules still used (Résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Wed Apr 16, 2008 1:42 pm    Post subject: [PAM] deprecated PAM modules still used (Résolu) Reply with quote

Salut à tous !!

J'essai d'upgrader gnome et il a besoin de sys-libs/pam-1.0.0-r2
Sauf que l'installation plante sur ce paquet, avec cette erreur :

Quote:
* 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_console
* If you are in real need for these modules, please contact the maintainers
* of PAM through https://bugs.gentoo.org/ providing information about its
* use cases.
* Please also make sure to read the PAM Upgrade guide at the following URL:
* http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
*
*
* ERROR: sys-libs/pam-1.0.0-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_preinst
* environment, line 2792: Called die
* The specific snippet of code:
* check_old_modules || die "deprecated PAM modules still used";
* The die message:
* 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-1.0.0-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/pam-1.0.0-r2/temp/environment'.
*
!!! FAILED preinst: 1


J'ai bien regardé et je n'ai pas ces modules installés (avec portage) et dans /etc/pam.d/, ils n'y rien portant le nom de ces modules.
Comment se fait-il alors que j'ai cette erreur ?

Merci


Last edited by Animatrix on Wed Apr 16, 2008 2:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3087
Location: Paris

PostPosted: Wed Apr 16, 2008 1:46 pm    Post subject: Reply with quote

Ben exécute en mode "echo" (bash -x) la partie de l'ebuild chargée de la détection des vieux modules pour voir d'où ça sort.
_________________
-Gentoo hardened [EoL]: µ-serv Gen8 G1610T, 8Go ECC ; NF9D-2700, 4Go
-FreeBSD 11/Vimage/Jails: DS61, i3 2100T, 16Go ; FreeNAS: µ-serv N40L, 8Go ECC
-Réseau: ERL-3 + ESL-24 + GS108Tv2
-NAS: RN312
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Wed Apr 16, 2008 1:49 pm    Post subject: Reply with quote

Que renvoie egrep 'pam_(pwdb|radius|timestamp|console)' /etc/pam.d/* ?
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Wed Apr 16, 2008 1:53 pm    Post subject: Reply with quote

Desintegr wrote:
Que renvoie egrep 'pam_(pwdb|radius|timestamp|console)' /etc/pam.d/* ?

Quote:
[animatrix@gentoo] (~)> ls -l /etc/pam.d <(15:51:33)>
total 180
-rw-r--r-- 1 root root 152 avr 6 12:27 chage
-rw-r--r-- 1 root root 152 avr 6 12:28 chfn
-rw-r--r-- 1 root root 103 avr 6 12:27 chgpasswd
-rw-r--r-- 1 root root 152 avr 6 12:28 chpasswd
-rw-r--r-- 1 root root 152 avr 6 12:28 chsh
-rw-r--r-- 1 root root 123 oct 15 2007 cron
-rw-r--r-- 1 root root 106 avr 6 12:26 cups
-rw-r--r-- 1 root root 106 oct 17 12:15 cvs
-rw-r--r-- 1 root root 223 mar 21 22:57 entrance
-rw-r--r-- 1 root root 234 mar 23 22:44 gdm
-rw-r--r-- 1 root root 230 mar 23 22:44 gdm-autologin
-rw-r--r-- 1 root root 200 mar 23 22:44 gdmsetup
-rw-r--r-- 1 root root 322 avr 6 14:05 gnome-screensaver
-rw-r--r-- 1 root root 152 avr 6 12:28 groupadd
-rw-r--r-- 1 root root 152 avr 6 12:28 groupdel
-rw-r--r-- 1 root root 103 avr 6 12:27 groupmems
-rw-r--r-- 1 root root 152 avr 6 12:28 groupmod
-rw-r--r-- 1 root root 362 oct 15 2007 imap
lrwxrwxrwx 1 root root 15 oct 15 2007 imap4 -> /etc/pam.d/imap
lrwxrwxrwx 1 root root 15 oct 15 2007 imap4s -> /etc/pam.d/imap
lrwxrwxrwx 1 root root 15 oct 15 2007 imaps -> /etc/pam.d/imap
-rw-r--r-- 1 root root 197 oct 17 20:08 kde
-rw-r--r-- 1 root root 196 oct 17 20:08 kde-np
-rw-r--r-- 1 root root 563 avr 6 12:28 login
-rw-r--r-- 1 root root 152 avr 6 12:28 newusers
-rw-r--r-- 1 root root 128 mar 23 15:09 other
-rw-r--r-- 1 root root 104 avr 6 12:27 passwd
-rw-r--r-- 1 root root 155 oct 17 18:34 polkit
-rw-r--r-- 1 root root 362 oct 15 2007 pop
lrwxrwxrwx 1 root root 14 oct 15 2007 pop3 -> /etc/pam.d/pop
lrwxrwxrwx 1 root root 14 oct 15 2007 pop3s -> /etc/pam.d/pop
lrwxrwxrwx 1 root root 14 oct 15 2007 pops -> /etc/pam.d/pop
-rw-r--r-- 1 root root 183 oct 18 19:23 ppp
-rw-r--r-- 1 root root 303 déc 5 15:49 rexec
-rw-r--r-- 1 root root 386 déc 5 15:49 rlogin
-rw-r--r-- 1 root root 412 déc 5 15:49 rsh
-rw-r--r-- 1 root root 160 oct 17 20:10 saslauthd
-rw-r--r-- 1 root root 152 avr 6 12:27 shadow
-rw-r--r-- 1 root root 156 mar 7 21:17 sshd
-rw-r--r-- 1 root root 1059 avr 6 12:27 su
-rw-r--r-- 1 root root 169 mar 7 20:42 sudo
-rw-r--r-- 1 root root 390 mar 23 15:09 system-auth
-rw-r--r-- 1 root root 121 mar 23 15:09 system-local-login
-rw-r--r-- 1 root root 655 mar 23 15:09 system-login
-rw-r--r-- 1 root root 121 mar 23 15:09 system-remote-login
-rw-r--r-- 1 root root 152 avr 6 12:28 useradd
-rw-r--r-- 1 root root 152 avr 6 12:28 userdel
-rw-r--r-- 1 root root 152 avr 6 12:28 usermod
-rw-r--r-- 1 root root 169 mar 23 22:46 xdm
-rw-r--r-- 1 root root 84 jan 31 16:07 xscreensaver
-rw-r--r-- 1 root root 125 fév 10 11:19 xserver
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Wed Apr 16, 2008 1:54 pm    Post subject: Reply with quote

J'ai changé la commande :).
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Wed Apr 16, 2008 2:02 pm    Post subject: Reply with quote

Desintegr wrote:
J'ai changé la commande :).


Quote:
[animatrix@gentoo] (~)> egrep 'pam_(pwdb|radius|timestamp|console)' /etc/pam.d/*
/etc/pam.d/entrance:session optional pam_console.so


Donc c'est entrance qui fou le bordel.
Je le vire, car je ne l'utilise pas.

Et la compil passe.

Merci
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum