Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591792 - sh: printf: I/O error
Summary: sh: printf: I/O error
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-21 11:49 UTC by Hadrien Lacour
Modified: 2023-01-29 03:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info sys-apps/openrc (openrc.log,14.33 KB, text/x-log)
2016-08-21 17:49 UTC, Hadrien Lacour
Details
rc.log (rc.log-20160821,8.15 KB, text/plain)
2016-08-21 17:51 UTC, Hadrien Lacour
Details
rc.log (openrc-0.21.3) (rc.log,12.17 KB, text/x-log)
2016-08-22 15:37 UTC, Hadrien Lacour
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hadrien Lacour 2016-08-21 11:49:11 UTC
Hello,
I'm getting these "sh: printf: I/O error" randomly during rc boot or shutdown.
With OpenRC 0.19.1 and 0.21.3 and /bin/sh -> /bin/dash

Reproducible: Sometimes
Comment 1 William Hubbs gentoo-dev 2016-08-21 16:39:05 UTC
I need more information to track this down.

In particular, please attach the output of
"emerge --info sys-apps/openrc" as well as a copy of /var/log/rc.log
when the error happens.

If rc.log does not exist, set rc_logger=yes in /etc/rc.conf.

Thanks,

William
Comment 2 Hadrien Lacour 2016-08-21 17:49:50 UTC
Created attachment 443828 [details]
emerge --info sys-apps/openrc
Comment 3 Hadrien Lacour 2016-08-21 17:51:19 UTC
Created attachment 443830 [details]
rc.log
Comment 4 William Hubbs gentoo-dev 2016-08-22 14:03:09 UTC
Hi,

I see that the emerge --info you attached shows OpenRC-0.21.3. However,
the rc.log does not show the error you described and it shows boots from
OpenRC 0.17.x and 0.18.x.

Can you get a log for 0.21.3?

Thanks,

William
Comment 5 Hadrien Lacour 2016-08-22 15:37:26 UTC
What? The previous rc.log does show "sh: printf: I/O error" (two times, in fact). Here's a rc.log with openrc 0.21.3 and these errors (they seem more rare, though).
Comment 6 Hadrien Lacour 2016-08-22 15:37:59 UTC
Created attachment 443866 [details]
rc.log (openrc-0.21.3)