Bug 112909

Summary: dhcp not running on eth0 after installation
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jana Jaeger <jjaeger>
Component: InstallationAssignee: Martin Vidner <mvidner>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Critical    
Priority: P5 - None CC: aj, asklein, email, fmfischer, frank, frederik.vos, jsuchome, kukuk, mc, meissner, mvidner, nemesis, vetter, yast2-maintainers
Version: Preview 1   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Documentation Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST2 logs
var/log/ from tait.suse.de
/etc/sysconfig/network/ifcfg-eth-id-00:11:11:e6:a5:af
y2logs RC1 on vmware

Description Jana Jaeger 2005-08-25 09:40:47 UTC
after installing beta3 and testing network connectivity (YOU) which worked at 
least during the install, I don't get any network in the installed system 
afterwards.

rcnetwork status gives me something like "dhcp... on eth0 ...... dead"

after a manual restart of dhcp on eth0, everything is fine again.

Network config under /etc/sysconfig/network/<device> reads normal, startmode is 
set to auto as you would expect.

Not sure whether this is an installation bug or rather a network issue or both.
Comment 1 Jana Jaeger 2005-08-25 09:42:22 UTC
Created attachment 47501 [details]
YaST2 logs
Comment 2 Martin Vidner 2005-08-25 10:19:45 UTC
From the yast point of view everything looks normal:
Devs=$["eth":$["id-00:00:1c:b5:a4:32":$["BOOTPROTO":"dhcp", "BROADCAST":"",
"IPADDR":"", "MTU":"", "NAME":"DELTA Electronics DECchip 21142/43",
"NETMASK":"255.255.255.0", "NETWORK":"", "REMOTE_IPADDR":"", "STARTMODE":"auto",
"UNIQUE":"rBUF.TKxDWpk5UB7", "USERCONTROL":"no", "_aliases":$[],
"_nm_name":"bus-pci-0000:01:08.0"]
]]

What happens when you call rcnetwork start?
Comment 3 Marcus Meissner 2005-08-25 11:21:23 UTC
same here. 
Comment 4 Jana Jaeger 2005-08-25 11:40:58 UTC
rcnetwork start starts everything as it is supposed to do. 
Comment 5 Christian Zoz 2005-08-25 12:21:51 UTC
Unfortunately i don't have this problem. Can someone reproduce it?

cp /var/lib/YaST2/install.inf /etc
touch /var/lib/YaST2/runme_at_boot
rm /etc/sysconfig/network/ifcfg-eth-*
reboot
Comment 6 Jana Jaeger 2005-08-25 12:28:41 UTC
do you want to know what happens or do you need some logs? If so which?
Comment 7 Jana Jaeger 2005-08-25 12:34:59 UTC
btw. dhcp works after doing the stuff you requested.

But feel free to get my hardware and try a fresh install if that helps
Comment 8 Christian Zoz 2005-08-25 13:19:51 UTC
I just made the same experience at kukuks machine. So thanks for your testing.
Comment 9 Michael Calmer 2005-08-25 14:15:31 UTC
I have also a problem with the network. 
 
Setting up network interfaces: 
    lo 
    lo        IP address: 127.0.0.1/8 
doneWaiting for mandatory devices:  eth-id-00:11:11:e6:a5:af 
19 18 17 16 15 14 13 12 <notice>checkproc: /opt/kde3/bin/kdm 2955 
11 10 9 8 7 6 5 4 3 2 1 0 
    eth-id-00:11:11:e6:a5:af            No interface found 
failedSetting up service 
network  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .failed 
 
I login as root and start yast2 network, all values are correct, finish the 
module and then I have an interface. 
 
After reboot it is gone.  
 
I attache some logs, ... 
 
Comment 10 Michael Calmer 2005-08-25 14:17:51 UTC
Created attachment 47559 [details]
var/log/ from tait.suse.de
Comment 11 Michael Calmer 2005-08-25 14:18:53 UTC
Created attachment 47560 [details]
/etc/sysconfig/network/ifcfg-eth-id-00:11:11:e6:a5:af
Comment 12 Christian Zoz 2005-08-25 15:12:25 UTC
Michael has another problem.

I'm still looking for someone who can reproduce the initial problem:
"Interface is available, but not or incomplete set up"
Comment 13 Christian Zoz 2005-08-26 07:52:58 UTC
Got it and can reproduce it. I compare timestamps in rcnetwork and during
installation time is changing if you don"t use UTC in your system clock. 
Comment 14 Andreas Jaeger 2005-08-26 08:31:46 UTC
So, it should not happen, if UTC is used?  Thorsten, Jana, do you use UTC?
Comment 15 Thorsten Kukuk 2005-08-26 08:47:00 UTC
YaST2 should use UTC one that machine, but it did not.
In the system eyes I'm using localtime. Yet Another YaST2 bug :(
Comment 16 Jana Jaeger 2005-08-26 09:10:45 UTC
YaST says I am using Local Time. The time settings were weird on this system 
anyway. 
Comment 17 Michael Calmer 2005-08-26 09:14:57 UTC
For me YaST say i am using UTC  
Comment 18 Christian Zoz 2005-08-26 12:45:34 UTC
*** Bug 106040 has been marked as a duplicate of this bug. ***
Comment 19 Christian Zoz 2005-08-26 15:27:07 UTC
In /work/built/mbuild/oran-zoz-2 is a sysconfig package that fixes this problem. 
(After next sync also in ftp.suse.com/pub/people/zoz/sysconfig)
If somebody will install again, please update to this package before first reboot.

