From nobody Wed May 04 18:12:43 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 75CCE1AB2C52 for ; Wed, 4 May 2022 18:12:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KtlL32BdLz4t7L for ; Wed, 4 May 2022 18:12:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2C4AB17B19 for ; Wed, 4 May 2022 18:12:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 244IChVl078381 for ; Wed, 4 May 2022 18:12:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 244IChpq078380 for bugs@FreeBSD.org; Wed, 4 May 2022 18:12:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262821] dhclient keeps contradicting leases Date: Wed, 04 May 2022 18:12:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: igor-fbsdbugs@grinchenko.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651687963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vxQwcmug8S3Rc+OOpPV8/3omsUj9Jhi+B8fIOzA3LaU=; b=AXf+0k9s1Lzy+EEAdolQOMvl7LTKFOsAIndKYIAM0fFYe+2oawJ48tWQoEebmQN1Pstvqu xNup0/7qWpSEUNTKdKYSJn9FMFQ1wfx+0L+P1sL9xt2LM2DLRJJMLxiT8rJBzHboTMd0D7 c7ic1vy6QSlaFbC/Hvz0brGk2gEK3R2HYp/gEoQda67seqRVOvgTTsFj0c1tqXe9Z1cIYe BaCCfAQCUJxzA0pRYHd0ocCfPCnilW/VB8hZ1JCKKLhLh067mSREwo9neUGMDdDWijl66F QJsCB+nRB5eQWvXZSsTjoGfh9HG67QqlD7J4IG0KiBdyh33O7Avvfcg92G6w6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651687963; a=rsa-sha256; cv=none; b=McVRJQiUe+gl+mGOCZeMBYIfwt/tRzPaa5gPJPuziqQa0i1jfVp1S+HJW3ebH/VxyiTlNA ZaSjRLHClN2Pu9VTxZDsIFVYAZLw4eW38+FJBNr0n5meVO+x2Rhu95vQ4Z07mc6EMbJG9u baL/CMO+zFyJrCnXRC9PUA7rpfvnzUv7O+grVCx6tmgr3BUqtQDmOee4CqiDYqfxweTKD7 K2LSlSyhgSVJBbCz3U/9+mYmQ2NbyWBvD0Y9PQoQ/v29Du5hZCvcTExskM+331Qs4QvKdL W32bjz7pcGWxYWZqkzkiaV4puou7d9UI+6fwQWHuCNYKpHt9JZve78vZMEl7SA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262821 igor-fbsdbugs@grinchenko.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |igor-fbsdbugs@grinchenko.or | |g --- Comment #1 from igor-fbsdbugs@grinchenko.org --- Another side effect of "old leases" functionality is causing issues in runn= ing FreeBSD from custom created images in public clouds. If DHCP server is not fast enough to provide its data - dhclient first assigns old IP=20 - adds old default route then when it finally gets DHCP data from DHCP server - dhclient assigns the right IP to the interface - doesn't touch the default route which obviously results in unreachable VMs. Workaround is to remove dhclient.leases. before baking a new ima= ge. Dhclient's "Old leases" functionality is playing bad tricks, it would be gr= eat to have a way to have it disabled with an rc.conf tunable. --=20 You are receiving this mail because: You are the assignee for the bug.=