Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13965 - /etc/init.d/pump should have depend(){}
Summary: /etc/init.d/pump should have depend(){}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-15 06:51 UTC by Oleg Cherkasov
Modified: 2003-02-04 19:29 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 Oleg Cherkasov 2003-01-15 06:51:23 UTC
/etc/init.d/pump has no dependency on default runlevel.  It cause some minor 
problems during startup/shutdown (entering or leaving 'default' runlevel).   
 
For example, ypbind or ntpd may start before eth* interface will be 
initialized and got an IP from DHCP server.  It cause error messages and 
suspend some network services for a while.  
 
During shutdown it triggers problems with autofs, it could not unmount NFS 
because eth* interface went down before any service did manage to complete. 
 
The solution is to add lines into /etc/init.d/pump: 
 
depend() { 
        before portmap ypbind ntpd 
} 
 
or more general: 
 
depend() { 
        before * 
}
Comment 1 SpanKY gentoo-dev 2003-01-17 15:47:28 UTC
ive removed the init script from the pump package

using a sep script for it is incorrect imo and as such the net.XXX scripts will
be updated to allow you to use pump via them

see Bug 8917