rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] AF_UNIX path too long


From: Troels Arvin
Subject: Re: [rdiff-backup-users] AF_UNIX path too long
Date: 16 Jan 2003 11:49:15 +0100

Hello,

On Wed, 2003-01-15 at 09:53, Ben Escoto <address@hidden> wrote:
> I don't know why you seem to be getting a different error now
> ("Invalid argument") than when you started ("AF_UNIX path too long"),
> unless that patch actually broke all socket handling, but in a
> recoverable way.

Sorry - my fault. I hadn't applied the patch properly. I had patched so
that the following lines resulted in rpath.py:

   def make_socket_local(rpath):
      """Make a local socket at the given path

      This takes an rpath so that it will be checked by Security.
      (Miscellaneous strings will not be.)

      """
      assert rpath.conn is Globals.local_connection
      s = socket.socket(socket.AF_UNIX)
      s.bind(rpath.path)
      try: s.bind(rpath.path)
      except socket.error, exc:
         raise SkipFileExcep

Removing the "s.bind(rpath.path)" line fixed all problems related to
transferring sockets from Linux to FreeBSD. The patch at
http://mail.nongnu.org/archive/html/rdiff-backup-users/2002-10/msg00003.html is 
good. You may forget about my earlier posting with the link to the rsync 
mailing list. Sorry about the confusion.

-- 
Greetings from Troels Arvin, Copenhagen, Denmark






reply via email to

[Prev in Thread] Current Thread [Next in Thread]