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.
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)
Because "net.eth0 ineed" prints the dependencies, "net.eth0 needsme" should also print the dependencies, isn't it ?
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 #
Hi, is there a fix for this ?
Eehm, shouldn't this bug report be resolved to "LATER" or "WONTFIX" ?
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.