TrueNas Scale Update system ACL permissions cannot be changed

horizon_157

Cadet
Joined
Feb 27, 2023
Messages
1
origin TrueNas Scale version: 22.02.04(Physical equipment)
TrueNas Scale version: 22.12.1(Virtualisation equipment - VMWARE ESXi8.0)

ACLs on newer systems still record UIDs from older systems and cannot be changed
The original pool is an 22.02.04 version of the truenas scale
Reinstalled new version of truenas Imported pool, but acl configuration failed, modified acl prompt error, as follows.
Most of the dataset ACLs created in version 22.02.04 cannot be modified

Error: [EFAULT]
Code:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 426, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 463, in __run_body rv = await self.middleware.run_in_thread(self.method, *([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1252, in run_in_thread return await self.run_in_executor(self.thread_pool_executor, method, *args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1249, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1322, in nf return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/filesystem_/acl_linux.py", line 676, in setacl return self.setacl_nfs4(job, data) File "/usr/lib/python3/dist-packages/middlewared/plugins/filesystem_/acl_linux.py", line 470, in setacl_nfs4 self.setacl_nfs4_internal(path, data['dacl'], do_canon, verrors) File "/usr/lib/python3/dist-packages/middlewared/plugins/filesystem_/acl_linux.py", line 423, in setacl_nfs4_internal raise CallError(setacl.stderr.decode()) middlewared.service_exception.CallError: [EFAULT]
 

Attachments

  • 20230228164321.png
    20230228164321.png
    21 KB · Views: 82
  • 20230228164359.png
    20230228164359.png
    116 KB · Views: 82

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
I've had the same problem since upgrading to 22.12.1 and didn't resolve after upgrade to 22.12.2
my upgrades were in place upgrades and still the same issue.

did you get to the bottom of this?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Above situation looks like it was an ACL being recursively set with no inheritable entries (invalid payload that didn't raise an error properly).
 
Top