Modify

Ticket #2446 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Error al agregar listas negras en cualquier perfil menos el Default

Reported by: oscar.mata@… Owned by: jacalvo@…
Milestone: 2.0.X Component: squid
Severity: major Keywords: dansguardian, squid
Cc:

Description

Al intentar agregar la lista negra compilada por Blacklist URL compatible con Dansguardian, al perfil predeterminado lo consigo sin problemas, pero he creado dos perfiles adicionales a los cuales quiero agregar sus propias configuraciones basadas en la misma lista negra y al intentar cargarlas en cada perfil me arroja el siguiente error:


Sorry, an unexpected error has ocurred root command mv /var/lib/ebox/tmp/fileList_path /etc/dansguardian/extralists/Acceso Total/Acceso? failed. Error output: mv: target `Total/Acceso?' is not a directory Command output: . Exit value: 1

To show technical details click here.

Trace root command mv /var/lib/ebox/tmp/fileList_path /etc/dansguardian/extralists/Acceso Total/Acceso? failed. Error output: mv: target `Total/Acceso?' is not a directory

Command output: . Exit value: 1 at /usr/share/perl5/Error.pm line 182 Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', 'mv /var/lib/ebox/tmp/fileList_path /etc/dansguardian/extralis...', 'output', 'ARRAY(0x7ff4018bcf10)', 'error', 'ARRAY(0x7ff401716908)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 212 EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/ebox/tmp/Fdp3rAsYwl.cmd 2> /v...', 'mv /var/lib/ebox/tmp/fileList_path /etc/dansguardian/extralis...', 256, 'ARRAY(0x7ff4018bcf10)', 'ARRAY(0x7ff401716908)') called at /usr/share/perl5/EBox/Sudo.pm line 181 EBox::Sudo::_root(1, 'mv /var/lib/ebox/tmp/fileList_path /etc/dansguardian/extralis...') called at /usr/share/perl5/EBox/Sudo.pm line 136 EBox::Sudo::root('mv /var/lib/ebox/tmp/fileList_path /etc/dansguardian/extralis...') called at /usr/share/perl5/EBox/Types/File.pm line 644 EBox::Types::File::_moveToPath('EBox::Types::File=HASH(0x7ff40174bb20)') called at /usr/share/perl5/EBox/Types/File.pm line 520 EBox::Types::File::_storeInGConf('EBox::Types::File=HASH(0x7ff40174bb20)', 'EBox::Squid=HASH(0x7ff3ffbd60e8)', 'FilterGroup?/keys/filt62/filterPolicy/FilterGroupDomainFilterF...') called at /usr/share/perl5/EBox/Types/Abstract.pm line 351 EBox::Types::Abstract::storeInGConf('EBox::Types::File=HASH(0x7ff40174bb20)', 'EBox::Squid=HASH(0x7ff3ffbd60e8)', 'FilterGroup?/keys/filt62/filterPolicy/FilterGroupDomainFilterF...') called at /usr/share/perl5/EBox/Model/DataTable.pm line 905 EBox::Model::DataTable::addTypedRow('EBox::Squid::Model::FilterGroupDomainFilterFiles?=HASH(0x7ff40...', 'HASH(0x7ff4018b3230)', 'readOnly', undef, 'id', undef) called at /usr/share/perl5/EBox/Model/DataTable.pm line 833 EBox::Model::DataTable::addRow('EBox::Squid::Model::FilterGroupDomainFilterFiles?=HASH(0x7ff40...', 'fileList_path', 'bigblacklist.tar.gz', 'filter', , 'id', undef, 'categories', undef, ...) called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 79 EBox::CGI::Controller::DataTable::addRow('EBox::CGI::Controller::DataTable?=HASH(0x7ff4017bc9b0)') called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 231 EBox::CGI::Controller::DataTable::_process('EBox::CGI::Controller::DataTable?=HASH(0x7ff4017bc9b0)') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 174 EBox::CGI::ClientRawBase::run('EBox::CGI::Controller::DataTable?=HASH(0x7ff4017bc9b0)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120 EBox::CGI::Run::run('EBox::CGI::Run', 'Squid/Controller/FilterGroupDomainFilterFiles?', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 35 ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec?=SCALAR(0x7ff401751278)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7ff401675560)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7ff401675560)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0x7ff401751278)') called at -e line 0 eval {...} called at -e line 0


Traté de adjuntar la bitácora (log) del error pero al tratar de acceder al área de Logs se queda la página en blanco esperando por respuesta del servidor y al final solo no aparece nada.

Attachments

Change History

comment:1 Changed 3 years ago by javier.amor.garcia@…

  • Status changed from new to assigned

Hola Oscar,

gracias por informar de este caso,.

A primera vista parece que el error se debe a que tu nombre de perfil contiene espacios; esto es un error y lo arreglaremos. Si quieres puedes probar a usar un nombre de perfil sin espacios, de esta manera el error no te afectara.

Saludos

comment:2 Changed 3 years ago by oscar.mata@…

Gracias por la pronta respuesta,

Haré la prueba y te reporto los resultados.

Saludos,

Oscar.

comment:3 Changed 3 years ago by oscar.mata@…

Efectivamente,

Al eliminar los espacios de los nombres de los perfiles todo funcionó como se suponía.

Gracias,

Oscar.

comment:4 Changed 2 years ago by jamor@…

  • Owner changed from javier.amor.garcia@… to jamor@…
  • Status changed from assigned to new

comment:5 Changed 2 years ago by jacalvo@…

  • Owner changed from jamor@… to jacalvo@…
  • Status changed from new to assigned

comment:6 Changed 2 years ago by jacalvo@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Esto fue corregido en la versión 2.0.2 del módulo.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.