[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006354: initramfs-tools: panic() in scripts/functions should only call chvt when /dev/tty0 exists



Package: initramfs-tools
Version: 0.130ubuntu3.13
Severity: minor
Tags: upstream

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

when /dev/tty0 is missing, that means there are no VTs. chvt being called doesn't
cause any functionality problem, the panic() function still works, but it could
still could be guarded as it throws an additional error message

*** End of the template - remove these template lines ***


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 22M Apr 17  2021 /boot/initrd.img-3.3.0-030300-generic
-rw-r--r-- 1 root root 15M Apr 17  2021 /boot/initrd.img-4.1.0-rc6+
-rw-r--r-- 1 root root 15M Apr 17  2021 /boot/initrd.img-4.10.0-13-generic
-rw-r--r-- 1 root root 15M Apr 17  2021 /boot/initrd.img-4.11.0-13-generic
-rw-r--r-- 1 root root 42M Dec 11 21:58 /boot/initrd.img-4.15.0-161-generic
-rw-r--r-- 1 root root 42M Jan 13 19:19 /boot/initrd.img-4.15.0-163-generic
-rw-r--r-- 1 root root 42M Jan 13 19:21 /boot/initrd.img-4.15.0-166-generic
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.15.0-166-generic root=/dev/mapper/kubuntu--vg-root ro quiet splash vt.handoff=1

-- resume
RESUME=UUID=/dev/mapper/kubuntu--vg-swap_1
-- /proc/filesystems
	ext3
	ext2
	ext4
	squashfs
	vfat
	fuseblk
	btrfs

-- lsmod
Module                  Size  Used by
joydev                 24576  0
bnep                   20480  2
nf_conntrack_netlink    40960  0
nfnetlink              16384  2 nf_conntrack_netlink
xfrm_user              32768  1
xfrm_algo              16384  1 xfrm_user
xt_addrtype            16384  2
ipt_MASQUERADE         16384  4
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
iptable_nat            16384  1
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 32768  2 nf_nat_masquerade_ipv4,nf_nat_ipv4
br_netfilter           24576  0
nf_conntrack_ipv4      16384  7
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_conntrack           16384  2
nf_conntrack          135168  7 xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat,ipt_MASQUERADE,nf_nat_ipv4,nf_conntrack_netlink
xt_CHECKSUM            16384  2
iptable_mangle         16384  1
ipt_REJECT             16384  4
nf_reject_ipv4         16384  1 ipt_REJECT
xt_tcpudp              16384  12
vmw_vsock_vmci_transport    32768  0
vsock                  36864  1 vmw_vsock_vmci_transport
bridge                155648  1 br_netfilter
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
vmw_vmci               69632  1 vmw_vsock_vmci_transport
ebtable_filter         16384  0
ebtables               32768  1 ebtable_filter
devlink                45056  0
ip6table_filter        16384  0
ip6_tables             28672  1 ip6table_filter
iptable_filter         16384  1
aufs                  241664  0
overlay                77824  0
bluetooth             524288  9 bnep
ecdh_generic           24576  1 bluetooth
binfmt_misc            20480  1
snd_hda_codec_hdmi     49152  1
snd_hda_codec_realtek   110592  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
snd_hda_intel          45056  5
intel_rapl             20480  0
input_leds             16384  0
snd_hda_codec         126976  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
snd_hda_core           81920  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
coretemp               16384  0
snd_hwdep              20480  1 snd_hda_codec
kvm_intel             217088  4
kvm                   614400  1 kvm_intel
snd_pcm                98304  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi           16384  0
irqbypass              16384  1 kvm
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
intel_cstate           20480  0
snd_seq                65536  2 snd_seq_midi,snd_seq_midi_event
intel_rapl_perf        16384  0
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              32768  2 snd_seq,snd_pcm
mei_me                 40960  0
snd                    81920  20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
mei                    94208  1 mei_me
intel_pch_thermal      16384  0
soundcore              16384  1 snd
shpchp                 36864  0
mac_hid                16384  0
acpi_pad              180224  0
sch_fq_codel           20480  5
parport_pc             32768  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 parport_pc,lp,ppdev
ip_tables              28672  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               40960  12 ebtables,ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,ipt_MASQUERADE,xt_addrtype,xt_CHECKSUM,ip6_tables,ipt_REJECT,ip_tables,iptable_mangle
autofs4                40960  2
btrfs                1155072  1
zstd_compress         163840  1 btrfs
algif_skcipher         16384  0
af_alg                 24576  1 algif_skcipher
dm_crypt               40960  2
raid10                 53248  0
raid456               147456  0
async_raid6_recov      20480  1 raid456
async_memcpy           16384  2 raid456,async_raid6_recov
async_pq               16384  2 raid456,async_raid6_recov
async_xor              16384  3 async_pq,raid456,async_raid6_recov
async_tx               16384  5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    24576  2 async_xor,btrfs
raid6_pq              114688  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  3 nf_conntrack,nf_nat,raid456
raid1                  40960  0
raid0                  20480  0
multipath              16384  0
linear                 16384  0
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
hid_logitech_hidpp     36864  0
hid_logitech_dj        20480  0
hid_generic            16384  0
usbhid                 49152  0
hid                   122880  4 usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
mxm_wmi                16384  0
pcbc                   16384  0
i915                 1622016  78
aesni_intel           188416  4
aes_x86_64             20480  1 aesni_intel
i2c_algo_bit           16384  1 i915
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
drm_kms_helper        172032  1 i915
cryptd                 24576  5 crypto_simd,ghash_clmulni_intel,aesni_intel
e1000e                249856  0
syscopyarea            16384  1 drm_kms_helper
firewire_ohci          40960  0
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
uas                    24576  0
ptp                    20480  1 e1000e
usb_storage            69632  1 uas
pps_core               20480  1 ptp
drm                   401408  25 drm_kms_helper,i915
firewire_core          65536  1 firewire_ohci
ahci                   40960  3
crc_itu_t              16384  1 firewire_core
libahci                32768  1 ahci
wmi                    24576  1 mxm_wmi
video                  45056  1 i915

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
COMPCACHE_SIZE=""
COMPRESS=xz
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /etc/crypttab
sda5_crypt UUID=6ae0211c-fc10-4a5c-9393-86690147e032 none luks,discard
##############sda5 UUID=6a40211c-fc10-4a5c-9393-86690147e032 none luks,discard

-- /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
cryptroot

/usr/share/initramfs-tools/hooks:
amd64_microcode
brltty
btrfs
casper
compcache
console_setup
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmraid
dmsetup
fixrtc
framebuffer
fsck
fuse
fuse_utils
intel_microcode
kbd
klibc-utils
kmod
kpartx
lupin_casper
lupin_setup
lvm2
mdadm
ntfs_3g
overlayroot
plymouth
reiserfsprogs
resume
root_locale
thermal
udev
watershed
zz-busybox-initramfs
zz-dhclient


-- System Information:
Debian Release: buster/sid
  APT prefers bionic-updates
  APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 'bionic'), (100, 'bionic-backports')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

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

Versions of packages initramfs-tools depends on:
ii  initramfs-tools-core  0.130ubuntu3.13
ii  linux-base            4.5ubuntu1.7

initramfs-tools recommends no packages.

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

-- no debconf information


Reply to: