* [gentoo-user] lost /lib/security/pam_console.so
@ 2005-07-22 23:35 George Roberts
2005-07-23 6:30 ` Peter Gordon
0 siblings, 1 reply; 7+ messages in thread
From: George Roberts @ 2005-07-22 23:35 UTC (permalink / raw
To: gentoo-user
I have been unable to login using gdm even though it is in my /etc/rc.conf:
UNICODE="no"
EDITOR="/bin/nano"
DISPLAYMANAGER="gdm"
XSESSION="Gnome"
Today I checked my system logs and I found these entries:
Date : July 22 15:32:42
Process : gdm[7072]
Message : PAM unable to dlopen(/lib/security/pam_console.so)
Description :
Date : July 22 15:32:42
Process : gdm[7072]
Message : PAM [dlerror: /lib/security/pam_console.so: cannot open shared
object file: No such file or directory]
Description :
Date : July 22 15:32:42
Process : gdm[7072]
Message : PAM adding faulty module: /lib/security/pam_console.so
Description :
Date : July 22 15:32:51
Process : login(pam_unix)[6871]
Message : session opened for user root by (uid=0)
Description :
Date : July 22 15:33:22
Process : -
Message : 0: PAM unable to dlopen(/lib/security/pam_console.so)
Description :
Date : July 22 15:33:22
Process : -
Message : 0: PAM [dlerror: /lib/security/pam_console.so: cannot open
shared object file: No such file or directory]
Description :
Date : July 22 15:33:22
Process : -
Message : 0: PAM adding faulty module: /lib/security/pam_console.so
Description :
Date : July 22 15:33:22
Process : xdm(pam_unix)[7301]
Message : session opened for user root by (uid=0)
Description :
I have reemerged both pam and pam-login, neither of which has
regenerated the needed pam_console.so. Googleing gives me lots of
information about what the file does, but not how to get another one.
Can anybody give me any hints?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] lost /lib/security/pam_console.so
2005-07-22 23:35 [gentoo-user] lost /lib/security/pam_console.so George Roberts
@ 2005-07-23 6:30 ` Peter Gordon
2005-07-23 7:32 ` George Roberts
2005-07-23 7:46 ` Richard Fish
0 siblings, 2 replies; 7+ messages in thread
From: Peter Gordon @ 2005-07-23 6:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 850 bytes --]
Try setting the "pam_console" USE flag and re-emerging pam:
# echo "sys-libs/pam pam_console" >> /etc/portage/package.use
# emerge sys-libs/pam
Although, it's rather odd that you are unable to login. I do not have
pam_console either but I can still login through gdm just fine (with a
similar warning in my system log).
--
() The ASCII Ribbon Campaign - against HTML Email,
/\ vCards, and proprietary formats.
---------------------------------------------------
Peter A. Gordon (codergeek42)
E-Mail: admin@ramshacklestudios.com
GPG Public Key ID: 0x87C59026
GPG Public Key Fingerprint:
A5E9 EA8E 146B 4B44 E26A 385B 278C 74CC 87C5 9026
Encrypted and/or Signed correspondence preferred.
GPG Public Key available upon request or from
pgp.mit.edu's public key server.
----------------------------------------------------
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] lost /lib/security/pam_console.so
2005-07-23 6:30 ` Peter Gordon
@ 2005-07-23 7:32 ` George Roberts
2005-07-23 7:46 ` Richard Fish
1 sibling, 0 replies; 7+ messages in thread
From: George Roberts @ 2005-07-23 7:32 UTC (permalink / raw
To: gentoo-user
Peter Gordon wrote:
>Try setting the "pam_console" USE flag and re-emerging pam:
># echo "sys-libs/pam pam_console" >> /etc/portage/package.use
># emerge sys-libs/pam
>
>Although, it's rather odd that you are unable to login. I do not have
>pam_console either but I can still login through gdm just fine (with a
>similar warning in my system log).
>
>
>
I will try that tomorrow, I am in the middle of a thunderbird/firefox
emerge. thanks
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] lost /lib/security/pam_console.so
2005-07-23 6:30 ` Peter Gordon
2005-07-23 7:32 ` George Roberts
@ 2005-07-23 7:46 ` Richard Fish
2005-07-23 15:18 ` George Roberts
1 sibling, 1 reply; 7+ messages in thread
From: Richard Fish @ 2005-07-23 7:46 UTC (permalink / raw
To: gentoo-user
Peter Gordon wrote:
>Try setting the "pam_console" USE flag and re-emerging pam:
># echo "sys-libs/pam pam_console" >> /etc/portage/package.use
># emerge sys-libs/pam
>
>Although, it's rather odd that you are unable to login. I do not have
>pam_console either but I can still login through gdm just fine (with a
>similar warning in my system log).
>
>
>
If /etc/pam.d/gdm specifies pam_console, then this is why it is
required. George, can you post the contents of that file?
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] lost /lib/security/pam_console.so
2005-07-23 7:46 ` Richard Fish
@ 2005-07-23 15:18 ` George Roberts
2005-07-23 17:10 ` Richard Fish
0 siblings, 1 reply; 7+ messages in thread
From: George Roberts @ 2005-07-23 15:18 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> Peter Gordon wrote:
>
>> Try setting the "pam_console" USE flag and re-emerging pam:
>> # echo "sys-libs/pam pam_console" >> /etc/portage/package.use
>> # emerge sys-libs/pam
>>
>> Although, it's rather odd that you are unable to login. I do not have
>> pam_console either but I can still login through gdm just fine (with a
>> similar warning in my system log).
>>
>>
>
> If /etc/pam.d/gdm specifies pam_console, then this is why it is
> required. George, can you post the contents of that file?
>
> -Richard
>
I just downgraded my baselib and pam after I found a simular issue in
the forums. But gdm still not working.
I don't have the time to check the logs (yuck work) this morning, will
check them tonight.
Here is my currant /etc/pam.d/gdm
#%PAM-1.0
auth optional pam_env.so
auth include system-auth
auth required pam_nologin.so
account include system-auth
password include system-auth
session include system-auth
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] lost /lib/security/pam_console.so
2005-07-23 15:18 ` George Roberts
@ 2005-07-23 17:10 ` Richard Fish
2005-07-25 5:24 ` George Roberts
0 siblings, 1 reply; 7+ messages in thread
From: Richard Fish @ 2005-07-23 17:10 UTC (permalink / raw
To: gentoo-user
George Roberts wrote:
> Richard Fish wrote:
>
>> Peter Gordon wrote:
>>
>>> Try setting the "pam_console" USE flag and re-emerging pam:
>>> # echo "sys-libs/pam pam_console" >> /etc/portage/package.use
>>> # emerge sys-libs/pam
>>>
>>> Although, it's rather odd that you are unable to login. I do not have
>>> pam_console either but I can still login through gdm just fine (with a
>>> similar warning in my system log).
>>>
>>>
>>
>> If /etc/pam.d/gdm specifies pam_console, then this is why it is
>> required. George, can you post the contents of that file?
>>
>> -Richard
>>
> I just downgraded my baselib and pam after I found a simular issue in
> the forums. But gdm still not working.
> I don't have the time to check the logs (yuck work) this morning, will
> check them tonight.
> Here is my currant /etc/pam.d/gdm
> #%PAM-1.0
> auth optional pam_env.so
> auth include system-auth
> auth required pam_nologin.so
> account include system-auth
> password include system-auth
> session include system-auth
>
Ok, so we include system-auth. Then we also need to look at
/etc/pam.d/system-auth.
Also, what you have is the version of the pam config file from
gdm-2.6.0.9-r3 (the ~x86 version). Earlier (non ~x86) versions use a
different gdm configuration for pam:
#%PAM-1.0
auth required /lib/security/pam_env.so
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
session optional /lib/security/pam_console.so
As you can see, pam_console.so is referenced directly here. Can you
confirm that you still get the error about pam_console.so with -r3, or
only with earlier versions of gdm?
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] lost /lib/security/pam_console.so
2005-07-23 17:10 ` Richard Fish
@ 2005-07-25 5:24 ` George Roberts
0 siblings, 0 replies; 7+ messages in thread
From: George Roberts @ 2005-07-25 5:24 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> George Roberts wrote:
>
>> Richard Fish wrote:
>>
>>> Peter Gordon wrote:
>>>
>>>> Try setting the "pam_console" USE flag and re-emerging pam:
>>>> # echo "sys-libs/pam pam_console" >> /etc/portage/package.use
>>>> # emerge sys-libs/pam
>>>>
>>>> Although, it's rather odd that you are unable to login. I do not have
>>>> pam_console either but I can still login through gdm just fine (with a
>>>> similar warning in my system log).
>>>>
>>>>
>>>
>>> If /etc/pam.d/gdm specifies pam_console, then this is why it is
>>> required. George, can you post the contents of that file?
>>>
>>> -Richard
>>>
>> I just downgraded my baselib and pam after I found a simular issue in
>> the forums. But gdm still not working.
>> I don't have the time to check the logs (yuck work) this morning,
>> will check them tonight.
>> Here is my currant /etc/pam.d/gdm
>> #%PAM-1.0
>> auth optional pam_env.so
>> auth include system-auth
>> auth required pam_nologin.so
>> account include system-auth
>> password include system-auth
>> session include system-auth
>>
>
> Ok, so we include system-auth. Then we also need to look at
> /etc/pam.d/system-auth.
>
> Also, what you have is the version of the pam config file from
> gdm-2.6.0.9-r3 (the ~x86 version). Earlier (non ~x86) versions use a
> different gdm configuration for pam:
>
> #%PAM-1.0
> auth required /lib/security/pam_env.so
> auth required /lib/security/pam_stack.so service=system-auth
> auth required /lib/security/pam_nologin.so
> account required /lib/security/pam_stack.so service=system-auth
> password required /lib/security/pam_stack.so service=system-auth
> session required /lib/security/pam_stack.so service=system-auth
> session optional /lib/security/pam_console.so
>
> As you can see, pam_console.so is referenced directly here. Can you
> confirm that you still get the error about pam_console.so with -r3, or
> only with earlier versions of gdm?
>
> -Richard
>
Latest update.
After adding/removing use flags, downgrading/upgrading packages (not to
mention some firefox/thunderbird upgrades thrown in for flavor) based on
information I stumbled across in the forums, gdm is now half working. I
can login as root but not as the user. As to which piece of of the
process actually fixed the problem I don't truly know.
The process of fixing the currant problem brings to mind questions that
are better not addressed in this thread, so I will be opening a new
thread.
Thanks for the help that you each have offered.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-07-25 5:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-22 23:35 [gentoo-user] lost /lib/security/pam_console.so George Roberts
2005-07-23 6:30 ` Peter Gordon
2005-07-23 7:32 ` George Roberts
2005-07-23 7:46 ` Richard Fish
2005-07-23 15:18 ` George Roberts
2005-07-23 17:10 ` Richard Fish
2005-07-25 5:24 ` George Roberts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox