Public bug reported:

1) I have modified a file whose path relative to the current directory
is ./protected/controllers/MessageController.php. Incidentally, I have
also modified some files in ./protected/runtime

2) I do:

  $ rsync -avz --no-o --no-g --exclude-from=excludelist.txt ./protected
./themes ./css r...@example.com:/srv/www/xxx/public_html

The content of excludelist.txt is:
  runtime/*
  yiic
  views/static/*
  css/info_video.css

EXPECTED:
the modified file ./protected/controllers/MessageController.php should be 
uploaded to the server

OBSERVED:
it isn't.

I had done this literally thousands of times and it always worked, until
now.

The output was:
  sending incremental file list
  protected/runtime/

  sent 40,652 bytes  received 1,021 bytes  7,576.91 bytes/sec
  total size is 11,521,344  speedup is 276.47

as if only files within protected/runtime (which is in the exclude list)
were modified.

I repeated after modifying the file again, and this time the output was:
  sending incremental file list
  protected/controllers/
  protected/runtime/

  sent 40,661 bytes  received 1,026 bytes  9,263.78 bytes/sec
  total size is 11,521,344  speedup is 276.38

as if differences were detected inside the protected/controllers/
directory but only in files that match some of the exclude patters.
Which is not the case. I mean, there are files that have been modified
which match an excluded pattern (an autogenerated
./protected/controllers/MessageController.php~ backup file), but the
file ./protected/controllers/MessageController.php was also modified,
doesn't match any exclude pattern, and yet is not uploaded.

This is a HUGE, critical issue. Whatever changes were made to rsync,
they need to be URGENTLY reverted until this bug is figured out and
fixed.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: rsync 3.1.1-3ubuntu0.15.10.1
ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
Uname: Linux 4.2.0-34-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Mar 20 17:28:36 2016
InstallationDate: Installed on 2013-10-11 (890 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: rsync
UpgradeStatus: Upgraded to wily on 2016-01-18 (62 days ago)

** Affects: rsync (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug wily

** Description changed:

  1) I have modified a file whose path relative to the current directory
  is ./protected/controllers/MessageController.php. Incidentally, I have
  also modified some files in ./protected/runtime
  
  2) I do:
  
-   $ rsync -avz --no-o --no-g --exclude-from=excludelist.txt ./protected
+   $ rsync -avz --no-o --no-g --exclude-from=excludelist.txt ./protected
  ./themes ./css r...@example.com:/srv/www/xxx/public_html
  
  The content of excludelist.txt is:
-   runtime/*
-   yiic
-   views/static/*
-   css/info_video.css
+   runtime/*
+   yiic
+   views/static/*
+   css/info_video.css
  
- 
- EXPECTED: 
+ EXPECTED:
  the modified file ./protected/controllers/MessageController.php should be 
uploaded to the server
  
  OBSERVED:
  it isn't.
  
- 
- I had done this literally thousands of times and it always worked, until now.
+ I had done this literally thousands of times and it always worked, until
+ now.
  
  The output was:
-   sending incremental file list
-   protected/runtime/
-   
-   sent 40,652 bytes  received 1,021 bytes  7,576.91 bytes/sec
-   total size is 11,521,344  speedup is 276.47
+   sending incremental file list
+   protected/runtime/
+ 
+   sent 40,652 bytes  received 1,021 bytes  7,576.91 bytes/sec
+   total size is 11,521,344  speedup is 276.47
  
  as if only files within protected/runtime (which is in the exclude list)
  were modified.
  
+ I repeated after modifying the file again, and this time the output was:
+   sending incremental file list
+   protected/controllers/
+   protected/runtime/
  
- I repeated after modifying the file again, and this time the output was:
-   sending incremental file list
-   protected/controllers/
-   protected/runtime/
-   
-   sent 40,661 bytes  received 1,026 bytes  9,263.78 bytes/sec
-   total size is 11,521,344  speedup is 276.38
+   sent 40,661 bytes  received 1,026 bytes  9,263.78 bytes/sec
+   total size is 11,521,344  speedup is 276.38
  
  as if differences were detected inside the protected/controllers/
  directory but only in files that match some of the exclude patters.
  Which is not the case. I mean, there are files that have been modified
  which match an excluded pattern (an autogenerated
  ./protected/controllers/MessageController.php~ backup file), but the
  file ./protected/controllers/MessageController.php was also modified,
  doesn't match any exclude pattern, and yet is not uploaded.
  
- 
- This is a HUGE, critical issue. Whatever changes were made to rsync, they 
need to be URGENTLY reverted until this bug is figured out.
+ This is a HUGE, critical issue. Whatever changes were made to rsync,
+ they need to be URGENTLY reverted until this bug is figured out and
+ fixed.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: rsync 3.1.1-3ubuntu0.15.10.1
  ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
  Uname: Linux 4.2.0-34-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Mar 20 17:28:36 2016
  InstallationDate: Installed on 2013-10-11 (890 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  SourcePackage: rsync
  UpgradeStatus: Upgraded to wily on 2016-01-18 (62 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/1559747

Title:
  [REGRESSION] Rsync fails to send modifled files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1559747/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to