Just installed your new rpm on my 7 server. First did a backup of the config db and then uninstalled the old version using your uninstall script.
On re-install I got some errors about dependencies and had to add the perl modules manually. OK so far.
I then got the following error messages on install...
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/86WebShareAlias: *WARNING* esmith::config(/home/e-smith/WebShare) called with old database path. The following package needs to be updated: at /usr/lib/perl5/site_perl/esmith/config.pm line 374
esmith::config::TIEHASH('esmith::config', '/home/e-smith/WebShare') called at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/86WebShareAlias line 6
eval 'package esmith::__TEMPLATE__::1; ;
#line 1 /etc/e-smith/templates//etc/httpd/conf/httpd.conf/86WebShareAlias
use esmith::config;
use esmith::db;
local %WebShare;
tie %WebShare, \'esmith::config\', \'/home/e-smith/WebShare\';
my $webshare;
foreach $webshare (db_get(\\%WebShare))
{
my $type = db_get_type(\\%WebShare, $webshare);
if ($type eq "WebShare")
{
$OUT .= "# webshare\\/$webshare\\n";
$OUT .= "Alias \\/webshare\\/$webshare \\/opt\\/webshare\\/$webshare\\n";
$OUT .= "<Directory \\/opt\\/webshare\\/$webshare>\\n";
{
use esmith::util;
my $release = esmith::util::determineRelease();
if ("$release" ge "7.0")
{
$OUT .= " SSLRequireSSL\\n";
}
else
{
$OUT .= " RequireSSL on\\n";
}
}
$OUT .= " Options +Indexes\\n";
$OUT .= " AllowOverride None\\n";
$OUT .= " order deny,allow\\n";
$OUT .= " deny from all\\n";
$OUT .= " allow from all\\n";
$OUT .= " AuthName \\"Restricted $webshare access only\\"\\n";
$OUT .= " AuthType Basic\\n";
$OUT .= " AuthUserFile \\/etc\\/httpd\\/conf\\/htpasswd\\.$webshare\\n";
$OUT .= " Require valid-user\\n";
$OUT .= " AddType application\\/x-httpd-php \\.php \\.php3\\n";
$OUT .= " php_flag magic_quotes_gpc on\\n";
$OUT .= " php_flag track_vars on\\n";
$OUT .= "<\\/Directory>\\n";
$OUT .= "\\n";
}
}
;' called at /usr/lib/perl5/vendor_perl/5.8.5/Text/Template.pm line 319
Text::Template::fill_in('Text::Template=HASH(0x8eb839c)', 'HASH', 'ARRAY(0x8cf0f80)', 'PACKAGE', 'esmith::__TEMPLATE__::1', 'BROKEN', 'CODE(0x8e46608)', 'UNTAINT', 1, ...) called at /usr/lib/perl5/vendor_perl/5.8.5/Text/Template.pm
line 382
Text::Template::fill_in_file('/etc/e-smith/templates//etc/httpd/conf/httpd.conf/86WebShareA...', 'HASH', 'ARRAY(0x8cf0f80)', 'PACKAGE', 'esmith::__TEMPLATE__::1', 'BROKEN', 'CODE(0x8e46608)', 'UNTAINT', 1, ...) called at /usr/lib/perl5/site_perl/esmith/templates.pm line 528
esmith::templates::processTemplate('HASH(0x8b1c430)') called at /sbin/e-smith/expand-template line 45
WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf: 1 fragment generated warnings
at /sbin/e-smith/expand-template line 45
Restarting httpd-e-smith [ OK ]
Starting BackupPC: [ OK ]
While the db restores and the backuppc deamon appears all good, I now get a segmentation fault at any signal-event post-update or reboot call.
Pretty clear that it doesn't like the webshare contrib, but do you see a recovery option here?
Cheers,
-jeff