[Bug 1565542] [NEW] init scripts don't set console fonts

Eugene Nuke 1565542 at bugs.launchpad.net
Sun Apr 3 19:53:41 UTC 2016


Public bug reported:

1) lsb_release -rd
Description:	Ubuntu 15.10
Release:	15.10

2) apt-cache policy keyboard-configuration
keyboard-configuration:
  Installed: 1.108ubuntu9
  Candidate: 1.108ubuntu9
  Version table:
 *** 1.108ubuntu9 0
        500 http://ru.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

3) I expected to have cyrillic font for consoles (/dev/tty[1-6]) after
sudo dpkg-reconfigure console-setup
and reboot

4) I have cyrrilic font until I reboot. After reboot I have black boxes instead cyrillic chars.
If I do:
setfont /etc/console-setup/Uni2-TerminusBold16.psf.gz
then I have cyrrilic font in current console 

I found that these scripts
/usr/share/initramfs-tools/scripts/init-top/console_setup
/lib/udev/console-setup-tty
cannot properly set console fonts.
They don't recognize option CODESET="guess" and FONTSIZE="*x*" and check if exist only *.psf file, but we have *.psf.gz

I get part of code from /bin/setupcon and paste it in
/usr/share/initramfs-tools/scripts/init-top/console_setup
/lib/udev/console-setup-tty
and add extra test for psf.gz and acm.gz files

The attachment contain original scripts, fixed scripts and patches.

** Affects: console-setup (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: console cyrillic font

** Patch added: "Here are original files+fixed files+patches"
   https://bugs.launchpad.net/bugs/1565542/+attachment/4622203/+files/patches.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/1565542

Title:
  init scripts don't set console fonts

Status in console-setup package in Ubuntu:
  New

Bug description:
  1) lsb_release -rd
  Description:	Ubuntu 15.10
  Release:	15.10

  2) apt-cache policy keyboard-configuration
  keyboard-configuration:
    Installed: 1.108ubuntu9
    Candidate: 1.108ubuntu9
    Version table:
   *** 1.108ubuntu9 0
          500 http://ru.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
          100 /var/lib/dpkg/status

  3) I expected to have cyrillic font for consoles (/dev/tty[1-6]) after
  sudo dpkg-reconfigure console-setup
  and reboot

  4) I have cyrrilic font until I reboot. After reboot I have black boxes instead cyrillic chars.
  If I do:
  setfont /etc/console-setup/Uni2-TerminusBold16.psf.gz
  then I have cyrrilic font in current console 

  I found that these scripts
  /usr/share/initramfs-tools/scripts/init-top/console_setup
  /lib/udev/console-setup-tty
  cannot properly set console fonts.
  They don't recognize option CODESET="guess" and FONTSIZE="*x*" and check if exist only *.psf file, but we have *.psf.gz

  I get part of code from /bin/setupcon and paste it in
  /usr/share/initramfs-tools/scripts/init-top/console_setup
  /lib/udev/console-setup-tty
  and add extra test for psf.gz and acm.gz files

  The attachment contain original scripts, fixed scripts and patches.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1565542/+subscriptions



More information about the foundations-bugs mailing list