#1086 closed defect (fixed)

ports-rsync.patch prevents rsync from backing up FIFO files

Reported by: CsMAr51 Owned by:
Priority: major Milestone:
Component: Backend Version:
Keywords: rsync, patch, fifo Cc: jhixson

Description

Since the patch for rsync has been added, it can't handle FIFO type files anymore. When it encounter this type of file, it hangs indefinitely. In my case the files are "pickup" and "qmgr":

[root@pe2850 ~]# ls -lA /var/spool/postfix/public/
total 0
srw-rw-rw-  1 postfix  maildrop  0 Nov 22 07:52 cleanup
srw-rw-rw-  1 postfix  maildrop  0 Nov 22 07:52 flush
prw--w--w-  1 postfix  maildrop  0 Nov 22 07:52 pickup
prw--w--w-  1 postfix  maildrop  0 Nov 22 07:52 qmgr
srw-rw-rw-  1 postfix  maildrop  0 Nov 22 07:52 showq

The same effect can be reproduced with any FIFO file (mkfifo <filename>).

I'm doing an rsync from a FreeBSD 8.2-STABLE-amd64 to FreeNAS-8.2-r8945M-amd64/FreeNAS-8.0.3-BETA2-amd64 (9071):

  • FreeNAS-8.0.3-BETA2-amd64: rsync hangs on FIFO file
  • FreeNAS-8.2-r8945M-amd64: rsync hangs on FIFO file
  • FreeNAS-8.2-r8945M-amd64 (without ports-rsync.patch): rsync works as expected

Change History (1)

comment:1 Changed 18 months ago by jhixson

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r9080.

Note: See TracTickets for help on using tickets.