[Pkg-samba-maint] Bug#249873: Updated patch

Steve Langasek vorlon at debian.org
Sun Apr 29 08:04:17 UTC 2012


On Tue, Apr 24, 2012 at 04:18:06PM -0400, Nikolaus Rath wrote:
> Index: debian/rules
> ===================================================================
> --- debian/rules	(revision 4049)
> +++ debian/rules	(working copy)
> @@ -20,7 +20,7 @@
>  		--cache-file=./config.cache \
>  		--with-fhs \
>  		--enable-static \
> -		--with-privatedir=/etc/samba \
> +		--with-privatedir=/var/lib/samba \
>  		--with-piddir=/var/run/samba \
>  		--with-rootsbindir=/sbin \
>  		--with-pammodulesdir=/lib/$(DEB_HOST_MULTIARCH)/security \

This changes the privatedir path, but I don't see any handling here for the
existing files in /etc/samba that need to be moved on upgrade to preserve
functionality.  In addition to the obvious smbpasswd, there are references
to lp_private_dir() scattered throughout the source3 directory; these each
need to be handled properly on package upgrade (presumably by moving the
files).

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20120429/fc21f0dd/attachment.pgp>


More information about the Pkg-samba-maint mailing list