i get this strange error at boot too. It basically tells me netmount could not start because net.eth0 could not. i mean im running on net.eth0 now so it had to have started. when i compiled apache i noticed this error for the first time when i ran : /etc/init.d/apache2 start it gave me * ERROR: cannot start netmount as net.eth0 could not start * ERROR: cannot start apache2 as net.eth0 could not start Any and all help would be appreciated :-) ============================================================= emerge --info Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686) System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.5 Last Sync: Fri, 22 Sep 2006 05:30:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LINGUAS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib apache berkdb bitmap-fonts bzip2 cairo cli crypt cups dbus debug dlloader dri elibc_glibc fortran gdbm gif gnome gpm gtk gtk+ gtk2 hal howl input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libg++ mmx mp3 ncurses nls nptl nptlonly nvidia opengl pam pcre perl png ppds pppd python readline reflection session spl ssl tcpd tiff truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis win32codecs xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I'm seeing basically the same problem. For me its ypbind that tells me it can't start due to net.eth0 failing to start. The cause for this is ypbind trying to start before net.eth0 even tried to start. It looks to me like its started later cause its running now - but still it yields those messages during boot.
have you tried running: depscan.sh it should fix init.d dependencies. I had the exact problem, same error message, but I knew net.eth0 was started 'cause I had network & internet access. depscan.sh resolved my issue
sorry for the delay... depscan.sh did not solve the issue for me, the messages still were shown after a reboot.
Could you guys please attach your /etc/conf.d/net files?
(In reply to comment #4) > Could you guys please attach your /etc/conf.d/net files? > # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). config_eth0=( "dhcp" ) dhcp_eth0="nodns nontp nonis"
During the boot process, do you see eth0 attempting to run dhcp and does it get and address successfully?
I am having the same problem with a fresh install of Gentoo. It appears the dependencies for netmount have gone awry and it is being started in the default runlevel before net.eth0. I have RC_NET_STRICT_CHECKING set to NO in /etc/conf.d/rc so it should need to bring up eth0 before it considers the net service up and running (there is only one interface in this machine). It does start net.eth0 after it tries to start netmount, It runs dhcpcd and gets an IP address as expected, so when it has finished startup I do have access to my network, but my Samba shares are not mounted. When I noticed the problem I used the interactive startup mode to list the sequence of the scripts in the default runlevel. Here is the sequence on the problem machine: INIT: Entering runlevel 3 syslog-ng dbus hald netmount (ERROR: cannot start netmount as net.eth0 could not start) xdm net.eth0 numlock vixie-cron local
Could people attach (not post as it's too big) their /var/lib/init.d/deptree files please. Also, if any have this problem, try running `depscan.sh -u` and see if that fixes.
For whatever it's worth, I'm having what looks to be a very similar problem. In my case, I have several IP aliases listed in /etc/conf.d/net, and it appears that having more than two or three IPs listed causes net.eth0 to take long enough to run that it keeps other services which depend on it from starting. I'm not sure if it's noteworthy or not, but something interesting I'm noticing is that I never see net.eth0 mentioned during startup (it should list each of the IPs it's starting up) but I do see net.lo mentioned. Nonetheless, as soon as the machine is done booting, if I log in, ifconfig shows that all of the IPs were configured properly. I'll include my /var/lib/init.d/deptree in case it helps. For the record, I have not had the opportunity to run depscan.sh (as one reply suggests) because the machine is a server at a colo facility, and console access isn't convenient at the moment (for bringing up sshd by hand, since that's one of the services that inevitably fails to start.)
Created attachment 100806 [details] Copy of my /var/lib/init.d/deptree
Comment on attachment 100806 [details] Copy of my /var/lib/init.d/deptree (Uploaded file from wrong server. My bad.)
Created attachment 100810 [details] Copy of my /var/lib/init.d/deptree (corrected)
(In reply to comment #6) > During the boot process, do you see eth0 attempting to run dhcp and does it get > and address successfully? > no it doesnt it just starts net lo nothing about net eth0 but i have internet so obviously it does... depscan doesnt fix the error either. It seems to have been a problem since the 2006.1 release. when i ran /etc/init.d/net.eth0 stop it stops eth0 sucessfully when i run start it starts it (hangs there never says OK like when it does when i run "stop" but if i close that terminal it kills internet.so if i dont close that terminal after running that it will be fine.
(In reply to comment #4) > Could you guys please attach your /etc/conf.d/net files? > Just in case it helps, my /etc/conf.d/net file contains the usual comments at the top and the following three lines: config_eth0=( "dhcp" ) dhcp_eth0="release" dhcpcd_eth0="-t 10 -l 21600"
(In reply to comment #8) > Could people attach (not post as it's too big) their /var/lib/init.d/deptree > files please. > > Also, if any have this problem, try running `depscan.sh -u` and see if that > fixes. > I made a copy of /var/lib/init.d/deptree then ran 'depscan.sh -u' as root. I tried to create a diff afterwards but there was no difference between the before and after files. I rebooted the computer and verified that the problem was not fixed. I had high hopes.
Created attachment 100845 [details] /var/lib/init.d/deptree deptree from system with netmount error.
(In reply to comment #12) > Created an attachment (id=100810) [edit] > Copy of my /var/lib/init.d/deptree (corrected) You have the coldplug init script - try removing it as udev now handles coldplugging and this is the likely cause.
(In reply to comment #17) > (In reply to comment #12) > > Created an attachment (id=100810) [edit] > > Copy of my /var/lib/init.d/deptree (corrected) > > You have the coldplug init script - try removing it as udev now handles > coldplugging and this is the likely cause. > how do i do this? i dont know where the coldplug init script is located..
(In reply to comment #9) > ... > I'm not sure if it's noteworthy or not, but something interesting I'm noticing > is that I never see net.eth0 mentioned during startup (it should list each of > the IPs it's starting up) but I do see net.lo mentioned. Nonetheless, as soon > as the machine is done booting, if I log in, ifconfig shows that all of the IPs > were configured properly. > ... This also applies to comment #13 If you are running a desktop environment you may not see net.eth0 start up in the console because the xdm script is started first. On my new install that cannot start netmount I see the order it runs init scripts is somewhat different than it is for an older install I have on a different machine. As I have listed in comment #7, the machine with the problem tries netmount, then runs the xdm script which starts gdm and switches me to the X display, then it runs the net.eth0 script. For me to see the output "Starting net.eth0" "Starting dhcpcd" "obtaining IP address" etc. I have to press CTRL+ALT+F1 to switch back to the first text console after it switches me to the X display. You can switch back to X with CTRL+ALT+F7
depscan.sh -u didn't solve the problem. But changing RC_PARALLEL_STARTUP="no" to "yes" in /etc/conf.d/rc solved it. Using parallel boot, net.eth0 is start first before netmount.
Created attachment 103163 [details] broken broken deptree
This happens on 2 machines that are fresh installs using sys-apps/baselayout-1.12.6
This should be fixed in baselayout-1.13.0_alpha11. Re-open if you disagree.