Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 268996

Summary: app-benchmarks/bootchart errors repeatedly if boot takes excessively long
Product: Gentoo Linux Reporter: Chris Henhawke <chris>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED WORKSFORME    
Severity: normal CC: darkside, moult
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Henhawke 2009-05-08 02:38:35 UTC
bootchartd spams the terminal repeatedly during boot if said boot takes longer than normal due to FSCK.

Reproducible: Always

Steps to Reproduce:
1. have a filesystem that needs checking on boot
2. have bootchart installed and enabled
3. reboot

Actual Results:  
/sbin/bootchartd: line 112: echo: write error: no space left on device
/sbin/bootchartd: line 116: echo: write error: no space left on device
repeats ad nauseum to the tune of two or three a second.

Expected Results:  
"bootchartd: boot taking too long, disabling bootchart"
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-08 02:55:44 UTC
You know...there is a configuration option for this.

%% grep -A2 tmpfs /etc/bootchartd.conf
# tmpfs size
# (32 MB should suffice for ~20 minutes worth of log data, but YMMV)
TMPFS_SIZE=32m
Comment 2 Chris Henhawke 2009-05-08 03:11:51 UTC
why is this invalid?  regardless of the option, the program should not spam the console repeatedly during boot.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-08 03:32:11 UTC
.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-08 03:32:37 UTC
It is invalid because there is a configuration option to not "spam" the console. In other words, easily preventable when properly setup by the end user.

If you still think it is a bug, it should be taken upstream. Regardless, I will pass this on to the java team which maintains this package for review
Comment 5 Chris Henhawke 2009-05-08 03:42:04 UTC
thank you, that's a little better than "it's your fault, get lost".
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-27 11:41:02 UTC
Works for me as it is. Of course, patches welcome to reopen the bug.