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/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: Digital signature

Reply via email to