home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.kernel      Debian kernel discussions      2,884 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,443 of 2,884   
   Santiago Vila to Benjamin Drung   
   Bug#1125948: dracut: fails to detect 3cp   
   24 Jan 26 19:30:01   
   
   XPost: linux.debian.bugs.dist   
   From: sanvila@debian.org   
      
   On Sat, Jan 24, 2026 at 05:48:53PM +0100, Benjamin Drung wrote:   
      
   Note: My simple "cat" change did not solve the problem.   
      
   > > But I can't see any special thing in the logs (are they redirected   
   somewhere?)   
   >   
   > Does this really fail? help_output=$(3cpio --help) will always read the   
   > full output and therefore 3cpio should not fail with broken pipe. So I   
   > would expect this patch to be a workaround as side effect.   
      
   You are right.   
      
   The failure rate was extremely low, maybe I mixed some build logs from   
   the previous run.   
      
   Now I've tested it again and the failure rate is effectively zero.   
      
   > Thanks. That confirms my suspicion. grep terminates and 3cpio cannot   
   > write to the pipe any more. Instead of happily quitting, it throws an   
   > error message and exits with code 1. I'll fix 3cpio to handle the broken   
   > pipe case better.   
      
   Great. If you do that please retitle #1126301 to something more   
   suitable (I believed 3cpio was innocent but after knowing that Rust   
   treats pipes differently I agree that the bug make sense).   
      
   Thanks.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca