Package: netcfg Version: netcfg-1.19 Severity: normal *** Please type your report below this line ***
-- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-386 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) We are doing some automated SID network installs and I end up with a bad /etc/network/interfaces file. I tracked the problem to a misplaced quote in the netcfg-common.c file. The patch is attached. Thanks! Tony
diff -urN netcfg-1.19.orig/netcfg-common.c netcfg-1.19/netcfg-common.c --- netcfg-1.19.orig/netcfg-common.c 2005-12-03 13:55:00.000000000 -0500 +++ netcfg-1.19/netcfg-common.c 2005-12-03 13:55:43.000000000 -0500 @@ -710,7 +710,7 @@ fprintf(fp, "# This is a list of hotpluggable network interfaces.\n"); fprintf(fp, "# They will be activated automatically by the " "hotplug subsystem.\n"); - fprintf(fp, "mapping %s\n, interface"); + fprintf(fp, "mapping %s\n", interface); fprintf(fp, "\tscript grep\n"); fprintf(fp, "\tmap %s\n", interface); }