[Pkg-samba-maint] Help needed with TDB move for 4.0 packages

Christian PERRIER bubulle at debian.org
Wed Jun 12 17:11:44 UTC 2013


Quoting Andrew Bartlett (abartlet at samba.org):

> # bug #454770
> if dpkg --compare-versions "$2" lt-nl 2:3.6.13-2 \
     	  		     	  	^^^^^^^^^^
					This should be the first
					version where the files are
					moved to the new location

> 	&& dpkg --compare-versions "$2" ge 3.0.24 \
	   			   	^^^^^^^^^
					This should be the first
	   			   	version where the files were
	   			   	moved to the current location
	   			   	(in that case when the files
	   			   	appeared upstream but the
	   			   	fhs.patch wasn't properly updated)

> 	&& [ -e /etc/samba/schannel_store.tdb ] \
> 	&& ! [ -e /var/lib/samba/schannel_store.tdb ]
> then
> 	mv /etc/samba/schannel_store.tdb /var/lib/samba/schannel_store.tdb
> fi


I think the second test might be a bit overzealous. These files are in
the "wrong" place since versions that are much older than those in
wheezy and even squeeze and we (Debian) don't support upgrading from
anything older than the last stable (actually supporting upgrades from
oldstable should be enough)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20130612/a1d15d3d/attachment.sig>


More information about the Pkg-samba-maint mailing list