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

Nikolaus Rath Nikolaus at rath.org
Sun Apr 29 14:01:51 UTC 2012



Steve Langasek <vorlon at debian.org> wrote:

>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).

Did you read the other comments on this bug? There is no need to move anything, since no samba directories are changed. The patch only enables the user to change them if he wishes to do so.

Best,
Niko 
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.





More information about the Pkg-samba-maint mailing list