From owner-freebsd-security@FreeBSD.ORG Tue May 23 09:58:46 2006 Return-Path: X-Original-To: freebsd-security@freebsd.org Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECE9016A518 for ; Tue, 23 May 2006 09:58:46 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from home.quip.cz (grimm.quip.cz [213.220.192.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F7E643D46 for ; Tue, 23 May 2006 09:58:45 +0000 (GMT) (envelope-from 000.fbsd@quip.cz) Received: from [192.168.1.2] (qwork.quip.test [192.168.1.2]) by home.quip.cz (Postfix) with ESMTP id 715463FA; Tue, 23 May 2006 11:58:44 +0200 (CEST) Message-ID: <4472DCD4.60203@quip.cz> Date: Tue, 23 May 2006 11:58:44 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cs, cz, en, en-us MIME-Version: 1.0 To: Clemens Renner References: <20060522152011.10728.qmail@do.sefao.com> <20060522192350.GB712@turion.vk2pj.dyndns.org> <447275EA.10505@rinux.net> In-Reply-To: <447275EA.10505@rinux.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd security Subject: Re: FreeBSD Security Survey X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 09:58:47 -0000 Clemens Renner wrote: > In a different corner is portupgrade which basically constitutes a > highly usable tool but has minor annoyances that really complicate > things. For example, when upgrading MySQL -- even with mysql_enable=YES > in rc.conf, portupgrade will stop the sever but not restart it. Is there > any plausible reason for this behaviour? I can't think of any. In fact, > I resort to > # portupgrade mysql-server && /usr/local/etc/rc.d/mysql restart > which is really annyoing if a lot of services will be upgraded that > aren't automatically restarted. This would be a good thing to take care of. If you are using portupgrade, you can use /usr/local/etc/pkgtools.conf MAKE_ARGS = { 'databases/mysql41-*' => [ 'WITH_CHARSET=latin2', 'WITH_XCHARSET=all', 'WITH_OPENSSL=yes', 'OVERWRITE_DB=no', ], } AFTERINSTALL = { 'databases/mysql41-server' => proc { |origin| cmd_enable_rc(origin) + ';' + cmd_restart_rc(origin) }, } You must set it one time, you can enjoy it every upgrade. Miroslav Lachman