From owner-freebsd-ports@FreeBSD.ORG Fri Dec 17 10:26:19 2010 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 3190E106564A; Fri, 17 Dec 2010 10:26:19 +0000 (UTC) (envelope-from willy@Offermans.Rompen.nl) Received: from cpsmtpb-ews09.kpnxchange.com (cpsmtpb-ews09.kpnxchange.com [213.75.39.14]) by mx1.freebsd.org (Postfix) with ESMTP id AC4668FC15; Fri, 17 Dec 2010 10:26:18 +0000 (UTC) Received: from cpbrm-ews07.kpnxchange.com ([10.94.84.138]) by cpsmtpb-ews09.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 17 Dec 2010 11:26:17 +0100 Received: from CPSMTPM-CMT108.kpnxchange.com ([195.121.3.24]) by cpbrm-ews07.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 17 Dec 2010 11:26:16 +0100 Received: from koko.offrom.nl ([77.170.60.162]) by CPSMTPM-CMT108.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Fri, 17 Dec 2010 11:26:16 +0100 Received: from squid.home.itmc.RWTH-Aachen.DE (squid.vpn.offrom.nl [10.168.0.72]) by koko.offrom.nl (8.14.3/8.14.3) with ESMTP id oBHAQDhU083170; Fri, 17 Dec 2010 11:26:13 +0100 (CET) (envelope-from willy@vpn.offrom.nl) Received: from willy by squid.home.itmc.RWTH-Aachen.DE with local (Exim 4.72) (envelope-from ) id 1PTXVs-000269-NW; Fri, 17 Dec 2010 11:26:12 +0100 Date: Fri, 17 Dec 2010 11:26:12 +0100 From: Willy Offermans To: tms3@tms3.com Message-ID: <20101217102612.GC7694@vpn.offrom.nl> References: <4d0a2fd5.50f.2ce7dc40.5721f9f0@tms3.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4d0a2fd5.50f.2ce7dc40.5721f9f0@tms3.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_FILL_THIS_FORM_SHORT,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on koko.offrom.nl X-OriginalArrivalTime: 17 Dec 2010 10:26:16.0289 (UTC) FILETIME=[D6392D10:01CB9DD4] X-RcptDomain: FreeBSD.ORG Cc: Samba List , freebsd-stable@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: [Samba] Samba upgrade HowTo requested X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Willy@Offermans.Rompen.nl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2010 10:26:19 -0000 Hello tms3, On Thu, Dec 16, 2010 at 07:27:17AM -0800, tms3@tms3.com wrote: > > > > > > >Well, it might be that it has worked in your case, but certainly > >not in > >mine. I do not know what happened to the drivers or database of > >the drivers, but > >something was really messed up. I like to clarify this and to put > >it on a > >higher level. I like to figure out what the procedure is to follow > >and how > >we can inform the users about this procedure. > > Well, it might do you well to go over the list of dependencies that > the port installed initially, and upgrade those components as well. > I'm not sure what is NOT working for you, but as a general rule, I > try to keep those dependecies up to date. > > > > > > > > > >-- I do not think that this issue is related to dependencies. Of course I need to be sure that the dependencies are correctly installed as well, but this job is accomplished by ``portupgrade -R -N'' quite well. No, the real problem lays in the settings and databases created in a previous version of samba, which will be lost, altered or corrupted upon an upgrade. To phrase the questions again? Is there a procedure on how to upgrade samba to a newer version? How can the ignorant user be informed when using portupgrade? I'm sorry, I just recall the UPDATING file in /usr/ports/. The following is a cut from this file: 20101026: AFFECTS: users of net/samba35 AUTHOR: Timur Bakeyev This is the latest stable release of the Samba3 distribution. It has been extended with the experimental support of the NFS4-like ACLs on ZFS partitions, thanks to the sysutils/libsunacl library by Edward Tomasz Napierala(trasz). This support haven't been tested thoroughly, so try it on your own risk. This port reverted back to the pre- net/samba34 layout of the directories and now they are again $PREFIX/etc/samba, /var/run/samba, /var/log/samba, /var/db/samba and /var/spool/samba respectively. In case, you are upgrading from net/samba34, please rename corresponding samba34/ subdirectories into samba/ ones. Upgrades from older versions of Samba and fresh installations should be seamless. Especially the last sentence is of interest. I upgraded from samba 3.3.x to 3.5.6 and went smoothly in general, but only the printer drivers were messed up. Maybe this behavior is not covered by the information in UPDATING. Anyway, to my opinion there is a need for information on how to upgrade samba. -- Met vriendelijke groeten, With kind regards, Mit freundlichen Gruessen, Willy ************************************* Dr. W.K. Offermans CAT Postdoctoral Fellow CAT Catalytic Center Institut für Technische und Makromolekulare Chemie RWTH Aachen Worringerweg 1, Raum 38C-150 D-52074 Aachen, Germany Phone: +49 241 80 28592 Fax: +49 241 80 22593 Home: +31 45 544 49 44 Mobile: +31 681 15 87 68 e-mail: Willy@Offermans.Rompen.nl e-mail: Willy.Offermans@CatalyticCenter.RWTH-Aachen.de