On Fri, 2012-05-04 at 19:04 +0900, XU Benda wrote:
> * debconf does not lead to a working nslcd.conf in all corner cases.
>   administrator need to hand tune options inside.

This is correct.

> * However /etc/nslcd.conf is not in the list of conffiles for nslcd.
>   new nslcd.conf is generated during nslcd upgrade and administrator
>   has to overwrite back the hand-tuned version herself.

This should not be the case. The debconf handling should be so that
administrator changes should be preserved. The postinst should update
the existing configuration when changes are made through debconf and
should only install a new nslcd.conf if it missing (i.e. on install).

Recently a bug was found in this (#670133), perhaps you are seeing the
same? Please describe the changes that are not preserved on upgrades.
Also adding the version of nslcd that you're using would help.

> * Please consider adding /etc/nslcd.conf to conffile to preserve it 
>   across package upgrades.

You cannot flag a file as conffile and both do configuration with
debconf because maintainer scripts are not allowed to touch conffiles.

Thanks,

-- 
-- arthur - [email protected] - http://people.debian.org/~adejong --

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to