From owner-freebsd-ports@freebsd.org Thu May 24 09:21:40 2018 Return-Path: Delivered-To: freebsd-ports@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 46D56F6F6AF for ; Thu, 24 May 2018 09:21:40 +0000 (UTC) (envelope-from SRS0=nIX3=IL=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC9107FA24 for ; Thu, 24 May 2018 09:21:39 +0000 (UTC) (envelope-from SRS0=nIX3=IL=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 3AC5328458; Thu, 24 May 2018 11:21:24 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 1FC0A28450; Thu, 24 May 2018 11:21:23 +0200 (CEST) Subject: Re: Pause pkg install messages To: Johannes Lundberg , rde@tavi.co.uk Cc: FreeBSD References: <20180524091741.59dbabf2@raksha.tavi.co.uk> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <999c38f3-8127-6ffa-fad1-818566c2801a@quip.cz> Date: Thu, 24 May 2018 11:21:22 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 09:21:40 -0000 Johannes Lundberg wrote on 2018/05/24 11:03: > On Thu, May 24, 2018 at 9:27 AM Bob Eager wrote: > >> On Thu, 24 May 2018 09:08:17 +0100 >> Johannes Lundberg wrote: >> >>> In addition to that it would be nice (if it's not already done) to >>> store this information in a log file somewhere so that one can >>> revisit and see what needs to be manually configured for each >>> installed package. >> >> I have this in syslog.conf: >> >> !pkg,pkg-static >> *.* /var/log/pkg.log I think only changes are logged, not messages: Apr 26 23:50:22 maja pkg: p5-DBI reinstalled: 1.641 -> 1.641 Apr 26 23:50:22 maja pkg: mariadb101-client upgraded: 10.1.31 -> 10.1.32_2 Apr 26 23:50:22 maja pkg: libnghttp2 upgraded: 1.31.0 -> 1.31.1 > Thanks for the tip. I'll use this. > However, someone who knows about this probably know how to manually > configure their system already. > > I want to make sure first timers and newbies don't miss important messages > on how to configure the system. > > Often we get inquires about stuff that is clearly described in the pkg > message and bug reports that are a consequence of wrong configuration. > How can we make this more clear so that it is not missed? As Eugene already noted - syscons has scrollback buffer. Did you tried "Scroll Lock" on your keyboard? If you need to re-show message of any installed package, "pkg info -D" (or pkg info --pkg-message) is your friend. Nothing is lost. You can view it anytime. # pkg info -D mariadb101-server mariadb101-server-10.1.33: Always: ************************************************************************ Remember to run mysql_upgrade (with the optional --datadir= flag) the first time you start the MySQL server after an upgrade from an earlier version. MariaDB respects hier(7) and doesn't check /etc and /etc/mysql for my.cnf. Please move existing my.cnf files from those paths to /usr/local/etc and /usr/local/etc/mysql. This port does NOT include the mytop perl script, this is included in the MariaDB tarball but the most recent version can be found in the databases/mytop port ************************************************************************ Miroslav Lachman