As soon as /mnt/sbin/ifup exists:
killall -STOP y2base
rpm -Uhv -r /mnt .....
killall -CONT y2base
Comment 20 Christian Zoz 2005-08-26 18:14:07 UTC
submitted package --> initial problem fixed
Comment 21 Christian Zoz 2005-08-26 18:19:07 UTC
Michaels problem will be handled in bug 113408
Comment 22 Andreas Jaeger 2005-08-31 07:23:28 UTC
Same problem in beta4 if I use local time which is the default.

With UTC it does seem to work during my test.
Comment 23 Frank Seidel 2005-08-31 07:29:57 UTC
confirming. reproduced this (even on x86_64)
Comment 24 Stanislav Visnovsky 2005-08-31 08:09:47 UTC
Local time is proposed by YaST only if there is a windows partition found. 
Comment 25 Jiří Suchomel 2005-08-31 08:14:01 UTC
and according to the logs from comment #1 windows partition was found.
Comment 26 Thorsten Kukuk 2005-08-31 08:17:27 UTC
Seems YaST2 always finds a windows partition. My testmachine never had Windows
installed and there is no windows partition on it, but YaST2 claims:

clients/inst_timezone.ycp:236 windows partition found: assuming local time

(this is still from Beta3).
Comment 27 Andreas Jaeger 2005-08-31 08:20:12 UTC
Add comments #24-26: These comments belong to #114333.  The problem here is 
a network problem that occurs if localtime is used.

The localtime default is the bugreport #114333.
Comment 28 Klaus Kämpf 2005-08-31 08:29:20 UTC
#114333 is unrelated to the dhcp problem. It just triggers it in every case. 
 
The network setup must cope with changing timezones and utc/localtime during 
installation. 
Comment 29 Olaf Hering 2005-08-31 10:59:51 UTC
so, why does the timezone matter at all?
read /proc/uptime and use that. I'm sure it cant become negative in the cases we
see here.
Comment 30 Martin Vidner 2005-09-02 10:29:16 UTC
*** Bug 113606 has been marked as a duplicate of this bug. ***
Comment 31 Christian Zoz 2005-09-02 13:16:14 UTC
I removed timestamp stuff completely. It was a bad idea anyway. Now i use status
files for the interfaces. My test up to now were succesful (as always). So
please give ~zoz/Export/sysconfig/* a try (external in ftp.suse.com/pub/people/zoz)

This should be fixed now (finally).
Comment 32 Frank-Michael Fischer 2005-09-03 12:37:07 UTC
Just installed beta4. The bug is still there. 
Comment 33 Andreas Jaeger 2005-09-03 12:51:41 UTC
Yes -see comment #22 - and it's fixed now for RC1.
Comment 34 Frank-Michael Fischer 2005-09-03 15:53:24 UTC
sorry for the English: it WILL BE fixed in RC1, it can't be fixed in RC1, as 
RC1 is not on air yet. I am not sure it is smart to declare a bug as fixed 
when nobody from the betatesters has a distribution available to verify it's 
fixed. But this is just MHO. 
Comment 35 Andreas Jaeger 2005-09-03 16:04:28 UTC
It's fixed *for* RC1 - and therefore will be fixed in RC1.

Our practice is to close bugs once we fixed and submitted them.
Comment 36 Martin Vidner 2005-09-05 08:37:15 UTC
*** Bug 106040 has been marked as a duplicate of this bug. ***
Comment 37 Martin Vidner 2005-09-05 09:22:18 UTC
*** Bug 115005 has been marked as a duplicate of this bug. ***
Comment 38 Martin Vidner 2005-09-08 08:56:24 UTC
*** Bug 114948 has been marked as a duplicate of this bug. ***
Comment 39 Frank Rennemann 2005-09-09 06:41:56 UTC
I just installed RC1 twice and the bug is still there. Installed it on a
notebook and in vmware 4.5. Both installations show the same behaviour.
Network test during installation fails
YaST direct after installation gives the following status for the network device:

AMD PCnet - Fast 79C971
- Gerätename: eth-id-00:0c:29:78:55:5e
- IP-Adresse: , Subtezmaske 255.255.255.0
- Beim Booten automatisch gestartet

After editing only the machine name with YaSt network device window it changes
to the following:

AMD PCnet - Fast 79C971
- Gerätename: eth-id-00:0c:29:78:55:5e
- Über DHCP zugewiesene IP-Adresse
- Beim Booten automatisch gestartet
Comment 40 Frank Rennemann 2005-09-09 06:52:11 UTC
Created attachment 49328 [details]
y2logs RC1 on vmware
Comment 41 Frank Rennemann 2005-09-09 06:53:27 UTC
sorry, forgot to reopen the bug
Comment 42 Christian Zoz 2005-09-09 07:33:31 UTC
I don't believe that this is the same bug.

What is the state of the network when network test is performed. Switch to
cosole 2 and send us the output of 
  ip a; ip r
  ps ax | grep dhcp
And tell us what you did configure.

If network settings change, when you anly changed hostname, this is a YaST problem.
Comment 43 Martin Vidner 2005-09-09 11:39:39 UTC
It is unrelated. Bug 116092. 
Comment 44 Michal Zugec 2007-03-13 13:07:58 UTC
*** Bug 114370 has been marked as a duplicate of this bug. ***