Bug#640804: gforge-shell-postgresql: Ucf questions on changes to nss related conf files should provide correct default choice
Hi, On Wed, Sep 07, 2011 at 04:48:11PM +0200, Olivier Berger wrote: Hi. Much like in #556188, changes to nsswitch.conf should be made by providing a default choice to the user that is most likely to need a custom template for ucf with a different default. Of course, if possible, it wouldn't harm if changes to nsswitch.conf could be avoided. I heard that a possible solution would be not to use libnss-postgresql but I don't have a reference for this so far. I faced this problem recently when installing from Puppet (hence, noninteractively). I resorted to the following work-around involving /etc/ucf.conf: [code] class fusionforge { file { '/etc/ucf.conf': ensure = file, content = '# Make sure FusionForge can install pre-configured files from Puppet case $DPKG_MAINTSCRIPT_PACKAGE in gforge-shell-postgresql|gforge-mta-exim4|gforge-mta-postfix) conf_force_conffnew=YES ;; esac '; } File['/etc/ucf.conf'] - Package| | [/code] If there's a better way to implement this I'm interested. -- Sylvain -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640804: gforge-shell-postgresql: Ucf questions on changes to nss related conf files should provide correct default choice
Package: gforge-shell-postgresql Version: 5.1-6 Severity: normal Hi. Much like in #556188, changes to nsswitch.conf should be made by providing a default choice to the user that is most likely to need a custom template for ucf with a different default. Of course, if possible, it wouldn't harm if changes to nsswitch.conf could be avoided. I heard that a possible solution would be not to use libnss-postgresql but I don't have a reference for this so far. Hope this helps. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (900, 'testing'), (300, 'stable') Architecture: i386 (i686) Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#638010: Bug#640804: gforge-shell-postgresql: Ucf questions on changes to nss related conf files should provide correct default choice
On Wed, Sep 07, 2011 at 04:48:11PM +0200, Olivier Berger wrote: Hi. Much like in #556188, changes to nsswitch.conf should be made by providing a default choice to the user that is most likely to need a custom template for ucf with a different default. Of course, if possible, it wouldn't harm if changes to nsswitch.conf could be avoided. I heard that a possible solution would be not to use libnss-postgresql but I don't have a reference for this so far. Hope this helps. Btw, see also #638010 whose fix involves more or less similar tricks. Hope this helps. Best regards, -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org