From owner-freebsd-current@freebsd.org Fri Apr 20 15:07:50 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD3C5FAAF76 for ; Fri, 20 Apr 2018 15:07:50 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 484256B648; Fri, 20 Apr 2018 15:07:46 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w3KF7cwC071123; Fri, 20 Apr 2018 08:07:38 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w3KF7cpV071122; Fri, 20 Apr 2018 08:07:38 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201804201507.w3KF7cpV071122@pdx.rh.CN85.dnsmgr.net> Subject: Re: HEADS-UP: Deprecation of legacy (v3) password database support In-Reply-To: <20180420134230.GB62725@freebsd.org> To: Ed Maste Date: Fri, 20 Apr 2018 08:07:38 -0700 (PDT) CC: freebsd-current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 15:07:51 -0000 > FreeBSD password databases (/etc/pwd.db, /etc/spwd.db) can contain > records in one or both of two versions: > * v3, a legacy architecture-dependent format > * v4, the current architecture- and endian-independent format > > When v4 support was added in 2003 (r113596) pwd_mkdb emitted both v3 and > v4 records in the output database. In 2015 r283981 added a -l option to > control the emission of legacy v3 records; by default only v4 records > are emitted. > > r283981's commit message states: > > The -l, -B and -L options are considered deprecated and will be > removed in FreeBSD 12.0 release. > > I'd expect little impact if the -l, -B and -L options are removed, as > r113596 is included in FreeBSD 5.1 and later. If legacy support is > removed then software built on FreeBSD 5.0 or earlier will no longer be > able to make use of password file data (via getpwent, getpwnam, etc.). > Such software would still function inside of a jail that has a v3 > password database, of course. > > Is anyone using pwd_mkdb's -l option and relying on legacy password > database files in a non-jailed context? You would reach a more likely audience on freebsd-stable than on freebsd-current. -- Rod Grimes rgrimes@freebsd.org