tag 538763 +patch thanks Here's a patch that should go into netcfg post-squeeze. It's not a high enough priority to be worth pissing off translators over. Some of the fix was already in place via Ubuntu, just not noted anywhere.
- Matt
Index: debian/netcfg-common.templates =================================================================== --- debian/netcfg-common.templates (revision 66176) +++ debian/netcfg-common.templates (working copy) @@ -112,7 +112,7 @@ The name "${hostname}" is invalid. . A valid hostname may contain only the numbers 0-9, the lowercase letters a-z, - and the minus sign. It must be between 2 and 63 characters long, and may not + and the minus sign. It must be at most 63 characters long, and may not begin or end with a minus sign. Template: netcfg/error Index: netcfg-common.c =================================================================== --- netcfg-common.c (revision 66176) +++ netcfg-common.c (working copy) @@ -624,7 +624,7 @@ short verify_hostname (char *hname) { static const char *valid_chars = - "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-."; + "abcdefghijklmnopqrstuvwxyz0123456789-."; size_t len; assert(hname != NULL);