Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142877 - Postgresql shutdown hangs the machine if ldap is used
Summary: Postgresql shutdown hangs the machine if ldap is used
Status: RESOLVED DUPLICATE of bug 99564
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-05 05:31 UTC by Giuseppe Iannello
Modified: 2007-09-23 00:13 UTC (History)
1 user (show)

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 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 ***