Hi Bram On Tue, Jul 29, 2008 at 12:56:09PM -0400, Bram Swenson wrote: > Package: vserver-debiantools > Version: 0.3.4 > Severity: important > Tags: patch > > > When using the newvserver script with a domain argument that contains > numerals and error occurs. > > <quote> > # newvserver --hostname server1 --domain 247example.com --ip 1.2.3.4 > > newvserver error: --domain requires a dns domain-name > e.g. "example.com" > </quote> > > Line 213 has the regex: > > [a-z]*[a-z] > > which i think should actually be: > > [a-z0-9]*[a-z] > > since numerals are allowed in domain names this regex should allow for > them.
Yes you are right. However the regex must be something like [a-z0-9]*[a-z0-9] Is this bug important enough so you think I should push it for lenny? Lenny has been frozen namely. Best regards, // Ola > Thanks, > Bram. > > > -- System Information: > Debian Release: 4.0 > APT prefers stable > APT policy: (500, 'stable') > Architecture: sparc (sparc64) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.18-6-vserver-sparc64 > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > > Versions of packages vserver-debiantools depends on: > ii binutils 2.17-3 The GNU assembler, linker and > bina > ii debootstrap 0.3.3.2etch1 Bootstrap a basic Debian system > ii rsync 2.6.9-2etch2 fast remote file copy program > (lik > ii util-vserver 0.30.212-1 user-space tools for > Linux-VServer > > vserver-debiantools recommends no packages. > > -- no debconf information > --- /usr/sbin/newvserver 2006-12-09 05:46:05.000000000 -0500 > +++ /usr/sbin/newvserver-domainfix 2008-07-29 11:42:06.000000000 -0400 > @@ -210,7 +210,7 @@ > ;; > --domain) > case "$2" in > - [a-z]*[a-z]) > + [a-z0-9]*[a-z]) > VDOMAIN="$2" > ;; > *) -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]