From owner-freebsd-current@FreeBSD.ORG Mon Jan 18 16:33:03 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 329D5106568B for ; Mon, 18 Jan 2010 16:33:03 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id AEB4B8FC16 for ; Mon, 18 Jan 2010 16:33:02 +0000 (UTC) Received: by fxm27 with SMTP id 27so2454036fxm.3 for ; Mon, 18 Jan 2010 08:33:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=PN+8ZmUYvC3fOBBrSn2RUN9+2+QSH6+uswf1JqFxHJ0=; b=eLBGW1l4EZcbN3jNatY7zu5OL3gAG+d0270CPxpAn6fDZ552j4UNYzSVLen4nXzno0 wv0lSHZu1HHQjfP8W/ndpqGiq7YlbmjGLyxeJFHTK4zKp+/BTWxX5EZkYwWlh+NkfeHg CeH7tAixJKz4NG5tofe5WbTOr133qtJum7xcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=CBMuh04i9mM4M4qBRE96fUeA2bIYwXMYu22ymYOKipi1xCyoJLEsl70nP9AEaHJK1d f0OKE2szSRL3uGPU2ZI6FyGm0u/NABC/oEbN6SZOPTamGhzzAdWBWqeMZOGdwbtfAXvJ ffjz95hclRFCj6Elqe3Ah9ibfPJ15dXXZsyCg= Received: by 10.87.45.14 with SMTP id x14mr7914281fgj.6.1263830756578; Mon, 18 Jan 2010 08:05:56 -0800 (PST) Received: from darklight.org.ru ([213.132.76.16]) by mx.google.com with ESMTPS id l19sm10656214fgb.13.2010.01.18.08.05.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Jan 2010 08:05:55 -0800 (PST) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.3/8.14.3) with ESMTP id o0IG5qYj003440; Mon, 18 Jan 2010 19:05:52 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.3/8.14.3/Submit) id o0IG5pCQ003439; Mon, 18 Jan 2010 19:05:51 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Mon, 18 Jan 2010 19:05:51 +0300 From: Yuri Pankov To: Ed Schouten Message-ID: <20100118160551.GA1699@darklight.org.ru> References: <20100113194254.GR64905@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100113194254.GR64905@hoeg.nl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ports@freebsd.org, mav@freebsd.org, current@freebsd.org Subject: Re: HEADS UP: gone. All welcome . X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 18 Jan 2010 16:33:03 -0000 On Wed, Jan 13, 2010 at 08:42:54PM +0100, Ed Schouten wrote: > Hello everyone, > > I just made various commits to FreeBSD HEAD to remove our old user > accounting database interface (see utmp(5)) and replace it by the POSIX > standardized utmpx interface (see getutxent(3)). This means we just got > rid of some annoyances that are as old as the FreeBSD project itself: > > - Hostnames were originally restricted to 16 bytes, which is way too > short for your average hostname generated by your ISP, but also for > IPv6 addresses, which are at most 32 + 7 = 39 characters. > > - No support for login sessions not related to TTYs, like ppp(8), > ftpd(8) sessions. > > - No support for multiple login sessions on one TTY, for example > generated by login(1). > > I was not able to give us a smooth transition from utmp towards utmpx, > simply because our utmp implementation offered almost no utility > functions, which means all consumers modify the database files > themselves. This means you should probably recompile any applications > you're interested in that uses the user accounting database. I realize > this may be quite uncomfortable, but we can't always win. > > [ This information is mainly for port maintainers: ] > > I've noticed there is some breakage in ports, but it shouldn't be too > serious. I've seen cases where an application includes , even > though it doesn't use anything provided by that header. In other cases > they used fields like UT_NAMESIZE to derive the maximum user name length > supported by the system, which is clearly not what this definition was > intended for. I've incremented __FreeBSD_version to 900007 to identify > the import of utmpx. In case a certain port breaks badly, let me know > and I'm willing to take a look at it. > > Be sure to give it a try and report any issues. Thanks! > > -- > Ed Schouten > WWW: http://80386.nl/ net/mpd{4,5} seem to be broken as well: In file included from auth.h:22, from bund.h:22, from ppp.h:117, from modem.c:10: /usr/include/utmp.h:2:2: error: #error " has been replaced by " *** Error code 1 Yuri