| View previous topic :: View next topic |
| Author |
Message |
Jeffrey Goldberg Guest
|
Posted: Mon Apr 28, 2008 5:07 pm Post subject: Could not lchown() symlink |
|
|
I've just started using rsnapshot on a FreeBSD 7.0 system. I'll have
some more questions in the coming days, but at the moment, I just
wanted to ask about a warning seeing (running with verbose 3).
WARNING: Could not lchown() symlink "/Volumes/Back1/rsnapshot/hourly.1/
kreacher.ewd.goldmark.org/usr/share/nls/fr_FR.ISO8859-15/ee.cat"
And many similar such warnings referring to other files. I do see
that the file in question is a symbolic link on the original system.
# ls -l /usr/share/nls/fr_FR.ISO8859-15/ee.cat
lrwxr-xr-x 1 root wheel 25 Mar 7 16:21 /usr/share/nls/
fr_FR.ISO8859-15/ee.cat -> ../fr_FR.ISO8859-1/ee.cat
The rsnapshot root is on a USB drive created with FreeBSD's newfs all
with default values (other than a disk label), so this is presumably
USF2.
I didn't see anything in the FAQ about these warnings. Is there
anything to worry about here? And does the treatment of soft links
have any repercussions for restores?
-j
--
Jeffrey Goldberg http://www.goldmark.org/jeff/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss |
|
| Back to top |
|
 |
David Keegel Guest
|
Posted: Mon Apr 28, 2008 5:34 pm Post subject: Could not lchown() symlink |
|
|
The FAQ now has:
Q: I get warnings like Could not lchown() symlink. Help?
A: You should be able to fix the warnings by installing the perl Lchown module. See the Lchown section of downloads. Or if you don't care about symlinks having the wrong ownership in your snapshots, then you could ignore the warnings.
On Mon, Apr 28, 2008 at 08:07:08PM -0500, Jeffrey Goldberg wrote:
| Quote: | I've just started using rsnapshot on a FreeBSD 7.0 system. I'll have
some more questions in the coming days, but at the moment, I just
wanted to ask about a warning seeing (running with verbose 3).
WARNING: Could not lchown() symlink "/Volumes/Back1/rsnapshot/hourly.1/
kreacher.ewd.goldmark.org/usr/share/nls/fr_FR.ISO8859-15/ee.cat"
And many similar such warnings referring to other files. I do see
that the file in question is a symbolic link on the original system.
# ls -l /usr/share/nls/fr_FR.ISO8859-15/ee.cat
lrwxr-xr-x 1 root wheel 25 Mar 7 16:21 /usr/share/nls/
fr_FR.ISO8859-15/ee.cat -> ../fr_FR.ISO8859-1/ee.cat
The rsnapshot root is on a USB drive created with FreeBSD's newfs all
with default values (other than a disk label), so this is presumably
USF2.
I didn't see anything in the FAQ about these warnings. Is there
anything to worry about here? And does the treatment of soft links
have any repercussions for restores?
-j
--
Jeffrey Goldberg http://www.goldmark.org/jeff/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
|
--
___________________________________________________________________________
David Keegel <djk < at > cybersource.com.au> http://www.cyber.com.au/users/djk/
Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss |
|
| Back to top |
|
 |
Jeffrey Goldberg Guest
|
Posted: Mon Apr 28, 2008 8:09 pm Post subject: Could not lchown() symlink |
|
|
[I'm cc'ing the maintainer of the FreeBSD port of rsnapshot for
reasons that will be clear below]
On Apr 28, 2008, at 8:34 PM, David Keegel wrote:
| Quote: | The FAQ now has:
Q: I get warnings like Could not lchown() symlink. Help?
A: You should be able to fix the warnings by installing the perl
Lchown module. See the Lchown section of downloads. Or if you don't
care about symlinks having the wrong ownership in your snapshots,
then you could ignore the warnings.
|
Thanks. I hadn't seen the reference to Lchown in the downloads
section since I installed rsnapshot through the FreeBSD ports system.
Lchown, sadly, wasn't known by the FreeBSD port system and I was loath
to use CPAN since I was loath to introduce another package management
system (so far all of the perl modules I've needed have been available
through the FreeBSD system).
So I have now created and submitted my first ever port to FreeBSD
system. When it finally makes it into the system, I'll ask the
maintainer of the rsnapshot port to make p5-Lchown a dependency.
Cheers,
-j
--
Jeffrey Goldberg http://www.goldmark.org/jeff/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss |
|
| Back to top |
|
 |
David Cantrell Guest
|
Posted: Tue Apr 29, 2008 4:01 am Post subject: Could not lchown() symlink |
|
|
On Mon, Apr 28, 2008 at 08:07:08PM -0500, Jeffrey Goldberg wrote:
| Quote: | WARNING: Could not lchown() symlink "/Volumes/Back1/rsnapshot/hourly.1/
kreacher.ewd.goldmark.org/usr/share/nls/fr_FR.ISO8859-15/ee.cat"
|
This is because perl up to version 5.10.x doesn't give direct access to
the lchown() system call. There is a third-party module available on
the CPAN for it though, and if it's installed then rsnapshot will use
it. You can install it like so:
$ sudo perl -MCPAN -e 'install qw(Lchown)'
or if you'd rather do the untar/perl Makefile.PL/make/make install dance
yourself, you can download it from the rsnapshot download page:
http://rsnapshot.org/downloads.html
The good news is that lchown() will be in the perl core in the next
major release of perl - version 5.12. There's no ETA for that though.
--
David Cantrell | Nth greatest programmer in the world
"The whole aim of practical politics is to keep the populace alarmed
(and hence clamorous to be led to safety) by menacing it with an
endless series of hobgoblins, all of them imaginary" -- H. L. Mencken
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss |
|
| Back to top |
|
 |
|