[Bug 905863] New: lsinitrd - cat: write error: Broken pipe
http://bugzilla.opensuse.org/show_bug.cgi?id=905863 Bug ID: 905863 Summary: lsinitrd - cat: write error: Broken pipe Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: per@computer.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I noticed this error message when I did an "lsinitrd" on the initrd generated by a fresh 13.2 installation. The initrd can be found here: http://files.jessen.ch/office13-initrd-3.16.6-2-desktop (too big to attach directly) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
--- Comment #2 from Per Jessen
I can not reproduce the error here, even with your initrd.
Did you pipe the lsinitrd output somewhere (e.g. less or head)?
No, just output to the console.
Can you still reproduce the problem?
I'm just reinstalling that system, I'll try it again later.
IMHO it might not be a bad one anyway because "Broken pipe" only means that someone is writing but the output file-descriptor was already closed on the other end.
Yeah, lsinitrd seems to work fine, it just looked odd to me. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
--- Comment #3 from Per Jessen
Can you still reproduce the problem?
I'm just reinstalling that system, I'll try it again later.
Just now tried on a different 13.2 system, same message. with working dir = /boot, I run "lsinitrd initrd-3.16.6-2-desktop". lsinitrd is from dracut-037-17.6.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
Bjørn Lie
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
--- Comment #5 from Per Jessen
Per:
Are you by any chance using a scandinavian locale?
Hej Bjørn, haha, not a bad guess, but no, we're using en_GB.utf8. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
--- Comment #7 from Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
--- Comment #9 from Per Jessen
Yes, please, if it is possible update your system and let's see whether this still happens.
Okay, system was upgraded with all the latest updates. I now still see the "broken pipe" when I run "lsinitrd" - a) in a konsole window or b) on a virtual console. When logged in via ssh, I see no "broken pipe".
If that still happens after the update you could run lsinitrd with debugging options and provide the ouput so that we at least see at which point that happens:
bash -x lsinitrd $image
I'll attach the output in a minute. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
--- Comment #11 from Julian Wolf
cat -- testinitrd | cpio --extract --verbose --quiet --list [...] echo ${PIPESTATUS[0]} ${PIPESTATUS[1]} 141 0
Exit code 141 (>128) is, afaik, pointing to 128 + Signal-Number, which gives in this case "13 SIGPIPE". Same exit code when running cat and killing it with SIGPIPE manually. So, in my opinion, SIGPIPE is absolutely okay here and the point is more about why the shell (bash?) does report that for you (when running it on a console). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
Giacomo Comes
http://bugzilla.opensuse.org/show_bug.cgi?id=905863
Felix Miata
participants (1)
-
bugzilla_noreply@novell.com