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

Bug 20530

Summary: /etc/init.d/postgresql zap does not remove pid file
Product: Gentoo Linux Reporter: John Christian Stoddart (RETIRED) <chiguire>
Component: Current packagesAssignee: Masatomo Nakano (RETIRED) <nakano>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Christian Stoddart (RETIRED) gentoo-dev 2003-05-06 09:04:47 UTC
If postgresql does not shut down properly the file
/var/lib/postgresql/data/postgresql.pid is not removed.

Running /etc/init.d/postgresql zap doesn't remove the pid file and thus running
/etc/init.d/postgresql start (or restart) will fail.

On removing /var/lib/postgresql/data/postgresql.pid manually, everything works
fine again.
Comment 1 John Christian Stoddart (RETIRED) gentoo-dev 2003-05-08 09:38:35 UTC
The .pid file is actually /var/lib/postgresql/data/postmaster.pid.
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2003-06-06 14:41:21 UTC
fixed