From nobody@FreeBSD.org  Mon Sep 22 14:01:51 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 05704106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Sep 2008 14:01:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id EC10A8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Sep 2008 14:01:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m8ME1oS6094787
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Sep 2008 14:01:50 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id m8ME1oaK094786;
	Mon, 22 Sep 2008 14:01:50 GMT
	(envelope-from nobody)
Message-Id: <200809221401.m8ME1oaK094786@www.freebsd.org>
Date: Mon, 22 Sep 2008 14:01:50 GMT
From: "Michael P. Soulier" <msoulier@digitaltorque.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sshd not rebuilt in make buildworld
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         127541
>Category:       misc
>Synopsis:       sshd not rebuilt in make buildworld
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 22 14:10:01 UTC 2008
>Closed-Date:    Mon Sep 22 17:37:11 UTC 2008
>Last-Modified:  Mon Sep 22 17:37:11 UTC 2008
>Originator:     Michael P. Soulier
>Release:        6.3
>Organization:
>Environment:
FreeBSD kanga.digitaltorque.ca 6.3-RELEASE-p4 FreeBSD 6.3-RELEASE-p4 #0: Mon Sep 22 02:44:08 EDT 2008     root@kanga.digitaltorque.ca:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I upgraded from 5.5 to 6.3 via source, using cvsup1.FreeBSD.org.

My rebuilds seemed successful, and I booted into the new kernel to find that I had no ptys (screen wouldn't start, reporting that error) and that sshd wasn't up and wasn't working with pam, apparently calling a function pam_sm_acct_mgmt() that no longer exists in pam_nologin. 

Looking at the sshd timestamp I found that it was built in 2005. Looks like I haven't been getting a rebuild of it for some time. 

msoulier@kanga:...secure/lib/libssh$ ls /usr/src/secure/lib/libssh/
Makefile
msoulier@kanga:...secure/lib/libssh$ ls /usr/src/secure/usr.sbin/sshd/
Makefile

msoulier@kanga:...secure/lib/libssh$ ls -l /usr/sbin/sshd
-r-xr-xr-x  1 root  wheel  165404 May  8  2005 /usr/sbin/sshd

msoulier@kanga:...secure/lib/libssh$ grep RELENG /usr/local/etc/cvsup/stable-supfile
#  2.2-stable, change to "RELENG_4", "RELENG_3", or "RELENG_2_2" respectively.
#*default release=cvs tag=RELENG_5
#*default release=cvs tag=RELENG_5
*default release=cvs tag=RELENG_6_3

>How-To-Repeat:
I'm really not sure how it got into this condition. 
>Fix:
Presumably a rebuild of sshd, but why isn't it building in buildworld?

>Release-Note:
>Audit-Trail:

From: Remko Lodder <remko@FreeBSD.org>
To: "Michael P. Soulier" <msoulier@digitaltorque.ca>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/127541: sshd not rebuilt in make buildworld
Date: Mon, 22 Sep 2008 17:41:58 +0200

 Michael P. Soulier wrote:
 
 Do you have something special in /etc/make.conf ? Perhaps the mirror you 
 choose was not up to speed with the correct information? Please retry 
 using a different mirror to see whether it works, also do not forget
 to nuke /usr/obj so that you have a really fresh build.
 
 I -never- ran into this while doing various upgrades lately.
 
 Thanks,
 remko
 
 -- 
 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
   X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News

From: "Michael P. Soulier" <msoulier@digitaltorque.ca>
To: "Remko Lodder" <remko@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/127541: sshd not rebuilt in make buildworld
Date: Mon, 22 Sep 2008 12:42:06 -0400

 On Mon, Sep 22, 2008 at 11:41 AM, Remko Lodder <remko@freebsd.org> wrote:
 > Michael P. Soulier wrote:
 >
 > Do you have something special in /etc/make.conf ? Perhaps the mirror you
 > choose was not up to speed with the correct information? Please retry using
 > a different mirror to see whether it works, also do not forget
 > to nuke /usr/obj so that you have a really fresh build.
 >
 > I -never- ran into this while doing various upgrades lately.
 
 I found out about 30 minutes ago that it was my own bloody fault. :)
 
 I was using the ports version of openssh and only recently switched
 back to the base version, but I forgot to update make.conf. This is
 not a bug, although the output of make from libssh might have been a
 tad more informative.
 
 Thanks,
 Mike
 -- 
 Michael P. Soulier <msoulier@digitaltorque.ca>
 "Any intelligent fool can make things bigger and more complex... It takes a
 touch of genius - and a lot of courage to move in the opposite direction."
 --Albert Einstein
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Mon Sep 22 17:37:11 UTC 2008 
State-Changed-Why:  
Submitter reports that it's a local problem which had been resolved. 
Close the ticket. (OpenSSH from ports instead of src/) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127541 
>Unformatted:
