Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network services fail to start during boot
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Jan 29, 2006 11:02 am    Post subject: Reply with quote

Silenzium wrote:
I also get the "* WARNING: sshd/ntp-client/netmount is scheduled to start when net.eth0 has started."-errors on my notebook, but I don't see anything influenced by it. Should I be concerned?
They started to appear after emerging netplug.


Correct behavior

The issue is that there's a small pause between launching netplug and netplug starting eth0 correctly. This happens in the background and I hate infinite loops, so we schedule the service that depend on eth0 to start when eth0 is started by netplug.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Freddy93
n00b
n00b


Joined: 06 Feb 2004
Posts: 5

PostPosted: Mon Feb 06, 2006 10:41 pm    Post subject: Reply with quote

UberLord wrote:
Correct behavior

The issue is that there's a small pause between launching netplug and netplug starting eth0 correctly. This happens in the background and I hate infinite loops, so we schedule the service that depend on eth0 to start when eth0 is started by netplug.


I've got a problem that might be related.

My eth0 and eth2 are configured to start at boot, they both are ethernet cards with drivers included in kernel (no modules).
When booting, netmount (as well as apache2 and a few other services) is scheduled to start only after eth0 (not eth0 and/or eth2). Unfortunately, eth0 is often unplugged when booting and hence does not start, only eth2 is launched by netplug. As a consequence, netmount is waiting indefinitively that eth0 pop up, while eth2 is up and running. In my opinion, this behavior is abnormal, considering that I have set RC_NET_STRICT_CHECKING to "no" in /etc/conf.d/rc.

Is this the correct behavior, and, if it is, what must I do to make services depending on network to start at boot?
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2093
Location: San Jose, CA

PostPosted: Wed Mar 01, 2006 7:19 am    Post subject: Reply with quote

Has anyone gotten this to work? I'm having the same problem. Wireless eventually starts but sshd and netmount do not start.

Code:

Runlevel: default
 local                                                              [ started  ]
 netmount                                                           [ stopped  ]
 syslog-ng                                                          [ started  ]
 net.ath0                                                           [ started  ]
 vixie-cron                                                         [ started  ]
 cpudyn                                                             [ started  ]
 sshd                                                               [ stopped  ]
 ifplugd                                                            [ started  ]
 famd                                                               [ started  ]
 acpid                                                              [ started  ]
 domainname                                                         [ started  ]
 portmap                                                            [ started  ]
 autofs                                                             [ started  ]
 xdm                                                                [ started  ]
 cupsd                                                              [ started  ]


Here's what I have installed:
Code:
*  sys-apps/baselayout
      Latest version available: 1.12.0_pre16-r1
      Latest version installed: 1.12.0_pre16-r1

*  net-wireless/madwifi-driver
      Latest version available: 0.1443.20060207
      Latest version installed: 0.1443.20060207

*  net-wireless/wpa_supplicant
      Latest version available: 0.5.1
      Latest version installed: 0.5.1


And here's rc-update -s output:
Code:
               acpid |      default
           alsasound | boot
                apmd |
              autofs |      default
  bittorrent-tracker |
            bootmisc | boot
             bttrack |
             checkfs | boot
           checkroot | boot
               clock | boot
            coldplug | boot
         consolefont | boot
              cpudyn |      default
            cpufreqd |
        cpufrequtils |
         crypto-loop |
               cupsd |      default
          domainname |      default
              esound |
                famd |      default
                 gpm |
              hdparm | boot
            hostname | boot
             hotplug | boot
                 i8k |
             icecast |
             ifplugd |      default
             keymaps | boot
                lisa |
               local |      default nonetwork
          localmount | boot
             modules | boot
               mysql |
         mythbackend |
            net.ath0 |      default
            net.eth0 |
              net.lo | boot
             netlock |
            netmount |      default
                nscd |
                ntpd |
             numlock |
             portmap |      default
             pwcheck |
               rc0.d |
               rc1.d |
               rc2.d |
               rc3.d |
               rc4.d |
               rc5.d |
               rc6.d |
             reslisa |
           rmnologin | boot
              rsyncd |
               samba |
           saslauthd |
              serial | boot
           shoutcast |
     shoutcast_trans |
               slapd |
              slurpd |
               spamd |
              splash | boot
                sshd |      default
           start_cvc |
            svnserve |
           syndaemon |
           syslog-ng |      default
                 tor |
             urandom | boot
          vixie-cron |      default
              vmware |
          vmware.net |      default
                 xdm |      default
              xinetd |
              xprint |

_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Wed Apr 05, 2006 11:12 am    Post subject: Reply with quote

@RayDude: I have the same problem. Did you solve it?
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2093
Location: San Jose, CA

PostPosted: Mon Apr 17, 2006 9:53 pm    Post subject: Reply with quote

R!tman wrote:
@RayDude: I have the same problem. Did you solve it?


No. I must say madwifi-ng works very nicely though.

But many of my net applications fail to start even though it says they are scheduled to start after madwifi fires up.

Raydude
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
Spetsnaz84
n00b
n00b


Joined: 25 Jun 2006
Posts: 39
Location: Antwerp, Belgium

PostPosted: Sun May 06, 2007 8:06 pm    Post subject: Reply with quote

Hmm, I'm having the same problem since I switched from wireless tools to wpa_supplicant
Back to top
View user's profile Send private message
Floop
n00b
n00b


Joined: 15 Aug 2007
Posts: 1

PostPosted: Sun Aug 03, 2008 1:06 pm    Post subject: netmount shedule to any interface Reply with quote

Solution is to edit /etc/rc.conf and not /etc/conf.d/rc (I suppose you use OpenRC)

Just edit line:
Code:
rc_depend_strict="YES"

to
Code:
rc_depend_strict="NO"


Good luck! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum