Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm testing rsnapshot, a perl utility to do backups, included with
opensuse 10.3
It fails, does nothing; very verbose output follows:
nimrodel:~ # rsnapshot daily
require Lchown <========
Lchown module not found
Setting locale to POSIX "C"
echo 3970 > /var/run/rsnapshot.pid
rm -f /var/run/rsnapshot.pid
/bin/logger -i -p user.info -t rsnapshot /usr/bin/rsnapshot daily: \
completed successfully
nimrodel:~ #
It claims to success in under a second, without backing up a single
file! That's not a good thing for a backup program. IMNSHO it is
Horribly Bad that it claims success with a non existing backup!
What on earth is that Lchown? I can't find it with pin. Could it be
"perl-lchown", which is not included in the distro?
If that is so, I assume it is a packaging bug that the rpm for a
required package is not included, not even "required".
LCHOWN(P) POSIX Programmer's Manual
LCHOWN(P)
NAME
lchown - change the owner and group of a symbolic link
SYNOPSIS
#include <unistd.h>
int lchown(const char *path, uid_t owner, gid_t group);
DESCRIPTION
The lchown() function shall be equivalent to chown(),
except in the case where the named file is a symbolic
link. In this case, lchown() shall change the ownership
of the symbolic link file itself, while chown() changes
the ownership of the file or directory to which the
symbolic link refers.
RETURN VALUE
Upon successful completion, lchown() shall return 0.
Otherwise, it shall return -1 and set errno to indicate
an error.
blah blah blah.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]