On Tue, Oct 21, 2008 at 01:29:40AM +0100, Chris Lamb wrote:
Hi,
#502715 - acidlab: can be installed without a controlling tty
#502754 - hylafax-client: [..] /dev/tty: No such device or address
Both of these packages fail due to lines like:
ucf [..] /dev/tty
in their postinst scripts. [0] may provide an explanation and justification
for simply removing these redirections. However, I have not tested it yet.
Removing the redirections seems to work fine. I propose to NMU the
attached patch to fix this problem for lenny.
Cheers,
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
diff -u hylafax-4.4.4/debian/changelog hylafax-4.4.4/debian/changelog
--- hylafax-4.4.4/debian/changelog
+++ hylafax-4.4.4/debian/changelog
@@ -1,3 +1,11 @@
+hylafax (2:4.4.4-10.1) unstable; urgency=medium
+
+ * Non-maintainer upload
+ * Urgency medium for RC bug fix
+ * Don't redirect /dev/tty to ucf any more. Closes: #502754.
+
+ -- Dominic Hargreaves [EMAIL PROTECTED] Sun, 26 Oct 2008 17:18:42 +
+
hylafax (2:4.4.4-10) unstable; urgency=low
* Corrected email address for delivery notifications. Closes: 497962.
only in patch2:
unchanged:
--- hylafax-4.4.4.orig/debian/hylafax-client.postinst
+++ hylafax-4.4.4/debian/hylafax-client.postinst
@@ -23,13 +23,13 @@
then
if [ /etc/hylafax/pagesizes -nt /var/spool/hylafax/etc/pagesizes ];
then
- /usr/bin/ucf $newfile /etc/hylafax/pagesizes /dev/tty
+ /usr/bin/ucf $newfile /etc/hylafax/pagesizes
cp -p /etc/hylafax/pagesizes /var/spool/hylafax/etc/pagesizes
else
- /usr/bin/ucf /var/spool/hylafax/etc/pagesizes /etc/hylafax/pagesizes /dev/tty
+ /usr/bin/ucf /var/spool/hylafax/etc/pagesizes /etc/hylafax/pagesizes
fi
else
- /usr/bin/ucf $newfile /etc/hylafax/pagesizes /dev/tty
+ /usr/bin/ucf $newfile /etc/hylafax/pagesizes
fi
rm -f $newfile