Slightly OT, .. Perl oddity on backup, ..

1 view
Skip to first unread message

L. V. Lammert

unread,
Oct 2, 2018, 11:11:39 AM10/2/18
to Must be gmail LVLammert
Now that everyone has a head full of StrageLoop, .. thought I'd post a
weird backup problem for Perldoc:

/daily.0/usr/lib/perl5/5.18.1/Pod/Perldoc/.BaseTo.pm.vc4MTH" failed: No
such file or directory (2)
/daily.0/usr/lib/perl5/5.18.1/Pod/Perldoc/.GetOptsOO.pm.hd0TBZ" failed: No
such file or directory (2)
/daily.0/usr/lib/perl5/5.18.1/Pod/Perldoc/.ToANSI.pm.9lAOPp" failed: No
such fileor directory (2)
/daily.0/usr/lib/perl5/5.18.1/Pod/Perldoc/.ToChecker.pm.7lJRc4" failed: No
such file or directory (2)

...

Whereas the source directory contains:

# ls -al
total 64
drwxr-xr-x 2 root root 4096 Sep 22 2016 ./
drwxr-xr-x 5 root root 4096 Sep 22 2016 ../
-r--r--r-- 1 root root 3478 Sep 27 2013 BaseTo.pm
-r--r--r-- 1 root root 3888 Sep 27 2013 GetOptsOO.pm
-r--r--r-- 1 root root 2303 Sep 27 2013 ToANSI.pm
-r--r--r-- 1 root root 1691 Sep 27 2013 ToChecker.pm
-r--r--r-- 1 root root 14895 Sep 27 2013 ToMan.pm
-r--r--r-- 1 root root 2782 Sep 27 2013 ToNroff.pm
-r--r--r-- 1 root root 1959 Sep 27 2013 ToPod.pm
-r--r--r-- 1 root root 2149 Sep 27 2013 ToRtf.pm
-r--r--r-- 1 root root 2086 Sep 27 2013 ToTerm.pm
-r--r--r-- 1 root root 2266 Sep 27 2013 ToText.pm
-r--r--r-- 1 root root 1407 Sep 27 2013 ToXml.pm

The filesystems are different - the source is an old SuSE, the machine
running rsnapshot is Cygwin; when it does occur it's always the Perldoc
directory.

Perms are 755 on the directory, .. source files are 444.

Any thoughts as to the actual problem?

TIA!

Don Ellis

unread,
Oct 2, 2018, 6:29:12 PM10/2/18
to vim-...@googlegroups.com
On Tue, Oct 2, 2018 at 10:11 AM L. V. Lammert <lvla...@gmail.com> wrote:
Now that everyone has a head full of StrageLoop, .. thought I'd post a
weird backup problem for Perldoc:

/daily.0/usr/lib/perl5/5.18.1/Pod/Perldoc/.BaseTo.pm.vc4MTH" failed: No
such file or directory (2)
...
# ls -al
total 64
drwxr-xr-x 2 root root  4096 Sep 22  2016 ./
drwxr-xr-x 5 root root  4096 Sep 22  2016 ../
-r--r--r-- 1 root root  3478 Sep 27  2013 BaseTo.pm
...

Lee,

Just wondering why the process giving the "No such file or directory" message is citing that particular filename. The one that's claimed to be missing is the same as the one that's present, except that a period is prepended, making it a different name. Where does the list of files to be operated on come from?

--Don

Bill Odom

unread,
Oct 2, 2018, 8:03:23 PM10/2/18
to vim-...@googlegroups.com
You mentioned Cygwin, so I'm assuming there's some flavor of Windows filesystem involved, and/or Samba, one of which is probably the source of the trouble. I've run into similar problems with the difference between case-sensitive filesystems vs case-preserving filesystems.

Can you run rsnapshot with --inplace to avoid creating temp files? Perhaps the filesystem or Samba doesn't like the generated temp filenames.

--Bill





--
You received this message because you are subscribed to the Google Groups "Vim Geeks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim-geeks+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

L. V. Lammert

unread,
Oct 4, 2018, 10:01:05 AM10/4/18
to vim-...@googlegroups.com
On Tue, 2 Oct 2018, Bill Odom wrote:

> You mentioned Cygwin, so I'm assuming there's some flavor of Windows
> filesystem involved,
>
Unfortunately, yes. Backups WERE running fine on a Linux box, but it was
retired. I was suspecting a problem with Windoze permissions, looks like
this confirms it.

> Can you run rsnapshot with --inplace to avoid creating temp files? Perhaps
> the filesystem or Samba doesn't like the generated temp filenames.
>
Unfortunately, the problem still exists - same complaint without the
temporary file extension:

daily.0/usr/lib/perl5/5.18.1/Pod/Perldoc/ToTerm.pm" failed: No such file
or directory (2)

May have to run the problem up the flagpole and move the backups to a
Linux box.

Thanks!!

Lee

Don Ellis

unread,
Oct 4, 2018, 11:37:57 PM10/4/18
to vim-...@googlegroups.com
On Tue, Oct 2, 2018 at 5:28 PM Don Ellis <don....@gmail.com> wrote:
On Tue, Oct 2, 2018 at 10:11 AM L. V. Lammert <lvla...@gmail.com> wrote:
Now that everyone has a head full of StrageLoop, .. thought I'd post a
weird backup problem for Perldoc:

/daily.0/usr/lib/perl5/5.18.1/Pod/Perldoc/.BaseTo.pm.vc4MTH" failed: No
such file or directory (2)
...
# ls -al
total 64
drwxr-xr-x 2 root root  4096 Sep 22  2016 ./
drwxr-xr-x 5 root root  4096 Sep 22  2016 ../
-r--r--r-- 1 root root  3478 Sep 27  2013 BaseTo.pm
...
Just wondering why the process giving the "No such file or directory" message is citing that particular filename. The one that's claimed to be missing is the same as the one that's present, except that a period is prepended, making it a different name. Where does the list of files to be operated on come from?

Lee,

I mentioned this to JJ and she reminded me that we have a problem in a similar context, where the filenames we expect have a '.' prepended, making all previous documentation and procedures useless. I emailed customer support, and he said it's always been that way (I sent evidence to the contrary). After thinking about it a couple of days (hours?) he realized what was happening and said he would rewrite taking this into consideration, with a better solution than the first two he had proposed.

My conclusion from that was that in some contexts, M$ ignores an initial period, but when one of the other prominent OSes sees that directory, they get all upset about filenames not matching. Probably have similar sensitivity about filenames with different case, only worse.

--Don

Don Ellis

unread,
Oct 4, 2018, 11:40:40 PM10/4/18
to vim-...@googlegroups.com
On Thu, Oct 4, 2018 at 9:01 AM L. V. Lammert <lvla...@gmail.com> wrote:
On Tue, 2 Oct 2018, Bill Odom wrote:

> You mentioned Cygwin, so I'm assuming there's some flavor of Windows
> filesystem involved,
... 
May have to run the problem up the flagpole and move the backups to a
Linux box. 

Lee,
would you be able to install a Linux VM for this process? 
--Don 
Reply all
Reply to author
Forward
0 new messages