Hello community, here is the log from the commit of package dhcp for openSUSE:11.4 checked in at Mon Jan 23 18:10:59 CET 2012. -------- --- old-versions/11.4/UPDATES/all/dhcp/dhcp.changes 2011-12-09 14:22:17.000000000 +0100 +++ 11.4/dhcp/dhcp.changes 2012-01-17 16:15:17.000000000 +0100 @@ -1,0 +2,9 @@ +Tue Jan 17 14:33:20 UTC 2012 - mt@suse.com + +- Fixed incorrect "a" array type option parsing causing to discard + e.g. classless static routes from lease file [reported as ISC-Bug + 27289] and zero-length option parsing such as dhcp6.rapid-commit + in dhclient6 [reported as ISC-Bug 27314] (bnc#739696). +- Fixed dhclient to include its pid number in syslog messages. + +------------------------------------------------------------------- calling whatdependson for 11.4-i586 New: ---- dhcp-4.2.1-dhclient-parse_option_param-Bad-format-a.patch dhcp-4.2.1-dhclient6-zero-length-options.patch dhcp-4.2.1-use-pid-in-dhclient-logs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dhcp.spec ++++++ --- /var/tmp/diff_new_pack.kcQOJO/_old 2012-01-23 18:09:32.000000000 +0100 +++ /var/tmp/diff_new_pack.kcQOJO/_new 2012-01-23 18:09:32.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package dhcp # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,7 +36,7 @@ Group: Productivity/Networking/Boot/Servers AutoReqProv: on Version: 4.2.1 -Release: 0.<RELEASE11> +Release: 0.<RELEASE13> Summary: Common Files Used by ISC DHCP Software Url: http://www.isc.org/software/dhcp Source0: dhcp-%{isc_version}.tar.bz2 @@ -86,6 +86,9 @@ Patch46: dhcp-4.2.1-CVE-2011-2748_2749.diff Patch47: dhcp-4.2.2-quiet-dhclient.bnc711420.diff Patch48: dhcp-4.2.2-CVE-2011-4539-regex-DoS.bnc735610.diff +Patch49: dhcp-4.2.1-dhclient-parse_option_param-Bad-format-a.patch +Patch50: dhcp-4.2.1-dhclient6-zero-length-options.patch +Patch51: dhcp-4.2.1-use-pid-in-dhclient-logs.patch ## PreReq: /bin/touch /sbin/chkconfig sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -214,6 +217,9 @@ %patch46 -p1 %patch47 -p1 %patch48 -p1 +%patch49 -p1 +%patch50 -p1 +%patch51 -p1 ## find . -type f -name \*.cat\* -exec rm -f {} \; dos2unix contrib/ms2isc/* ++++++ dhcp-4.2.1-dhclient-parse_option_param-Bad-format-a.patch ++++++
From 19248f4207e55ecb1f5cdd9eb084f1a69470afaf Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski
Date: Thu, 5 Jan 2012 16:20:42 +0100 Subject: [PATCH] dhclient: parse_option_param: Bad format a
When the server provides options using the "a" array type, such as:
option rfc3442-classless-routes code 121 = array of unsigned integer 8;
the option is stored into the lease file, but when the client reads the
lease file next time, it complains about, because "a" array type aren't
recognized in the parsing loop and the option (lease?) discarded.
Signed-off-by: Marius Tomaschewski
From 8164c6ca7e54da9ed201993468872eb10fa527b4 Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski
Date: Thu, 5 Jan 2012 16:28:50 +0100 Subject: [PATCH] zero-length option lease parse error in dhclient6
common/parse.c:
Use peek_token only or the next_token call behind the while loop
will cause two warnings / errors in the log:
lease line XX: semicolon expected.
lease line XX: Unexpected end of file.
[there is a } behind the semicolon as the next token in my case]
and the option (lease?) gets discarded.
To reproduce, use "send dhcp6.rapid-commit;" to /etc/dhclient6.conf,
remove the lease file and start the client. When the lease is bound,
kill the client and start it again.
client/dhclient.c:
More of cosmetic nature - do not print zero-length options like there
would be a value missed, e.g. " option dhcp6.rapid-commit ;".
Signed-off-by: Marius Tomaschewski
From 523d9604e45a05028a59e8ad9ba9bdfdb32f3d37 Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski
Date: Thu, 5 Jan 2012 16:25:18 +0100 Subject: [PATCH] Use pid number in dhclient log messages
Troubleshooting help to make it visible which client is reporting
as there may be more than one running (v4 + v6 multiple interfaces).
Signed-off-by: Marius Tomaschewski