[pkg-dhcp-devel] Bug#677985: Bug#677985: dhclient doesn't set subnet correct on kfreebsd

Christoph Egger christoph at debian.org
Tue Jun 26 17:14:36 UTC 2012


Andrew Pollock <apollock at debian.org> writes:
> On Tue, Jun 26, 2012 at 01:28:42PM +0200, Christoph Egger wrote:
>> Christoph Egger <christoph at debian.org> writes:
>> > Andrew Pollock <apollock at debian.org> writes:
>> >> On Mon, Jun 18, 2012 at 02:54:06PM +0200, Christoph Egger wrote:
>> >>> >   dhclient fails to correctly specify the netmask on kfreebsd
>> >>> > resulting in a wrong routing for the local network. set -x from
>> >>> > dhclient-script attached.
>> >>> 
>> >>> Note: as a result I get a /24 network set here while dhcp should set a /23
>> >>> 
>> >>
>> >> Can you please tell me if doing
>> >>
>> >> perl -pi -e 's/new_netmask_arg/new_subnet_mask/' /sbin/dhclient-script
>> >
>> > no, I need to write netmask right before the $new_subnet_mask. before
>> > the broadcast part the `broadcast' keyword is probably necessary as well
>> > if a extra broadcast address is needed
>> 
>> Hmm reading the script. probably this part of #645502 should be reverted
>> as I guess the other *_arg variables are also not available on
>> isc-dhcp-client in Debian. Adding rmh into Cc for comments.
>
> Please advise as soon as possible. I'm making an upload of 4.2.4 before the
> freeze deadline, and I'd like to fix this bug in that upload.

Please if you do the upload include the change to make $new_netmask_arg
a ${new_subnet_mask:+netmask $new_subnet_mask} or something like
that. Haven't seen any real problems in my setups with it included at
least. Eventually Robert can give some input or me do some reeasech
there hopefully before the freeze.

Regards

    Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer





More information about the pkg-dhcp-devel mailing list