Package: mailman
Version: 1:2.1.9-1
Severity: serious
Justification: Etch RC policy: 3 - last paragraph
Quoting Etch RC policy:
> Changes to configuration files must be preserved during a package
> upgrade. Configurations must be preserved on package removal, and
> only deleted when the package is purged.
But a deleted /etc/mailman/mm_cfg.py gets recreated automatically the
next time the postinst script is run in any way:
case "$1" in
configure|abort-upgrade|abort-remove|abort-deconfigure)
if [ ! -e /etc/$PACKAGE/mm_cfg.py ]; then
echo "Configuring $PACKAGE for domain $DOMAIN ..."
sed s/thunderchild.aszi.sztaki.hu/$DOMAIN/g
/usr/lib/mailman/Mailman/mm_cfg.py.dist \
> /etc/$PACKAGE/mm_cfg.py
fi
;;
esac
This is further complicated by the fact that a missing
/etc/mailman/mm_cfg.py makes the new-pyton-policy-mandated bytecode
compile fail. We should probably not ship the symlink from
/var/lib/mailman/Mailman/mm_cfg.py to /etc/mailman/mm_cfg.py in the
package, but handle it manually in sync with the file itself.
--
Lionel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]