Bug 15671

Summary: version 3.2.3 wrong CLIENTID
Product: Sisyphus Reporter: Alexey Shabalin <shaba>
Component: dhcpcdAssignee: Mikhail Efremov <sem>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: mike, sem, shaba
Version: unstable   
Hardware: all   
OS: Linux   

Description Alexey Shabalin 2008-05-15 17:12:10 MSD
На MS dhcp-сервере для меня зарезервирован адрес(172.16.1.38).
С dhcpcd-3.0.17-alt4 всё работает нормально.
установил dhcpcd-3.2.3-alt0.2.i586.rpm из Daedalus. Зарезервированный адрес
больше не выдаётся.

Лог от 3.0.17:
---------
May 15 16:31:52 shabalin2 dhcpcd[27906]: integ: dhcpcd 3.0.17 starting
May 15 16:31:52 shabalin2 dhcpcd[27906]: integ: hardware address = 00:18:f3:8a:e0:a5
May 15 16:31:52 shabalin2 dhcpcd[27906]: integ: broadcasting for a lease
May 15 16:31:52 shabalin2 dhcpcd[27906]: integ: offered 172.16.1.38 from
91.103.64.36
May 15 16:31:52 shabalin2 dhcpcd[27906]: integ: leased 172.16.1.38 for 2592000
seconds
May 15 16:31:52 shabalin2 dhcpcd[27906]: integ: adding IP address 172.16.1.38/16
May 15 16:31:52 shabalin2 dhcpcd[27906]: integ: adding default route via
172.16.0.1 metric 0
May 15 16:31:52 shabalin2 dhcpcd.sh: interface integ has been configured with
new IP=172.16.1.38
May 15 16:32:50 shabalin2 dhcpcd[27906]: integ: received SIGINT, stopping
May 15 16:32:50 shabalin2 dhcpcd[27906]: integ: removing default route via
172.16.0.1 metric 0
May 15 16:32:50 shabalin2 dhcpcd[27906]: integ: deleting IP address 172.16.1.38/16
May 15 16:32:50 shabalin2 dhcpcd[27906]: integ: exiting
May 15 16:32:50 shabalin2 dhcpcd.sh: interface integ has been brought down
-------

Лог от 3.2.3
-------
May 15 16:51:54 shabalin2 rpm: dhcpcd-3.2.3-alt0.2 installed
May 15 16:51:54 shabalin2 rpm: dhcpcd-1:3.0.17-alt4 removed
May 15 16:52:04 shabalin2 kernel: r8169: integ: link up
May 15 16:52:04 shabalin2 dhcpcd[28875]: integ: dhcpcd 3.2.3 starting
May 15 16:52:04 shabalin2 dhcpcd[28875]: integ: hardware address = 00:18:f3:8a:e0:a5
May 15 16:52:04 shabalin2 dhcpcd[28875]: integ: DUID =
00:01:00:01:0f:be:94:b1:00:18:f3:8a:e0:a5
May 15 16:52:04 shabalin2 dhcpcd[28875]: integ: broadcasting for a lease
May 15 16:52:04 shabalin2 dhcpcd[28875]: integ: offered 172.16.2.150 from
91.103.64.36
May 15 16:52:04 shabalin2 dhcpcd[28875]: integ: checking 172.16.2.150 is
available on attached networks
May 15 16:52:05 shabalin2 dhcpcd[28875]: integ: leased 172.16.2.150 for 2592000
seconds
May 15 16:52:05 shabalin2 dhcpcd[28875]: integ: adding IP address 172.16.2.150/16
May 15 16:52:05 shabalin2 dhcpcd[28875]: integ: adding default route via
172.16.0.1 metric 0
May 15 16:52:05 shabalin2 dhcpcd[28875]: integ: adding route to 169.254.0.0/16
metric 0
May 15 16:52:05 shabalin2 dhcpcd[28875]: integ: exiting

непонятно почему включается DUID.
С параметром -I игратся пробовал - не помогает.

информация из /var/lib/dhcpcd

diff -u dhcpcd-integ.info dhcpcd-integ.info.new 
--- dhcpcd-integ.info	2008-05-15 16:47:09 +0400
+++ dhcpcd-integ.info.new	2008-05-15 16:52:05 +0400
@@ -1,15 +1,17 @@
-IPADDR='172.16.1.38'
+IPADDR='172.16.2.150'
 NETMASK='255.255.0.0'
+NETWORK='172.16.0.0'
 BROADCAST='172.16.255.255'
-ROUTES='0.0.0.0,0.0.0.0,172.16.0.1'
+ROUTES=''
+GATEWAYS='172.16.0.1'
 DNSDOMAIN='avp.ru'
 DNSSERVERS='91.103.64.3 91.103.64.4'
 DHCPSID='91.103.64.36'
-DHCPSNAME=''
+LEASEDFROM='1210855924'
 LEASETIME='2592000'
 RENEWALTIME='1296000'
 REBINDTIME='2268000'
 INTERFACE='integ'
-CLASSID='dhcpcd 3.0.17'
-CLIENTID='00:18:f3:8a:e0:a5'
+CLASSID='dhcpcd 3.2.3'
+CLIENTID='ff:00:00:00:03:00:01:00:01:0f:be:94:b1:00:18:f3:8a:e0:a5'
 DHCPCHADDR='00:18:f3:8a:e0:a5'

плюс ещё появляется файл dhcpcd.duid содержащий
00:01:00:01:0f:be:94:b1:00:18:f3:8a:e0:a5

Steps to Reproduce:
1.ip адрес зарезервирован на MS dhcp сервере (возможно такое же поведение с
другим сервером)
2.обновлённый dhcpcd-3.2.3
3.
Actual Results:  
не выдаётся зарезервированный адрес
Comment 1 Michael Shigorin 2009-02-14 18:38:07 MSK
Просьба посмотреть текущую версию.
Comment 2 Alexey Shabalin 2009-04-17 18:09:08 MSD
c dhcpcd-4.0.12-alt5 (я думаю что и с предыдущими 4.х.х) работает нормально.