From owner-freebsd-stable@FreeBSD.ORG Wed Apr 10 14:40:01 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B2A03E20 for ; Wed, 10 Apr 2013 14:40:01 +0000 (UTC) (envelope-from damonray@mac.hush.com) Received: from smtp10.hushmail.com (smtp10a.hushmail.com [65.39.178.239]) by mx1.freebsd.org (Postfix) with ESMTP id 95E2D220 for ; Wed, 10 Apr 2013 14:40:01 +0000 (UTC) Received: from smtp10.hushmail.com (smtp10a.hushmail.com [65.39.178.239]) by smtp10.hushmail.com (Postfix) with SMTP id 5787B1B5242 for ; Wed, 10 Apr 2013 14:09:53 +0000 (UTC) Received: from smtp.hushmail.com (w4.hushmail.com [65.39.178.50]) by smtp10.hushmail.com (Postfix) with ESMTP; Wed, 10 Apr 2013 14:09:53 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 31C3D10E2D3; Wed, 10 Apr 2013 14:09:53 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 10 Apr 2013 09:09:52 -0500 To: "Fabian Wenk" , freebsd-stable@freebsd.org Subject: Re: Ghosted logins in w/who From: damonray@mac.hush.com In-Reply-To: <516428D2.9020701@wenks.ch> References: <20130409015643.0817D10E2C8@smtp.hushmail.com> <20130409022837.GA95155@icarus.home.lan> <516428D2.9020701@wenks.ch> Message-Id: <20130410140953.31C3D10E2D3@smtp.hushmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 14:40:01 -0000 If I wipe the utmp file all the w/who content goes away, resets if you will. But in a matter of moments the problem reappears.. is this something that needs to be submitted as a bug report do you think? Thanks! Damon On 4/9/2013 at 9:42 AM, "Fabian Wenk" wrote:Hello Daniel On 09.04.2013 12:07, Daniel Braniss wrote: > something changed beteen 8 and 9 with respect of handling of utmp, > I tried to research this but got bogged down with other things. According to /usr/src/UPDATING: 20100113: The utmp user accounting database has been replaced with utmpx, the user accounting interface standardized by POSIX. Unfortunately the semantics of utmp and utmpx don't match, making it practically impossible to support both interfaces. The user accounting database is used by tools like finger(1), last(1), talk(1), w(1) and ac(8). All applications in the base system use utmpx. This means only local binaries (e.g. from the ports tree) may still use these utmp database files. These applications must be rebuilt to make use of utmpx. After the system has been upgraded, it is safe to remove the old log files (/var/run/utmp, /var/log/lastlog and /var/log/wtmp*), assuming their contents is of no importance anymore. Old wtmp databases can only be used by last(1) and ac(8) after they have been converted to the new format using wtmpcvt(1). Could this have any impact regarding this issue with telnet login? bye Fabian _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Wed Apr 10 14:43:33 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B6D42348 for ; Wed, 10 Apr 2013 14:43:33 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 4986526C for ; Wed, 10 Apr 2013 14:43:33 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UPwF5-0007iA-Tr; Wed, 10 Apr 2013 16:43:20 +0200 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UPwF5-0001Ln-1X; Wed, 10 Apr 2013 16:43:19 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Fabian Wenk" , freebsd-stable@freebsd.org, damonray@mac.hush.com Subject: Re: Ghosted logins in w/who References: <20130409015643.0817D10E2C8@smtp.hushmail.com> <20130409022837.GA95155@icarus.home.lan> <516428D2.9020701@wenks.ch> <20130410140953.31C3D10E2D3@smtp.hushmail.com> Date: Wed, 10 Apr 2013 16:43:17 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <20130410140953.31C3D10E2D3@smtp.hushmail.com> User-Agent: Opera Mail/12.15 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.5 X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.1 X-Scan-Signature: 74bd734068bee68206891dc8710ce62a X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 14:43:33 -0000 On Wed, 10 Apr 2013 16:09:52 +0200, wrote: > If I wipe the utmp file all the w/who content goes away, resets if you > will. But in a matter of moments the problem reappears.. is this > something that needs to be submitted as a bug report do you think? > Thanks! > Damon Did you upgrade correctly? Did you also ran make delete-old and make delete-old-libs? And did you rebuild all ports after that? Some things might use the old stuff still. Ronald. > > On 4/9/2013 at 9:42 AM, "Fabian Wenk" wrote:Hello Daniel > > On 09.04.2013 12:07, Daniel Braniss wrote: >> something changed beteen 8 and 9 with respect of handling of utmp, >> I tried to research this but got bogged down with other things. > > According to /usr/src/UPDATING: > > 20100113: > The utmp user accounting database has been replaced with utmpx, > the user accounting interface standardized by POSIX. > Unfortunately the semantics of utmp and utmpx don't match, > making it practically impossible to support both interfaces. > The user accounting database is used by tools like finger(1), > last(1), talk(1), w(1) and ac(8). > > All applications in the base system use utmpx. This means only > local binaries (e.g. from the ports tree) may still use these > utmp database files. These applications must be rebuilt to make > use of utmpx. > > After the system has been upgraded, it is safe to remove the old > log files (/var/run/utmp, /var/log/lastlog and /var/log/wtmp*), > assuming their contents is of no importance anymore. Old wtmp > databases can only be used by last(1) and ac(8) after they have > been converted to the new format using wtmpcvt(1). > Could this have any impact regarding this issue with telnet login? > bye > Fabian > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"