Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 142877

Summary: Postgresql shutdown hangs the machine if ldap is used
Product: Gentoo Linux Reporter: Giuseppe Iannello <doctorzoidberg>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major CC: esigra
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Giuseppe Iannello 2006-08-05 05:31:26 UTC
On shutdown, net.eth0 is stopped before postgresql. now, since the postgres init script needs to do "su - postgres", it tries to query the ldap server, but net was already stopped. this leave the machine in an unusable state (you can't login in other consoles and it doesn't reboot).
A possible solution could be changing "use net" to "need net" in the initscript depend() function.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-05 07:58:20 UTC
Lack of sane fallback is not a postgresql bug.


*** This bug has been marked as a duplicate of 99564 ***