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

Bug 62778

Summary: rc-update incorrectly complains when two scripts in /etc/init.d provide the same service
Product: Gentoo Linux Reporter: Gavin <gavin>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gavin 2004-09-03 20:16:37 UTC
If two scripts in /etc/init.d provide the same service, and only one (or none) are actually added to any run states (/etc/runlevels/*), then rc-update incorrectly produces a warning:
# rc-update add ntp-client default
 * ntp-client added to runlevel default
 * Caching service dependencies...
 *  Service 'dnsmasq' already provide 'dns'!;
 *  Not adding service 'named'...
 * rc-update complete.

http://forums.gentoo.org/viewtopic.php?t=216889&highlight=adding+service+already+provide

I should be able to have both dnsmasq and bind installed at the same time, so long as only one is installed into /etc/runlevels without seeing warnings everytime I make any change to any script in /etc/init.d

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2005-11-27 10:16:22 UTC

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