From owner-freebsd-ports@FreeBSD.ORG Sun Mar 23 15:10:23 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBB12106566C for ; Sun, 23 Mar 2008 15:10:23 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id 80EB68FC23 for ; Sun, 23 Mar 2008 15:10:23 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by py-out-1112.google.com with SMTP id u52so3397603pyb.10 for ; Sun, 23 Mar 2008 08:10:23 -0700 (PDT) Received: by 10.35.30.8 with SMTP id h8mr6647950pyj.21.1206285022812; Sun, 23 Mar 2008 08:10:22 -0700 (PDT) Received: from scorpio ( [67.189.206.211]) by mx.google.com with ESMTPS id h17sm4164188wxd.24.2008.03.23.08.09.57 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 23 Mar 2008 08:10:12 -0700 (PDT) Date: Sun, 23 Mar 2008 11:09:24 -0400 From: Gerard To: freebsd-ports@freebsd.org Message-ID: <20080323110924.7ba99323@scorpio> In-Reply-To: <20080323144823.GA72507@eos.sc1.parodius.com> References: <47E660A3.3050805@quip.cz> <20080323144823.GA72507@eos.sc1.parodius.com> Organization: seibercom.net X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAIVBMVEWrAACyAB7aACGPTU0wMjHQgn9vPj1vABUwAA/QAyWPAB3Ut3lMAAAAB3RJTUUHsQwfFzs7RBhzUQAAAlZJREFUOI110zFv00AUAOBXL1Y91QilqidzS9SupwQpO9DdMqjdUJSCOjkN5Fm3Md2pUwlicKckoF5zv5L3np2kFPGURPZ9957fnS/gsLboHCIa+UjQIDh0Fp9HTUDTDQS/HzQGkg4qAPNkOgCgRQK7hOQWq4MsmHAENBcgRg+Ili4sHjRNFk6au7iutoACJ03zY9yo09gJJFSdL5xZqEbrhVIZA+ASKoaEoDlG3CzUmVsrgSVDbqfq2KRHfqP6daRyBiCIcvfx3pyUF0e46LlIKR4EBLpyXz9VP8vyLp59YMhjAUVg8ZBgAbRtBGoHtataiOsnQFHb6rApL3h9lu8FDHXwyEDxPcFbuk2kKwraXbNhuF+ika1uwYRHHE4Zeu+8CSG0IM+Yn09TqvTSoZFn8LZwF1i7bynFb+pbuoo6sLWzDJ8JXtB9QuA7cKs0zc4JVAcxbwHDbZo+8HHpIGqBtsKuMqrkpTR00LcYarfKHK/oGXD7GX07IEr2EP6CHP6FfAe0Xf8DE35pzePcbk6jS4bcfrm61lqPHt76LVSURDAbDwnGkzdSCrZAJ7goi/eDSVF4PhygBHiLzWRSUgwuvbwGGqwoi2A+KQdlWZSXvurACMRzXRa6mJRX/oYGqRgE/lH9uR5wqWLo11SfJwdOUzllcOihl+W1wCvZgWnXzUB5kYq3cKOkfwG+6o8Fite8PK5E0NaatXC9fYQAp/SkK72rxCANv5KVjyRhC5waqTNKGa4lId8Bp6hMj5b7BKDTy/81ktOmiSR3D/yqICLgN6raSn8AvNo9lO4L1VIAAAAASUVORK5CYII= X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q User-Agent: Claws Mail 3.3.1 (GTK+ 2.12.8; i386-portbld-freebsd6.3) X-Operating-System: FreeBSD-6.3 Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/zX=yi2VfGX6UDvlbFKohT6g"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: portmaster and restarting of upgraded daemons X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 15:10:24 -0000 --Sig_/zX=yi2VfGX6UDvlbFKohT6g Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 23 Mar 2008 07:48:23 -0700 Jeremy Chadwick wrote: > On Sun, Mar 23, 2008 at 02:52:35PM +0100, Miroslav Lachman wrote: > > I am almost new to portmaster, so I got a question - is there any=20 > > possibility to restart installed services as in portupgrade with > > defined BEFOREBUILD / BEFOREDEINSTALL / AFTERINSTALL? Or is there > > any future plan to do so? It is annoying if I end up with some dead > > services after upgrade just because I forgot to manualy > > do /usr/local/etc/rc.d/some_daemon restart >=20 > This is more a complaint about the existing ports infrastructure, as > IMHO, it's something that should be handled there and not necessarily > by "third-party" port management utilities. >=20 > Some existing ports (such as smartmontools, i.e. smartd) do this, > while others (such as postfix) do not. >=20 > There are pros and cons to what you want. I myself have never managed > to conclude if the pros outweigh the cons -- or vice-versa -- but I > have thought about it before. I have had serious problems in the past when ports like MySQL were updated but not restarted. Both 'portupgrade' and 'portmanager' can correctly handle these situations however. I have no personal information regarding 'portmaster' other than the fact that I am unlikely to switch to a new port's maintenance program. Nothing I have seen indicates that it is any more reliable, secure, useful or faster than either 'portupgrade' or 'portmanager'. --=20 Gerard gerard@seibercom.net There are running jobs. Why don't you go chase them? --Sig_/zX=yi2VfGX6UDvlbFKohT6g Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkfmcqUACgkQ6DWTaTcTwMkSdgCfa2vfRN6yVldT50BaBGCVavYP 7O0An2dk6DbM20FTA/SYqRnliaveFojt =bmH8 -----END PGP SIGNATURE----- --Sig_/zX=yi2VfGX6UDvlbFKohT6g--