>Number: 161711
>Category: bin
>Synopsis: [patch] bsdinstall(8) does not quote the keymap setting in
>rc.conf
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 16 15:30:25 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Manolis Kiagias
>Release: 9.0-BETA3
>Organization:
>Environment:
>Description:
When selecting a keyboard map during installation with bsdinstall, the relevant
rc.conf entry is written without quotes. While quotes are not necessary, all
entries have had them till now (sysinstall always quoted settings) and it also
seems every other bsdinstall entry is quoted.
Apparently the problem lies with the kbdmap program called from bsdinstall.
>How-To-Repeat:
Select a keyboard map during installation. Look at the rc.conf entry after
installation.
>Fix:
Apply the following patch to kbdmap.c
Patch attached with submission follows:
--- kbdmap.c.original 2011-10-16 18:12:55.000000000 +0300
+++ kbdmap.c 2011-10-16 18:14:12.000000000 +0300
@@ -289,7 +289,7 @@
if (!x11)
system(kbd_cmd);
- fprintf(stderr, "keymap=%s\n", km->keym);
+ fprintf(stderr, "keymap=\"%s\"\n", km->keym);
free(kbd_cmd);
}
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"