https://bugzilla.novell.com/show_bug.cgi?id=841315 https://bugzilla.novell.com/show_bug.cgi?id=841315#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-09-20 12:36:31 CEST --- systemctl show -p ConsistsOf network.service shows network@eth0.service and systemctl status network@eth0.service network@eth0.service - ifup managed network interface eth0 Loaded: loaded (/usr/lib/systemd/system/network@.service; static) Active: active (exited) since Thu 2013-09-19 11:35:16 EDT; 18h ago Process: 858 ExecStart=/sbin/ifup %i (code=exited, status=12) Main PID: 1001 (code=exited, status=0/SUCCESS) Sep 19 11:35:16 susetest systemd[1]: Started ifup managed network interface eth0. Sep 19 11:35:17 susetest dhcpcd[1001]: eth0: exiting Sep 19 23:35:17 susetest dhcpcd[2324]: eth0: renewing lease of 10.0.2.15 Sep 19 23:35:17 susetest dhcpcd[2324]: eth0: leased 10.0.2.15 for 86400 seconds Sep 19 23:35:17 susetest dhcpcd[2324]: eth0: no renewal time supplied, assuming 43200 seconds Sep 19 23:35:17 susetest dhcpcd[2324]: eth0: no rebind time supplied, assuming 75600 seconds Sep 19 23:35:17 susetest dhcpcd[2324]: eth0: adding IP address 10.0.2.15/24 Sep 19 23:35:17 susetest dhcpcd[2324]: eth0: adding default route via 10.0.2.2 metric 0 Sep 19 23:35:17 susetest dhcpcd[2324]: eth0: Failed to lookup hostname via DNS: Name or service not known Sep 19 23:35:17 susetest ifup[3989]: eth0 name: Ethernet Card 0 when I add an entry to /etc/hosts with the IP and long and short hostname, it works a bit better but still fails from init 5 # systemctl status network@eth0.service network@eth0.service - ifup managed network interface eth0 Loaded: loaded (/usr/lib/systemd/system/network@.service; static) Active: active (exited) since Fri 2013-09-20 06:29:36 EDT; 40s ago Process: 857 ExecStart=/sbin/ifup %i (code=exited, status=12) Main PID: 1000 (code=exited, status=0/SUCCESS) Sep 20 06:29:28 susetest ifup-dhcp[1731]: . Sep 20 06:29:30 susetest ifup-dhcp[1833]: . Sep 20 06:29:32 susetest ifup-dhcp[1935]: . Sep 20 06:29:35 susetest ifup-dhcp[2037]: . Sep 20 06:29:36 susetest ifup[857]: Starting DHCP4 client on eth0. . . . . . . Sep 20 06:29:36 susetest ifup-dhcp[2085]: Sep 20 06:29:36 susetest ifup[857]: eth0 DHCP4 continues in background Sep 20 06:29:36 susetest ifup-dhcp[2088]: eth0 DHCP4 continues in backg...d Sep 20 06:29:36 susetest systemd[1]: Started ifup managed network interface...0. Sep 20 06:29:37 susetest dhcpcd[1000]: eth0: exiting Hint: Some lines were ellipsized, use -l to show in full. but after a rcnetwork restart it looks thus: Loaded: loaded (/usr/lib/systemd/system/network@.service; static) Active: active (running) since Fri 2013-09-20 06:32:33 EDT; 3s ago Process: 3812 ExecStart=/sbin/ifup %i (code=exited, status=0/SUCCESS) Main PID: 4406 (dhcpcd) CGroup: /system.slice/system-network.slice/network@eth0.service └─4406 /sbin/dhcpcd --netconfig -L -E -HHH -c /etc/sysconfig/network/scripts/dhcpcd-hook -t 0 -h susetest eth0 Sep 20 06:32:33 susetest dhcpcd[3955]: eth0: adding default route via 10.0.2.2 metric 0 Sep 20 06:32:33 susetest ifdown[4183]: eth0 name: Ethernet Card 0 Sep 20 06:32:33 susetest dhcpcd[3955]: eth0: setting hostname to `susetest' Sep 20 06:32:33 susetest ifup[4283]: eth0 name: Ethernet Card 0 Sep 20 06:32:33 susetest dhcpcd[3955]: eth0: exiting Sep 20 06:32:33 susetest ifup[3812]: Starting DHCP4 client on eth0. Sep 20 06:32:33 susetest ifup-dhcp[4413]: Sep 20 06:32:33 susetest ifup[3812]: eth0 IP address: 10.0.2.15/24 Sep 20 06:32:33 susetest ifup-dhcp[4416]: eth0 IP address: 10.0.2.15/24 Sep 20 06:32:33 susetest systemd[1]: Started ifup managed network interface eth0. even knowing about the dhcpcd process then. still, after init 5 the status is bad: Loaded: loaded (/usr/lib/systemd/system/network@.service; static) Active: failed (Result: exit-code) since Fri 2013-09-20 06:34:12 EDT; 42s ago Process: 4535 ExecStop=/sbin/ifdown %i (code=exited, status=0/SUCCESS) Process: 3812 ExecStart=/sbin/ifup %i (code=exited, status=0/SUCCESS) Main PID: 4406 (code=exited, status=1/FAILURE) Sep 20 06:34:11 susetest ifdown[4535]: eth0 name: Ethernet Card 0 Sep 20 06:34:11 susetest ifdown[4599]: eth0 name: Ethernet Card 0 Sep 20 06:34:11 susetest dhcpcd[4629]: eth0: sending signal 15 to pid 4406 Sep 20 06:34:11 susetest dhcpcd[4406]: eth0: received SIGTERM, stopping Sep 20 06:34:11 susetest dhcpcd[4406]: eth0: removing default route via 10.0.2.2 metric 0 Sep 20 06:34:11 susetest dhcpcd[4406]: eth0: removing IP address 10.0.2.15/24 Sep 20 06:34:11 susetest dhcpcd[4406]: eth0: exiting Sep 20 06:34:11 susetest systemd[1]: network@eth0.service: main process exited, code=exited, status=1/FAILURE Sep 20 06:34:12 susetest systemd[1]: Stopped ifup managed network interface eth0. Sep 20 06:34:12 susetest systemd[1]: Unit network@eth0.service entered failed state. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.