Bug#207453: apache: apache.postinst: line 189: /dev/tty: No such device or address
reassign 207453 apache-common
retitle 207453 apache-common: /usr/share/apache/postinst.common: line 189: /dev/tty: No such device or address
thanks
> Fails to install non-interactive (/dev/tty not present):
>
> > Setting up apache (1.3.27.1-2) ...
> > /var/lib/dpkg/info/apache.postinst: line 189: /dev/tty: No such device or address
The problem is not due to /var/lib/dpkg/info/apache.postinst, but to
/usr/share/apache/postinst.common, which is provided by apache-common.
apache.postinst simpy includes /usr/share/apache/postinst.common on line 8.
Note that this bug is not reproducible installing the package
"normally"; it seems that the only way to reproduce the bug is
running the package installation through an at/cron job.
The interruption of the script is due to a piece of code which actually
does nothig:
if ! $apacheconfig "$@"< /dev/tty > /dev/tty; then
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# FIXME
# debconf note
# echo
# echo -n "Configuration failed!
# "
# echo "Run \"apache-sslconfig\" to try this again later."
# echo
true
fi
--
Emanuele Rocca - 1024D/EAF19B60
Reply to: