Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268996 - app-benchmarks/bootchart errors repeatedly if boot takes excessively long
Summary: app-benchmarks/bootchart errors repeatedly if boot takes excessively long
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 02:38 UTC by Chris Henhawke
Modified: 2010-04-27 11:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.