Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18344 - consolefont init script prints junk
Summary: consolefont init script prints junk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-28 00:39 UTC by Matt Taylor
Modified: 2003-04-12 15:12 UTC (History)
1 user (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 Matt Taylor 2003-03-28 00:39:43 UTC
* Setting user font...
Format: 3
Format: 3
Format: 3
Format: 3
Format: 3
Format: 3
Format: 3
Format: 3
Format: 3
Format: 3                                                                      
              [ ok ]
 * Loading key mappings... 

it's obviously something in the for loop with the /usr/bin/consolechars call
since it prints 10 times.  I haven't changed rc.conf from the default for the
consolefont stuff.

this is baselayout-1.8.6.4-r1, gawk-3.1.1-r2, console-tools-0.3.2

speaking of gawk...the update to -r2 fixed all my other junk messages that I was
going to make a report about.  like:

modprobe: Can't locate module /dev/lp3
modprobe: Can't locate module /dev/par3
modprobe: Can't locate module /dev/printers/3
modprobe: Can't locate module /dev/ttyS2
modprobe: Can't locate module /dev/ttyS3
...etc. for about 50 more

Reproducible: Always
Steps to Reproduce:
1.reboot

Actual Results:  
junk messages

Expected Results:  
nice clean sexy boot ;-)
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-30 02:56:38 UTC
Can you try to pinpoint what is doing that ?  I cannot recreate it here ...

Thanks.
Comment 2 Matt Taylor 2003-03-30 14:23:48 UTC
# /usr/bin/consolechars -f "default8x16" --tty=/dev/vc/1 >/dev/null
Format: 3

I tried it with a few different fonts and they all print the Format: 3.  I remerged console-tools and kbd, but that didn't help.

sending stderr to /dev/null gets rid of the output.  

By default console-tools isn't installed so the init script uses setfont and this output isn't generated.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-30 14:58:34 UTC
Ah, ok.  So just piping stdout to /dev/null will get rid of it ?
Comment 4 Matt Taylor 2003-03-30 19:24:18 UTC
redirecting stdout still gives the output.  redirecting stderr gets rid of it.  Kinda strange since its not really a error message, but whatever.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-06 11:33:06 UTC
Fixed on cvs, will be in baselayout-1.8.6.5 shortly.
Comment 6 Matt Taylor 2003-04-10 00:48:08 UTC
I got baselayout-1.8.6.5 and now the consolefont script fails on boot.  It's because on line 38 the '?' after "retval=$" was removed.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-12 15:12:36 UTC
Thanks, type-o.  Its fixed on CVS, will be in next baselayout ...