Hi Craig, 

I pulled the latest from github and used makeDist, then ran
configure.pl. 

Cheers! 

mph

On 2017-03-02 16:14, Craig Barratt wrote:

> Mph, 
> 
> configure.pl [5] should update the value of $useFHS when it does the 
> installation.  Did you install from Github using makeDist then configure.pl 
> [5]?  Or did you manually copy the files?
> 
> I noticed in github, backuppc3 lib/BackupPC/Lib.pm has $useFHS = 1, while 
> master (v4) has $useFHS = 0.  While that shouldn't matter (since configure.pl 
> [5] updates it), I will change master to $useFHS = 1. 
> 
> Craig 
> 
> On Mon, Feb 6, 2017 at 10:02 PM, Michael Huntley <[email protected]> wrote:
> 
>> Hey guys,
>> 
>> noticed a change to Lib.pm from v3.x in v4.x that is causing headaches.
>> ConfDir values appear to be swapped...
>> 
>> In Lib.pm:
>> if ( $useFHS ) {
>> $paths = {
>> useFHS     => $useFHS,
>> TopDir     => $topDir,
>> InstallDir => $installDir,
>> ConfDir    => $confDir eq "" ? '/etc/backuppc' : $confDir,
>> LogDir     => '/var/log/BackupPC',
>> RunDir     => '/var/run/BackupPC',
>> };
>> } else {
>> $paths = {
>> useFHS     => $useFHS,
>> TopDir     => $topDir,
>> InstallDir => $installDir,
>> ConfDir    => $confDir eq "" ? "$topDir/conf" : $confDir,
>> LogDir     => "$topDir/log",
>> RunDir     => "$topDir/log",
>> };
>> 
>> Upgrades will not work with this current configuration.  ConfDir values
>> for non FHS ConfDir should be set to '/etc/backuppc' for the upgrade to
>> work.  New installs do not work either as the default setup sets $useFHS
>> = 0 and places the config.pl [1] in '/etc/backuppc'. This is from the latest
>> 4.x git repo using makeDist.
>> 
>> A big Thank You to you all for such a great product!
>> 
>> Cheers,
>> 
>> mph
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> BackupPC-users mailing list
>> [email protected]
>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users [2]
>> Wiki:    http://backuppc.wiki.sourceforge.net [3]
>> Project: http://backuppc.sourceforge.net/ [4]
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot 
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
 

Links:
------
[1] http://config.pl
[2] https://lists.sourceforge.net/lists/listinfo/backuppc-users
[3] http://backuppc.wiki.sourceforge.net
[4] http://backuppc.sourceforge.net/
[5] http://configure.pl
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to