I noticed that with 4.1.2 if I use the WebUI (CGI) to edit a host config that has an existing $Conf{BackupFilesExclude} set, under the’xfer’ tab, there’s a checkmark for the Override of “BackupFilesExclude”, but the CGI does not show the list of excludes.
Saving the config leaves an empty set:
$Conf{BackupFilesExclude} = {};
or (on a second test)
$Conf{BackupFilesExclude} = { '*' => [] };
But the LOG reports, incorrectly:
017-05-12 10:44:30 backuppc changed BackupFilesExclude in host grover config to {} from {'*' => ['/proc','/sys','/mnt','/net','/dev','/var/log/lastlog','/var/run','/ais02','/backup','/export','/software','/oracledba','/syswork’]}
or
2017-05-12 10:52:00 backuppc changed BackupFilesExclude in host grover config to {'*' => []} from {'*' => ['/proc','/sys','/mnt','/net','/dev','/var/log/lastlog','/var/run','/ais02','/backup','/export','/software','/oracledba','/syswork']}
Please let me know if there's any additional information we can provid.
--
Ray Frush
On Thu, May 11, 2017 at 5:38 PM, Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.] <mark.moorcroft AT nasa DOT gov> wrote:
Using the 4.1.2 COPR on CentOS7. If I set the BackupFilesExclude in config.pl it will be overwritten the second I change any other setting. If I change the setting in the GUI it saves, but reverts to empty the next time any other setting is saved.
2017-05-11 16:29:05 tsadmin changed MaxOldPerPCLogFiles in main config to '12' from '10'
2017-05-11 16:29:05 Reloading config/host files via CGI request
2017-05-11 16:29:05 Next wakeup is 2017-05-11 17:00:00
2017-05-11 16:35:20 tsadmin changed BackupFilesExclude in main config to {'*' => ['lastlog']} from {'*' => []}
2017-05-11 16:35:20 Reloading config/host files via CGI request
2017-05-11 16:35:20 Next wakeup is 2017-05-11 17:00:00
2017-05-11 16:35:39 tsadmin changed BackupFilesExclude in main config to {'*' => []} from {'*' => ['lastlog']}
2017-05-11 16:35:39 tsadmin changed MaxOldPerPCLogFiles in main config to '10' from '12'
2017-05-11 16:35:39 Reloading config/host files via CGI request
2017-05-11 16:35:39 Next wakeup is 2017-05-11 17:00:00
Ideas?
--
Contractor: AMA Incorporated
Mark Moorcroft – Lead Admin
ESTRAD Linux Computer Support
NASA Ames Research Center
Moffett Field, CA 94035-1000
N230/108 (MS N230-1)
Time flies like an arrow, but fruit flies like a banana.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot