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

Bug#261073: on serial console installs, file descriptor error



tag 261073 + patch
thanks

* Martin Michlmayr [2004-07-23 15:24:20+0100]
> Since recently, I get this error about not being able to find a file
> descriptor for the console and serial console installs.  I thought
> kbd-chooser had been completely disabled for serial consle installs,
> but it seem not...
> 
> umount: /initrd/dev: Invalid argument^M
> Starting system log daemon: syslogd, klogd.^M
> (process:134): ERROR **: Couldnt get a file descriptor referring to the console^M

Could you try the patch attached?

Regards,

-- 
roktas
--- S55kbd-chooser.orig	2004-07-04 20:05:14.000000000 +0300
+++ S55kbd-chooser	2004-07-24 00:30:45.000000000 +0300
@@ -4,6 +4,11 @@
 
 set -e
 
+# Silently exit on a serial console.
+if [ "$TERM_TYPE" = serial ]; then
+	exit 0
+fi
+
 # Set console mode to unicode
 if [ -x "$kbdmode" ] ; then
 	$kbdmode -u || true

Attachment: signature.asc
Description: Digital signature


Reply to: