|
Bugzilla – Full Text Bug Listing |
| Summary: | Services/Daemons depending on network shouldn't start if DHCP hasn't recieved an IP Address yet | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Justin Haygood <jhaygood> |
| Component: | Network | Assignee: | Dr. Werner Fink <werner> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | gnome-bugs, werner |
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | SuSE Linux 10.1 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Justin Haygood
2006-02-16 04:02:00 UTC
Can you point out more services that are affected by this? If your DHCP server is so slow, maby you should increase the timeout value? I don't have very many services running on here (tis a laptop), but some others I can probably think of that might be good: NFS / SMB mounting of remote directories (maybe) if any is done during initial init Possibly others, essentially any daemon that needs Internet access when it starts. The DHCP server is slow, but it takes it around 6 seconds to send an IP address. ntpd starts up almost immediately after NetworkManager (less than 2 seconds) and fails because it can't connect. Let's ask Werner for a comment here. I also take the gnome maintainers (NetworkManager) into CC. Reassigning, this would be something for Werner anyway... if your services depend on an _configured_ device opposed to an started device you have to use the configuration process and not the start process for traditional setup this would be /etc/sysconfig/ifservice-<id> like /etc/sysconfig/ifservice-eth0/S01service -> ../../../init.d/service /etc/sysconfig/ifservice-eth0/K99service -> ../../../init.d/service for NetworkManager that is /etc/NetworkManager/dispatcher.d Then shouldn't YaST automatically configure services it configures to do this? The service in question that's the main problem (ntpd) was configured by doing the following: 1. Opening YaST 2. Choosing Network Services 3. Choosing NTP client 4. Automatically Start NTP Daemon during boot is checked 5. Use Random Services from NTP Pool is checked 6. Clicking Finish Since the GUI configured it, it should automatically configure everything needed I believe. I'm not exactly a UNIX/Linux guru (tho I am a programmer, I don't delve into system details if I don't have to). |