Summary: | gnome-extra/gnome-screensaver-2.18.2 fails to auth when built with pam | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bugs Bunny <anarchpenguin> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | anarchy, jakub, pam-bugs+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | debug info |
Description
Bugs Bunny
2007-07-10 01:24:22 UTC
first, please specify which version of gnome-screensaver shows this problem then try with CFLAGS="-O2 -march=prescott" finaly, in a terminal, make sure there is no gnome-screensaver launched and start it with --no-daemon --debug. Please check system log as well as there should be a trace of what's wrong with pam. Created attachment 124429 [details]
debug info
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM unable to dlopen(<*unknown module path*>)
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM [error: <*unknown module path*>: cannot open shared object file: Too many open files]
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM adding faulty module: <*unknown module path*>
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM unable to dlopen(/lib/security/pam_deny.so)
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM [error: /lib/security/pam_deny.so: cannot open shared object file: Too many open files]
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM adding faulty module: /lib/security/pam_deny.so
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM unable to dlopen(/lib/security/pam_permit.so)
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM [error: /lib/security/pam_permit.so: cannot open shared object file: Too many open files]
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM adding faulty module: /lib/security/pam_permit.so
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM unable to dlopen(<*unknown module path*>)
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM [error: <*unknown module path*>: cannot open shared object file: Too many open files]
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM adding faulty module: <*unknown module path*>
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM unable to dlopen(/lib/security/pam_deny.so)
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM [error: /lib/security/pam_deny.so: cannot open shared object file: Too many open files]
Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM adding faulty module: /lib/security/pam_deny.so
Might better turn this over to the pam team.
did you by any chance updated pam recently ? you might want to have a look at: http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml adding pam herd so they can have a look. Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth sounds clear enough to me at this point: the file is inaccessible or missing. Why, not sure :) (In reply to comment #4) > Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM _pam_load_conf_file: > unable to open /etc/pam.d/system-auth > > sounds clear enough to me at this point: the file is inaccessible or missing. > Why, not sure :) > Umm no I would not say it is clear as permissions are sane. [anarchy - ~] ls -l /etc/pam.d/system-auth -rw-r--r-- 1 root root 447 2007-07-09 19:46 /etc/pam.d/system-auth content of file cat /etc/pam.d/system-auth #%PAM-1.0 auth required pam_env.so auth sufficient pam_unix.so try_first_pass likeauth nullok auth required pam_deny.so account required pam_unix.so password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3 password sufficient pam_unix.so try_first_pass use_authtok nullok md5 shadow password required pam_deny.so session required pam_limits.so session required pam_unix.so Does gnome-screensaver run chrooted by chance? (In reply to comment #6) > Does gnome-screensaver run chrooted by chance? > No it does not run chrooted. (In reply to comment #2) > Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM [error: <*unknown module > path*>: cannot open shared object file: Too many open files] > Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM [error: > /lib/security/pam_deny.so: cannot open shared object file: Too many open > Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM [error: > /lib/security/pam_permit.so: cannot open shared object file: Too many open > files] > Jul 9 19:32:55 crazier gnome-screensaver-dialog: PAM [error: > /lib/security/pam_deny.so: cannot open shared object file: Too many open files] Uhm... cat /proc/sys/fs/file-max cat /proc/sys/fs/file-nr don't play with /etc/limits and the likes if you can't analyze the consequences. ok, Bugs Bunny sent me a mail : "Bug is not invalid. It is caused when pam is linked to audit if you noticed my bugzilla account is locked so I can not respond to the bug. But once again a gentoo dev has no clue and assumes." I'll pass on the no clue. If somebody has an audit setup that would be interesting to hear from you. If pam herd has a clue, please speak. (In reply to comment #10) > Bug is not invalid. It is caused when pam is linked to audit if you > noticed my bugzilla account is locked so I can not respond to the bug. > But once again a gentoo dev has no clue and assumes." No such thing available in the tree. Custom ebuilds such as Bug 184519 -> INVALID. (In reply to comment #11) > (In reply to comment #10) > > > Bug is not invalid. It is caused when pam is linked to audit if you > > noticed my bugzilla account is locked so I can not respond to the bug. > > But once again a gentoo dev has no clue and assumes." > > No such thing available in the tree. Custom ebuilds such as Bug 184519 -> > INVALID. > This is not my bug so I can not reopen it but as the original reporter pointed out when pam is linked to audit gnome-screensaver fails to auth. It has nothing to do with custom ebuilds. This is just another breakage that can be fixed when bug http://bugs.gentoo.org/show_bug.cgi?id=189669 is fixed. In my case (another program, but the same error messages) this happened afrer upgrade of 'pam' because 'pambase' wasn't installed. After I had installed the 'pambase' package, it created the necessary '/etc/pam.d/system-auth' and '/etc/pam.d/other' files. Everything went fine since then. |