Bug#690473: Chroot setup failed: stage=setup-start

2014-01-06 Thread Gerrit Pape
On Sat, Jan 04, 2014 at 04:24:12PM +, Roger Leigh wrote:
 block 684607 by 690473
 thanks
 
 On Sun, Oct 14, 2012 at 08:59:27PM -0700, Jonathan Nieder wrote:
  tags 690473 + upstream patch
  quit
  
  Hi Roger,
  
  Roger Leigh wrote:
  
   dash:
   $ echo foo  /dev/full
   [nothing]
  
  How about something like this patch?
 
 Many thanks for the patch.
 
 Gerrit, did anything ever happen in debian or upstream for this?  It
 would be really nice to have a solution here, either a specific one
 like Jonathan proposes or even better a generic one which covers
 more error cases as mentioned by Jilles Tjoelker.

Hi Roger, no, not yet.  I'll try to look into it within the next days.

Regards, Gerrit.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#690473: Chroot setup failed: stage=setup-start

2014-01-04 Thread Roger Leigh
block 684607 by 690473
thanks

On Sun, Oct 14, 2012 at 08:59:27PM -0700, Jonathan Nieder wrote:
 tags 690473 + upstream patch
 quit
 
 Hi Roger,
 
 Roger Leigh wrote:
 
  dash:
  $ echo foo  /dev/full
  [nothing]
 
 How about something like this patch?

Many thanks for the patch.

Gerrit, did anything ever happen in debian or upstream for this?  It
would be really nice to have a solution here, either a specific one
like Jonathan proposes or even better a generic one which covers
more error cases as mentioned by Jilles Tjoelker.


Many thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.


signature.asc
Description: Digital signature


Bug#690473: Chroot setup failed: stage=setup-start

2012-10-14 Thread Jonathan Nieder
tags 690473 + upstream patch
quit

Hi Roger,

Roger Leigh wrote:

 dash:
 $ echo foo  /dev/full
 [nothing]

How about something like this patch?

diff --git i/src/bltin/printf.c w/src/bltin/printf.c
index 893295ce..82d9f5fe 100644
--- i/src/bltin/printf.c
+++ w/src/bltin/printf.c
@@ -209,6 +209,9 @@ pc:
} while (gargv != argv  *gargv);
 
 out:
+   fflush(stdout);
+   if (ferror(stdout))
+   warnx(I/O error);
return rval;
 err:
return 1;
@@ -460,5 +463,9 @@ end:
}
outc(c, outs);
} while (*argv);
+
+   flushout(outs);
+   if (outerr(outs))
+   warnx(I/O error);
return 0;
 }


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org