Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 23:56:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 209441] SSHd in FreeBSD 10.3 complains about PrintLastLog
Message-ID:  <bug-209441-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209441

            Bug ID: 209441
           Summary: SSHd in FreeBSD 10.3 complains about PrintLastLog
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: 000.fbsd@quip.cz
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

I had "PrintLastLog yes" in my sshd_config for many years but after upgrade=
 to
10.3 I got this error message:

/etc/ssh/sshd_config line 112: Unsupported option PrintLastLog

It is confusing because "#PrintLastLog yes" is still included in default
sshd_config file and mentioned in manpage.

Is it error in default config or error in sshd? What should be fixed?=20


I found in /usr/src/crypto/openssh/servconf.c

#ifdef DISABLE_LASTLOG
        { "printlastlog", sUnsupported, SSHCFG_GLOBAL },
#else
        { "printlastlog", sPrintLastLog, SSHCFG_GLOBAL },
#endif


Does it means that new sshd in FreeBSD 10.3 was (un)intentionally compiled =
with
"DISABLE_LASTLOG" (--disable-lastlog)


We have own buildserver with svnup /usr/src and  buildworld & buildkernel  =
and
installkernel & installworld=20

# cat /etc/src.conf

WITHOUT_KERNEL_SYMBOLS=3Dyes



# cat /etc/make.conf

WITH_PKGNG=3D yes

SVN_UPDATE=3Dyes
SVN=3D"/usr/local/bin/svnup"
SVNFLAGS=3D""


WITH_GHOSTSCRIPT_VER=3D9

DEFAULT_VERSIONS=3D perl=3D5.20 mysql=3D5.5m php=3D55 python=3D2.7 apache=
=3D2.4

## https://wiki.freebsd.org/Ports/Options/OptionsNG
## OptionsNG sets DOCS, EXAMPLES and NLS as default - we do not need them
OPTIONS_UNSET=3D X11 GUI CUPS DOCS EXAMPLES NLS


## cd /usr/ports/www/apache22 && make print-closest-mirrors
MASTER_SITE_APACHE_HTTPD?=3D http://apache.miloslavbrada.cz/httpd/
http://mirror.hosting90.cz/apache/httpd/
ftp://mirror.hosting90.cz/apache/httpd/ http://www.eu.apache.org/dist/httpd/

## closest PHP mirror
MASTER_SITE_PHP=3D http://cz.php.net/%SUBDIR%/

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209441-6>