View previous topic :: View next topic |
Author |
Message |
[n00b@localhost] Apprentice
Joined: 30 Aug 2004 Posts: 266 Location: London, UK
|
Posted: Sun Jul 03, 2011 4:47 pm Post subject: consolefont |setfont:default8x16: No such file or directory |
|
|
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 |
|
|
yee n00b
Joined: 16 Sep 2004 Posts: 39
|
Posted: Thu Sep 15, 2011 2:29 am Post subject: |
|
|
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 |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Fri Feb 10, 2012 8:25 am Post subject: |
|
|
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 |
|
|
|