Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #63006 > unrolled thread

Bug#918498: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package

Started byJosh Triplett <josh@joshtriplett.org>
First post2019-01-06 20:10 +0100
Last post2019-02-04 07:50 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#918498: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package Josh Triplett <josh@joshtriplett.org> - 2019-01-06 20:10 +0100
    Bug#918498: marked as done (/usr/share/initramfs-tools/hooks/keymap:  Please ship in the kbd or console-setup package) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-02-04 00:00 +0100
    Bug#918498: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package Josh Triplett <josh@joshtriplett.org> - 2019-02-04 07:50 +0100

#63006 — Bug#918498: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package

FromJosh Triplett <josh@joshtriplett.org>
Date2019-01-06 20:10 +0100
SubjectBug#918498: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package
Message-ID<xdlY6-6g9-7@gated-at.bofh.it>
Package: initramfs-tools-core
Version: 0.132
Severity: normal
File: /usr/share/initramfs-tools/hooks/keymap

initramfs-tools ships a hook for setting a keymap, which complains on
every run of update-initramfs without kbd or console-setup installed.
Please consider moving this hook to kbd or console-setup, so that it
doesn't run at all without one of those packages installed.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initramfs-tools-core depends on:
ii  coreutils    8.30-1
ii  cpio         2.12+dfsg-6
ii  e2fsprogs    1.44.5-1
ii  klibc-utils  2.0.4-14
ii  kmod         25-2
ii  udev         240-2

Versions of packages initramfs-tools-core recommends:
ii  busybox  1:1.27.2-3

Versions of packages initramfs-tools-core suggests:
ii  bash-completion  1:2.8-5

-- no debconf information

[toc] | [next] | [standalone]


#63234 — Bug#918498: marked as done (/usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-02-04 00:00 +0100
SubjectBug#918498: marked as done (/usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package)
Message-ID<xnyU1-1mw-1@gated-at.bofh.it>
In reply to#63006

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sun, 03 Feb 2019 23:48:06 +0100
with message-id <5e2dc0e7dfcf88e96e8692a0310807896c4274fc.camel@decadent.org.uk>
and subject line Re: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package
has caused the Debian Bug report #918498,
regarding /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
918498: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918498
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#63244

FromJosh Triplett <josh@joshtriplett.org>
Date2019-02-04 07:50 +0100
Message-ID<xnGeR-62t-3@gated-at.bofh.it>
In reply to#63006
On Sun, Feb 03, 2019 at 11:48:06PM +0100, Ben Hutchings wrote:
> On Sun, 06 Jan 2019 10:59:47 -0800 Josh Triplett <josh@joshtriplett.org
> > wrote:
> > Package: initramfs-tools-core
> > Version: 0.132
> > Severity: normal
> > File: /usr/share/initramfs-tools/hooks/keymap
> > 
> > initramfs-tools ships a hook for setting a keymap, which complains on
> > every run of update-initramfs without kbd or console-setup installed.
> > Please consider moving this hook to kbd or console-setup, so that it
> > doesn't run at all without one of those packages installed.
> 
> This only happens if you set KEYMAP=y in initramfs.conf or you install
> a package that does that.

Yes, I'm aware of that.

> (cryptsetup-initramfs does so, on the
> assumption that you will need to type a passphrase.)

And I have cryptsetup-initramfs installed (and kbd and console-setup
intentionally not installed).

> I don't consider this a bug.

I get a complaint every single time I upgrade packages that cause the
initramfs trigger to run, and every time I regenerate the initramfs
myself. I'd like to stop getting that message.

This hook doesn't make sense to run unless kbd or console-setup is
installed. Rather than having the hook in initramfs-tools and checking
if kbd or console-setup is installed, why not move the hook to one of
those packages (where it can *know* that package is installed)?

cryptsetup-initramfs already Recommends kbd and console-setup. This
error message feels tantamount to emitting a warning on every single apt
upgrade saying "there are recommended packages you don't have
installed".

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web