Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
consolefont |setfont:default8x16: No such file or directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
[n00b@localhost]
Apprentice
Apprentice


Joined: 30 Aug 2004
Posts: 266
Location: London, UK

PostPosted: Sun Jul 03, 2011 4:47 pm    Post subject: consolefont |setfont:default8x16: No such file or directory Reply with quote

For a couple of months now my consolefont init script has been failing to start with the error:
Code:
garyslaptop ~ # rc
consolefont       | * Setting console font [default8x16] ...
consolefont       |setfont: default8x16: No such file or directory                                     [ !! ]
consolefont       | * ERROR: consolefont failed to start


I added a line to the init script to print out the command that is failing and it is this:
setfont default8x16 -C /dev/tty1

However running that command manually (as root) succeeds. The file /usr/share/consolefonts/default8x16.psfu.gz exists.

Is anyone else having this problem? How do I fix it?
Back to top
View user's profile Send private message
yee
n00b
n00b


Joined: 16 Sep 2004
Posts: 39

PostPosted: Thu Sep 15, 2011 2:29 am    Post subject: Reply with quote

Have you checked WHICH setfont is being run in the initscript and which is being run by root? The $PATH variable may differ.

I made a mistake and installed busybox's setfont in /sbin which overrode the /usr/bin version. The busybox version I compiled was broken.

Conway Yee
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Fri Feb 10, 2012 8:25 am    Post subject: Reply with quote

yee wrote:
Have you checked WHICH setfont is being run in the initscript and which is being run by root? The $PATH variable may differ.

I made a mistake and installed busybox's setfont in /sbin which overrode the /usr/bin version. The busybox version I compiled was broken.

Conway Yee


Code:
$ sudo /sbin/setfont default8x16 -C /dev/tty1
setfont: default8x16: No such file or directory
$ sudo /usr/bin/setfont default8x16 -C /dev/tty1

So the first one, busybox's version, fails. rc is calling that one because /sbin is in front of /usr/bin in root's $PATH

EDIT:
Actually, this lead to an interesting result:[
Code:
# ll `qfile -o *`
lrwxrwxrwx 1 root root 12 Feb  9 23:50 adjtimex -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 dhcprelay -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 fbset -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 flashcp -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 flash_eraseall -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 flash_lock -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 flash_unlock -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 freeramdisk -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ftpd -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 getty -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 httpd -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ifdown -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ifenslave -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ifup -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 klogd -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 loadfont -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 loadkmap -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 logread -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 makedevs -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 mdev -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 mkfs.reiser -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 nanddump -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 nandwrite -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 nbd-client -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 popmaildir -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 raidautorun -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 rdate -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 setconsole -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 setlogcons -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 syslogd -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 telnetd -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 tunctl -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ubiattach -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ubidetach -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ubimkvol -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ubirmvol -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ubirsvol -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 ubiupdatevol -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 udhcpc -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 udhcpd -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 vconfig -> /bin/busybox
lrwxrwxrwx 1 root root 12 Feb  9 23:50 zcip -> /bin/busybox


Why are there so many orphaned symblinks to applets of busybox?? I don't remember creating them. Wondering if it is safe to remove them?
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum