Bug#903393: [initramfs-tools] update-initramfs -u warns: Unknown X keysym "dead_belowmacron"

2020-05-17 Thread bakhelit

Dear Maintainer,

On Debian 9 (with console-setup 1.164) running "sudo update-initramfs 
-u" produces:

update-initramfs: Generating /boot/initrd.img-4.9.0-12-amd64
WARNING: Unknown X keysym "dead_belowbreve"
WARNING: Unknown X keysym "dead_belowbreve"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowring"
WARNING: Unknown X keysym "dead_belowring"
WARNING: Unknown X keysym "dead_belowcircumflex"
WARNING: Unknown X keysym "dead_belowcircumflex"
WARNING: Unknown X keysym "dead_greek"
WARNING: Unknown X keysym "dead_greek"
WARNING: Unknown X keysym "dead_greek"
WARNING: Unknown X keysym "dead_greek"
WARNING: Unknown X keysym "dead_belowdiaeresis"
WARNING: Unknown X keysym "dead_belowdiaeresis"
WARNING: Unknown X keysym "dead_belowtilde"
WARNING: Unknown X keysym "dead_belowtilde"
WARNING: Unknown X keysym "dead_belowtilde"
WARNING: Unknown X keysym "dead_belowtilde"

On Debian 10 (with console-setup 1.193~deb10u1) running "sudo 
update-initramfs -u" produces:

update-initramfs: Generating /boot/initrd.img-4.19.0-9-amd64

This is with my custom XKB keyboard layout where I included the quite a 
few "dead_*" X keysyms.


The problem is indeed caused by the Perl script "/usr/bin/ckbcomp" because:

- The script does not support all X keysyms.

- Despite not supporting all X keysyms the supported X keysyms are used 
as if the remaining unknown X keysyms are potentially invaild X keysyms.


- On Debian 9 the "/usr/share/initramfs-tools/hooks/keymap" script calls 
"/bin/setupcon" via "setupcon --save-keyboard ..." which causes it to 
call "/usr/bin/ckbcomp".


- On Debian 10 the "/usr/share/initramfs-tools/hooks/keymap" script 
calls "/bin/setupcon" via "setupcon --setup-dir ..." which causes it to 
not call "/usr/bin/ckbcomp".


Perhaps the Perl script "/usr/bin/ckbcomp" should be updated to support 
all X keysyms or the current supported X keysyms should be used as just 
an incomplete whitelist, where the remaining unknown X keysyms are also 
potentially vaild keysyms. In other words an info or warning about 
unsupported X keysym could be printed only in verbose or debug mode or 
not at all.


Regards,
Bakhelit



Bug#903393: [initramfs-tools] update-initramfs -u warns: Unknown X keysym "dead_belowmacron"

2020-05-04 Thread xiscu
Package: console-setup
Followup-For: Bug #903393

Dear Maintainer,

I'm not able to reproduce on 1.195:

# update-initramfs -u || echo "Failed"
update-initramfs: Generating /boot/initrd.img-5.5.0-2-amd64

No warnings so far with that test.


In any case, here some extra information:

a) 
# cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT=""
XKBOPTIONS="lv3:ralt_switch,compose:rctrl"

BACKSPACE="bs"


b) 
# apt policy console-setup
console-setup:
  Installed: 1.195
  Candidate: 1.195
  Version table:
 *** 1.195 900
900 http://ftp.de.debian.org/debian testing/main amd64 Packages
 10 http://ftp.de.debian.org/debian sid/main amd64 Packages
100 /var/lib/dpkg/status


An I reconfigured the keyboard with (see also msg:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903393#39):

dpkg-reconfigure keyboard-configuration

Regards,
xiscu

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (10, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages console-setup depends on:
ii  console-setup-linux 1.195
ii  debconf 1.5.74
ii  keyboard-configuration  1.195
ii  xkb-data2.29-2

console-setup recommends no packages.

Versions of packages console-setup suggests:
ii  locales   2.30-4
ii  lsb-base  11.1.0

Versions of packages keyboard-configuration depends on:
ii  debconf 1.5.74
ii  liblocale-gettext-perl  1.07-4

Versions of packages console-setup-linux depends on:
ii  init-system-helpers 1.57
ii  initscripts 2.96-3
ii  kbd 2.0.4-4
ii  keyboard-configuration  1.195

console-setup-linux suggests no packages.

Versions of packages console-setup is related to:
pn  console-common
pn  console-data  
pn  console-tools 
pn  gnome-control-center  
ii  kbd   2.0.4-4
ii  systemd   245.5-2

-- debconf information:
  console-setup/fontsize: 8x18
  keyboard-configuration/unsupported_config_options: true
* keyboard-configuration/compose: Right Control
  console-setup/store_defaults_in_debconf_db: true
* keyboard-configuration/store_defaults_in_debconf_db: true
* console-setup/fontface47: Fixed
* keyboard-configuration/modelcode: pc105
* console-setup/charmap47: UTF-8
  console-setup/use_system_font:
* keyboard-configuration/toggle: No toggling
* keyboard-configuration/xkb-keymap: de(nodeadkeys)
* keyboard-configuration/variant: German
* console-setup/fontsize-fb47: 8x18
* keyboard-configuration/layoutcode: de
* keyboard-configuration/ctrl_alt_bksp: false
  console-setup/fontsize-text47: 8x18
* keyboard-configuration/model: Generic 105-key PC (intl.)
  console-setup/codesetcode: Lat15
* keyboard-configuration/switch: No temporary switch
* keyboard-configuration/altgr: Right Alt (AltGr)
  keyboard-configuration/unsupported_config_layout: true
* keyboard-configuration/other:
* keyboard-configuration/optionscode: lv3:ralt_switch,compose:rctrl
  keyboard-configuration/unsupported_layout: true
* console-setup/codeset47: # Latin1 and Latin5 - western Europe and Turkic 
languages
  console-setup/framebuffer_only:
  debian-installer/console-setup-udeb/title:
* keyboard-configuration/layout:
* keyboard-configuration/variantcode:
  keyboard-configuration/unsupported_options: true
  console-setup/guess_font:



Bug#903393: [initramfs-tools] update-initramfs -u warns: Unknown X keysym "dead_belowmacron"

2020-03-26 Thread xiscu
Package: console-setup
Version: 1.194
Followup-For: Bug #903393

Dear Developers,
I'm able to reproduce it also on 1.194:

# apt policy console-setup
console-setup:
  Installed: 1.194
  Candidate: 1.194
  Version table:
 *** 1.194 900
900 http://ftp.de.debian.org/debian testing/main amd64 Packages
 10 http://ftp.de.debian.org/debian sid/main amd64 Packages
100 /var/lib/dpkg/status

# update-initramfs -u || echo "Failed"
update-initramfs: Generating /boot/initrd.img-5.4.0-4-amd64
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"

Regards,
xiscu

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (10, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages console-setup depends on:
ii  console-setup-linux 1.194
ii  debconf 1.5.73
ii  keyboard-configuration  1.194
ii  xkb-data2.29-2

console-setup recommends no packages.

Versions of packages console-setup suggests:
ii  locales   2.30-2
ii  lsb-base  11.1.0

Versions of packages keyboard-configuration depends on:
ii  debconf 1.5.73
ii  liblocale-gettext-perl  1.07-4

Versions of packages console-setup-linux depends on:
ii  init-system-helpers 1.57
ii  initscripts 2.96-3
ii  kbd 2.0.4-4
ii  keyboard-configuration  1.194

console-setup-linux suggests no packages.

Versions of packages console-setup is related to:
pn  console-common
pn  console-data  
pn  console-tools 
pn  gnome-control-center  
ii  kbd   2.0.4-4
ii  systemd   244.3-1

-- debconf information:
* keyboard-configuration/compose: No compose key
* keyboard-configuration/altgr: The default for the keyboard layout
* keyboard-configuration/optionscode:
  console-setup/use_system_font:
* keyboard-configuration/variantcode:
  console-setup/framebuffer_only:
* console-setup/fontsize-fb47: 8x18
* keyboard-configuration/switch: No temporary switch
  keyboard-configuration/unsupported_options: true
* keyboard-configuration/xkb-keymap: de
  console-setup/store_defaults_in_debconf_db: true
  keyboard-configuration/ctrl_alt_bksp: false
  console-setup/fontsize-text47: 8x18
* keyboard-configuration/layout:
  keyboard-configuration/unsupported_config_options: true
* keyboard-configuration/other:
* keyboard-configuration/model: Generic 105-key PC (intl.)
* keyboard-configuration/layoutcode: de
* keyboard-configuration/variant: German
* console-setup/fontface47: Fixed
* console-setup/codeset47: # Latin1 and Latin5 - western Europe and Turkic 
languages
* keyboard-configuration/modelcode: pc105
  debian-installer/console-setup-udeb/title:
* keyboard-configuration/toggle: No toggling
* console-setup/charmap47: UTF-8
  console-setup/codesetcode: Lat15
  keyboard-configuration/unsupported_layout: true
* keyboard-configuration/store_defaults_in_debconf_db: true
  console-setup/guess_font:
  console-setup/fontsize: 8x18
  keyboard-configuration/unsupported_config_layout: true



Bug#903393: [initramfs-tools] update-initramfs -u warns: Unknown X keysym "dead_belowmacron"

2020-01-09 Thread TS
On Thu, 25 Apr 2019 15:55:48 +0200 at46  wrote:
> Seems the warnings are gone. Neither with update-initramfs nor with 
> setupcon I get the "WARNING: Unknown X keysym "dead_belowmacron"" 
> messages anymore.
> 
> Axel

Hi,

for me this message still is displayed:

# command update-initramfs -u || echo "Failed"
update-initramfs: Generating /boot/initrd.img-5.4.0-2-amd64
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"

current sid.



kind regards,

 Thilo



Bug#903393: [initramfs-tools] update-initramfs -u warns: Unknown X keysym "dead_belowmacron"

2019-04-25 Thread at46
Seems the warnings are gone. Neither with update-initramfs nor with 
setupcon I get the "WARNING: Unknown X keysym "dead_belowmacron"" 
messages anymore.


Axel



Bug#903393: [initramfs-tools] update-initramfs -u warns: Unknown X keysym "dead_belowmacron"

2018-07-25 Thread Ben Hutchings
Control: reassign -1 console-setup 1.184

This is not a bug in initramfs-tools.  The warning comes from console-
setup and is triggered by a change to the German keyboard layout
(from ).

Ben.

-- 
Ben Hutchings
[W]e found...that it wasn't as easy to get programs right as we had
thought. I realized that a large part of my life from then on was going
to be spent in finding mistakes in my own programs.
 - Maurice Wilkes, 1949


signature.asc
Description: This is a digitally signed message part


Bug#903393: [initramfs-tools] update-initramfs -u warns: Unknown X keysym "dead_belowmacron"

2018-07-09 Thread kardan
Package: initramfs-tools
Version: 0.130
Severity: normal

I experienced this when apt triggered initramfs-tools:

Trigger für initramfs-tools (0.130) werden
verarbeitet ... update-initramfs:
Generating /boot/initrd.img-4.16.0-2-686 WARNING: Unknown X keysym
"dead_belowmacron" WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
W: APT had planned for dpkg to do more than it reported back (15 vs
19). Affected packages: udev:i386

It is reproducable running 

# update-initramfs -u||echo "Failed."
update-initramfs:
Generating /boot/initrd.img-4.16.0-2-686 WARNING: Unknown X keysym
"dead_belowmacron" WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"

The command ends without error. Let me know, if you know more info.

For reference:
https://bugs.freedesktop.org/show_bug.cgi?id=35527
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/738314

This is buster upgraded to testing with some packages installed from
sid.

# apt policy initramfs-tools
initramfs-tools:
  Installed: 0.130
  Candidate: 0.130
  Version table:
 *** 0.130 500
500 http://ftp.de.debian.org/debian buster/main i386 Packages
100 /var/lib/dpkg/status

# apt policy xkb-data
xkb-data:
  Installed: 2.23.1-1
  Candidate: 2.23.1-1
  Version table:
 *** 2.23.1-1 500
500 http://ftp.de.debian.org/debian buster/main i386
Packages 100 /var/lib/dpkg/status

# apt policy console-setup
console-setup:
  Installed: 1.184
  Candidate: 1.184
  Version table:
 *** 1.184 500
500 http://ftp.de.debian.org/debian buster/main i386
Packages 100 /var/lib/dpkg/status

# apt policy xkeyboard-config
xkeyboard-config:
  Installed: (none)
  Candidate: (none)
  Version table:

--- System information. ---
Architecture: 
Kernel:   Linux 4.16.0-2-686

Debian Release: buster/sid
  500 testing-debug   debug.mirrors.debian.org 
  500 testing ftp.de.debian.org 

--- Package information. ---
Depends   (Version) | Installed
===-+-===
initramfs-tools-core  (= 0.130) | 0.130
linux-base  | 4.5


Package's Recommends field is empty.

Suggests (Version) | Installed
==-+-===
bash-completion| 1:2.8-1



--- Output from package bug script ---
-- initramfs sizes
-rw-r--r-- 1 root root 22M Apr 24 21:21 /boot/initrd.img-4.15.0-2-686
-rw-r--r-- 1 root root 22M Jun  9 18:44 /boot/initrd.img-4.16.0-1-686
-rw-r--r-- 1 root root 22M Jul  9 13:34 /boot/initrd.img-4.16.0-2-686
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.16.0-2-686 root=/dev/mapper/ ro quiet

-- resume
RESUME=/dev/mapper/
-- /proc/filesystems
ext3
ext2
ext4
squashfs
fuseblk

-- lsmod
Module  Size  Used by
rpcsec_gss_krb532768  0
nfsv4 454656  0
fuse   90112  1
dns_resolver   16384  1 nfsv4
nfs   192512  1 nfsv4
fscache45056  2 nfsv4,nfs
iTCO_wdt   16384  0
iTCO_vendor_support16384  1 iTCO_wdt
ipw2200   131072  0
libipw 32768  1 ipw2200
snd_intel8x0   32768  2
snd_ac97_codec 98304  1 snd_intel8x0
lib80211   16384  1 libipw
pcmcia 49152  0
radeon   1347584  6
ac97_bus   16384  1 snd_ac97_codec
cfg80211  462848  2 ipw2200,libipw
ttm65536  1 radeon
drm_kms_helper122880  1 radeon
snd_pcm81920  2 snd_ac97_codec,snd_intel8x0
yenta_socket   36864  0
pcmcia_rsrc20480  1 yenta_socket
pcmcia_core20480  3 yenta_socket,pcmcia,pcmcia_rsrc
drm   299008  9 radeon,ttm,drm_kms_helper
joydev 20480  0
evdev  20480  19
i2c_algo_bit   16384  1 radeon
fb_sys_fops16384  1 drm_kms_helper
lpc_ich24576  0
serio_raw  16384  0
syscopyarea16384  1 drm_kms_helper
pcspkr 16384  0
sysfillrect16384  1 drm_kms_helper
thinkpad_acpi  65536  0
sysimgblt  16384  1 drm_kms_helper
rng_core   16384  0
snd_timer  28672  1 snd_pcm
sg 32768  0
button 16384  0
nvram  16384  1 thinkpad_acpi
snd61440  9
snd_ac97_codec,snd_timer,thinkpad_acpi,snd_intel8x0,snd_pcm
soundcore  16384  1 snd rfkill 20480  3
thinkpad_acpi,cfg80211 shpchp 32768  0
battery20480  0
ac 16384  0
video  36864  1 thinkpad_acpi
acpi_cpufreq   20480  1
squashfs   45056  2
zstd_decompress65536  1 squashfs
xxhash 20480  1 zstd_decompress
loop