Postgresql will cause the server to hang when rebooting if the postgres user password has expired

This document (7009571) is provided subject to the disclaimer at the end of this document.

Environment

SuSE Linux Enterprise Server 11 Support pack 1 (SLES11SP1)

Situation

Using SuSE Linux Enterpris Server 11 with support pack 1 (SLES11SP1), if the postgres users password has expired, on reboot, the server will stop at 'start rcpostgresql'.  As such, the server will not fully boot.

Resolution

To resolve this problem on SLES11 SP1, modify the /etc/pam.d/su and /etc/pamd.d/su-1 files and add a line that contains:
 
account  sufficient     pam_rootok.so
 
Making the /etc/pam.d/su or su-1 file look similar to this:
 
#%PAM-1.0
auth     sufficient     pam_rootok.so
auth     include        common-auth
account  sufficient     pam_rootok.so
account  include        common-account
password include        common-password
session  include        common-session
session  optional       pam_xauth.so

At this point, the fix may be verified by rebooting the server.

NOTE: This has been identified by the developers, and have confirmed that in the beta release of SLES11 support pack 2 this issue no longer exists.
 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7009571
  • Creation Date: 14-Oct-2011
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center