Bug#502754: ucf and redirecting /dev/tty

2008-10-27 Thread Dominic Hargreaves
On Sun, Oct 26, 2008 at 05:33:30PM +, Dominic Hargreaves wrote:

 Removing the redirections seems to work fine. I propose to NMU the
 attached patch to fix this problem for lenny.

Uploaded to DELAYED/1-day

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502754: ucf and redirecting /dev/tty

2008-10-26 Thread Dominic Hargreaves
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


Bug#502754: ucf and redirecting /dev/tty

2008-10-20 Thread Chris Lamb
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.


/Lamby

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=194152#55

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  [EMAIL PROTECTED]
   `-


signature.asc
Description: PGP signature