Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30972 - "/etc/init.d/net.eth0 usesme" and "/etc/init.d/net.eth0 needsme" list nothing
Summary: "/etc/init.d/net.eth0 usesme" and "/etc/init.d/net.eth0 needsme" list nothing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-12 07:59 UTC by Toralf Förster
Modified: 2006-05-29 19:17 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 Toralf Förster gentoo-dev 2003-10-12 07:59:42 UTC
but I would expect the services depending on net.eth0, e.g.: 
 
# /etc/init.d/sendmail iuse 
net 
sysklogd 
 
but I got only for "ineed" a result: 
 
# /etc/init.d/net.eth0 needsme 
nhh221 /usr/portage/distfiles 
# /etc/init.d/net.eth0 usesme 
nhh221 /usr/portage/distfiles 
# /etc/init.d/net.eth0 iuse 
nhh221 /usr/portage/distfiles 
# /etc/init.d/net.eth0 ineed 
hotplug 
pcmcia 
modules 
checkroot 
hostname 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-13 12:48:38 UTC
Controversial, but yeah:

--
nosferatu root # cp /etc/init.d/net.eth0 /etc/init.d/net
nosferatu root # /etc/init.d/net needsme
gkrellmd
inetd
netmount
portmap
postfix
samba
sshd
winbind
nosferatu root # /etc/init.d/net usesme
cupsd
esound
ipx
rsyncd
samba
nosferatu root #
--

They depend on "net" and not net.eth0 ... 8)
Comment 2 Toralf Förster gentoo-dev 2003-11-06 04:10:07 UTC
Because "net.eth0 ineed" prints the dependencies, "net.eth0 needsme" should
also print the dependencies, isn't it ?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-06 14:18:01 UTC
This is the problem:  any net.* script that qualifies as a 'net' dependency,
should also consider the dep info of the 'net' target.  I am working on a
fix for this ...

--
nosferatu init.d # cp net.eth0 net
nosferatu init.d # ./net.eth0 needsme
nosferatu init.d # ./net needsme
gkrellmd
inetd
netmount
portmap
postfix
samba
sshd
winbind
xinetd
nosferatu init.d #

Comment 4 Toralf Förster gentoo-dev 2004-10-18 02:43:06 UTC
Hi, is there a fix for this ?
Comment 5 Toralf Förster gentoo-dev 2005-10-14 13:23:25 UTC
Eehm, shouldn't this bug report be resolved to "LATER" or "WONTFIX" ?
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-29 19:17:13 UTC
sys-apps/baselayout-1.12.0-r1

# /etc/init.d/net.eth0 usesme
samba cupsd nscd portmap rsyncd vmware xinetd net

# /etc/init.d/net.eth0 needsme
git-daemon klive netmount ntp-client ntpd samba sshd twistd net

# /etc/init.d/net.eth0 ineed
net checkroot modules checkfs localmount

FIXED, closing a stale bug.