Hi Folks
after some struggling with the backup function in webconf last week I
decided to upgrade to 3.1beta1.
Still using my multi-personality setup I found that the newly introduced
lrcfg.backup script breaks a number of things
Here is the background
in my leaf.cfg I have
CONFIGDB=sentinel
which uses sentinel.lrp for the configdb at load time, but when trying
to save it
Creating configdb.lrp Please wait: \
New Package:
ls: /tmp/configdb.lrp: No such file or directory
Old Package:
ls: /var/lib/lrpkg/mnt0/configdb.lrp: No such file or directory
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hdc3 19144 5708 13436 30% /mnt
It mounts the target partition correctly, but the code to backup in
lrcfg.backup is
cd /
if [ $PACKAGE = configdb ] ; then
/usr/sbin/apkg -o $DIR > /dev/null 2>&1
Does not specify a package name anymore, which is wrong IMHO. The old
syntax used to be
/usr/sbin/apkg -o $PACKAGE $DIR
Looking into apkg I believe that the actual version would not honour the
previous interface anymore
"-o") create_local $2
exit $?
;;
vs.
"-o") create_local $2 $3
exit $?
;;
I consider this a step back from the previous version, as the CONFIGDB
parameter is now useless.
cheers
Erich
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/