Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182769 - net-www/mod_auth_pam has DOS newlines in /etc/pam.d/apache2 file
Summary: net-www/mod_auth_pam has DOS newlines in /etc/pam.d/apache2 file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks:
 
Reported: 2007-06-21 10:19 UTC by Boris Misenov
Modified: 2007-06-30 13:49 UTC (History)
0 users

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 Boris Misenov 2007-06-21 10:19:43 UTC
PAM configuration file of net-www/mod_auth_pam (/etc/pam.d/apache2) has lines separated with '\r\n' instead of '\n'. As a result, PAM subsystem cannot handle
it correctly, giving errors like:

apache2: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
apache2: PAM unable to dlopen(<*unknown module path*>)
PAM [dlerror: <*unknown module path*>: cannot open shared object file: No such file or directory]
apache2: PAM unable to dlopen(/lib/security/pam_nologin.so )

while both /etc/pam.d/system-auth and /lib/security/pam_nologin.so are present.

Tested with Linux x86 with sys-libs/pam-0.78-r5
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-30 13:49:49 UTC
Fixed.