Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-104882

rsync over SSH stopped working for root

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: Cannot Reproduce
    • Affects Version/s: 11.3-RELEASE
    • Fix Version/s: None
    • Component/s: Tasks
    • Labels:

      Description

      I have an rsync over ssh task that pulls data from an Ubuntu server. After updating to 11.3 the task fails with code 75 and no output in the error log. After some testing, I've noticed that root is not allowed to write to the destination folder on FreeNAS, probably due to the dataset's ACLs.

      Creating a new dataset without ACL allows the task to run. Is this intended behavior? Root can still write to the dataset from the console.

      Error: Traceback (most recent call last):
        File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run
          await self.future
        File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 388, in __run_body
          rv = await self.middleware.run_in_thread(self.method, *([self] + args))
        File "/usr/local/lib/python3.7/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
          return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
        File "/usr/local/lib/python3.7/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
          result = self.fn(*self.args, **self.kwargs)
        File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 964, in nf
          return f(*args, **kwargs)
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/rsync.py", line 609, in run
          f'rsync command returned {cp.returncode}. Check logs for further information.'
      middlewared.service_exception.CallError: [EFAULT] rsync command returned 75. Check logs for further information.

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                johndi john john
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: