Package: totd
Version: 1.5.1-1.1
Severity: important
I installed totd last week as was very surprised to find that
it automatically disabled ipv6 support, as you can see below.
I wasn't prompted for the question (I've repeated this on a
second system), so I didn't have the opportunity to say yes
to enabling ipv6 support. It's odd that the question defaults
to disabling, rather than enabling.
However, the lack of prompting and bad default is not the issue.
Debian supports ipv6 out of the box for several stable releases.
Every service should have ipv6 enabled by default. Please
remove the debconf question entirely, as well as the logic in
the postinst that disables ipv6:
db_get totd/use_ipv6 && use_ipv6="$RET"
TEMPL="/tmp/totd.default.XXXXXXX"
TEMPFILE=`mktemp $TEMPL`
sed -e "s/^\(OPTION=\)\(.*\)//g; /^$/d" \
$ETC_DEFAULT_TOTD > $TEMPFILE
if [ $use_ipv6 = "true" ]; then
echo 'OPTION="$USEROPTION"' >> $TEMPFILE
else
echo 'OPTION="-no6 $USEROPTION"' >> $TEMPFILE
fi
cp -f $TEMPFILE $ETC_DEFAULT_TOTD
rm -f $TEMPFILE
Many thanks,
Roger
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 3.2.0-2-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages totd depends on:
ii debconf [debconf-2.0] 1.5.42
ii libc6 2.13-30
ii perl 5.14.2-9
totd recommends no packages.
Versions of packages totd suggests:
ii resolvconf 1.64
-- Configuration Files:
/etc/default/totd changed:
USEROPTION=
OPTION="-no6 $USEROPTION"
-- debconf information:
totd/use_ipv6: false
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]