Bug 15267 - /etc/init.d/network cannot restart when BOOTPROTO is dhcp-ipv4ll
Summary: /etc/init.d/network cannot restart when BOOTPROTO is dhcp-ipv4ll
Status: CLOSED FIXED
Alias: None
Product: ПСПО
Classification: Distributions
Component: usability (show other bugs)
Version: snapshot
Hardware: all Linux
: P2 normal
Assignee: ruslandh
QA Contact: Andrey Cherepanov
URL: http://pastebin.com/m45c97d75
Keywords:
Depends on: 15274
Blocks:
  Show dependency tree
 
Reported: 2008-04-08 15:14 MSD by Ivan Grushin
Modified: 2009-02-10 15:56 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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