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

Andrew Bartlett abartlet at samba.org
Thu Jun 13 02:56:51 UTC 2013


On Wed, 2013-06-12 at 19:11 +0200, Christian PERRIER wrote:
> 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)

Do we have to support downgrades in any meaningful way?  (ie, do I have
to script the reverse)

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org





More information about the Pkg-samba-maint mailing list