[Pkg-kbd-devel] Bug#612849: kbd: fgconsole prints '1' for machine with no video (only serial)
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Feb 11 06:55:54 UTC 2011
Package: kbd
Version: 1.15.2-2
Severity: normal
acpi-support uses fgconsole to determine where the active console is.
/usr/share/acpi-support/power-funcs expects it to return "serial" if the
serial console is in use.
I'm currently using a kvm instance that has no graphics card (emulated
or otherwise), only serial.
however, fgconsole returns "1" instead of "serial" on this system,
which makes it so that sending an acpi signal (system_powerdown into
the kvm monitor) has no effect other than printing the following
message to syslog:
Feb 11 01:42:45 dirk polkitd[1029]: started daemon version 0.99 using authority implementation `local' version `0.99'
Feb 11 01:43:44 dirk powerbtn-acpi-support.sh: power-funcs: 'ps wt tty1 --no-headers' failure
acpi signals should not be ignored simply because i have no video card
in a machine.
If you think this is actually a bug in one of the other packages in
this chain, feel free to reassign to them so they know what's going
wrong.
Thanks for packaging kbd for debian,
--dkg
-- System Information: Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages kbd depends on:
ii console-common 0.7.85 basic infrastructure for text cons
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
Versions of packages kbd recommends:
ii console-data 2:1.10-9 keymaps, fonts, charset maps, fall
kbd suggests no packages.
-- no debconf information
More information about the Pkg-kbd-devel
mailing list