Thanks very much for the bug report, Nicolas. I have fixed it in the svn. Now it only accepts alphanumerics and '.' , '_', '-' character as valid names.
Thanks, Javier El sáb, 18-10-2008 a las 12:35 +0000, nicolas diogo escribió: > hi, > > i created a openVPN with a space in teh name by mistake and the gui > interface accepted but it is now complaining. > i find the following entries on /var/log/ebox/ebox.log > > OpenVPN bug - interface accepts Names with spaces but it causes > failure. > > 2008/10/14 21:30:31 INFO> Module.pm:135 EBox::Module::restartService - > Restarting service for module: openvpn > 2008/10/14 21:30:31 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root > command /usr/bin/test -d /etc/openvpn/NicolasDiogo.conf.d failed. > Error output: > Command output: . > Exit value: 1 > 2008/10/14 21:30:31 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root > command /usr/bin/test -e /etc/openvpn/NicolasDiogo.conf.d failed. > Error output: > Command output: . > Exit value: 1 > 2008/10/14 21:30:31 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root > command /usr/bin/test -d /etc/openvpn/Nicolas Diogo.conf.d failed. > Error output: /usr/bin/test: /etc/openvpn/Nicolas: binary operator > expected > > Command output: . > Exit value: 2 > 2008/10/14 21:30:31 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root > command /usr/bin/test -e /etc/openvpn/Nicolas Diogo.conf.d failed. > Error output: /usr/bin/test: /etc/openvpn/Nicolas: binary operator > expected > > Command output: . > Exit value: 2 > 2008/10/14 21:30:31 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root > command mkdir --mode 0700 /etc/openvpn/Nicolas Diogo.conf.d failed. > Error output: mkdir: cannot create directory `/etc/openvpn/Nicolas': > File exists > mkdir: cannot create directory `Diogo.conf.d': File exists > > Command output: . > Exit value: 1 > 2008/10/14 21:30:31 ERROR> Daemon.pm:511 > EBox::OpenVPN::Daemon::__ANON__ - Failure when cleaning up the deleted > openvpn daemon Nicolas Diogo. Possibly you will need to do some manual > cleanup > > > could someone please explain; what is the manual cleanup that i need > to do? > > many thanks, > > Nicolas > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > _______________________________________________ > Ebox-user mailing list > [email protected] > https://lists.warp.es/mailman/listinfo/ebox-user _______________________________________________ Ebox-user mailing list [email protected] https://lists.warp.es/mailman/listinfo/ebox-user
