Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2010 11:26:12 +0100
From:      Willy Offermans <Willy@Offermans.Rompen.nl>
To:        tms3@tms3.com
Cc:        Samba List <samba@lists.samba.org>, freebsd-stable@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: [Samba] Samba upgrade HowTo requested
Message-ID:  <20101217102612.GC7694@vpn.offrom.nl>
In-Reply-To: <4d0a2fd5.50f.2ce7dc40.5721f9f0@tms3.com>
References:  <4d0a2fd5.50f.2ce7dc40.5721f9f0@tms3.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

<snip>

20101026:
  AFFECTS: users of net/samba35
  AUTHOR: Timur Bakeyev <timur@FreeBSD.org>

  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.

</snip>

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



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