Bug 15267

Summary: /etc/init.d/network cannot restart when BOOTPROTO is dhcp-ipv4ll
Product: ПСПО Reporter: Ivan Grushin <mcgru>
Component: usabilityAssignee: ruslandh <ruslandh>
Status: CLOSED FIXED QA Contact: Andrey Cherepanov <cas>
Severity: normal    
Priority: P2 CC: dottedmag, ktirf
Version: snapshot   
Hardware: all   
OS: Linux   
URL: http://pastebin.com/m45c97d75
Bug Depends on: 15274    
Bug Blocks:    

Description Ivan Grushin 2008-04-08 15:14:12 MSD
After i installed the Alt Junior 4.0, the BOOTPROTO in
/etc/net/ifaces/eth0/options was set to 'dhcp-ipv4ll'. 
While restarting 'network' service, the dhcpcd is not killed when
BOOTPROTO=dhcp-ipv4ll due to missing strings in /etc/net/scripts/functions that
kills program with pid `cat /var/run/dhcpcd-ethX.pid`.
There is only `cat /var/run/autoipd/avahi-autoipd.$NAME.pid` is killed, when the
sub stop_ipv4ll_client() is used.

Steps to Reproduce:
1. Setup ethX with BOOTPROTO=dhcp-ipv4ll
2. service network restart
3. service network restart (should be restarted twice)
Actual Results:  
ethX cannot start due to running dhcpcd (/var/run/dhcpcd-ethX.pid exists)

Expected Results:  
Network should be restarted successfully, and new ip-address should be received
with dhcpcd.
Comment 1 Sergey Bolshakov 2008-04-17 19:39:12 MSD
fixed in beta 20080411