Migrated CORE to SCALE 21.10.RC1 ... Existing CORE User Can No Longer sudo

Description

Had a CORE user that could sudo ... migrated to 21.10.RC1. Cannot not execute sudo /bin/bash. in CORE I would use this to do iocage jail consoles .... was using this for zfs set mountpoint to manipulate pvc datasets.

error is:

sudo /bin/bash
sudo: unable to open /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
sudo: error initializing audit plugin sudoers_audit
userid@truenas:~$ client_loop: send disconnect: Connection reset

I can provide any additional information as requested.

Cannot find for some reason SCALE 21.10-RC1 in the affects version(s) field

Problem/Justification

None

Impact

None

is duplicated by

Activity

Show:

Andrew Walker November 2, 2021 at 9:06 PM

Andrew Walker November 2, 2021 at 3:31 PM

>Do I need to be changing ACLTYPE on any other datasets?

No. Ideally, we'll have this fixed before people migrate mission-critical data from core to scale.

Scott Lindstrom November 2, 2021 at 2:45 PM

This fixed it , thanks!

I don't recall ever specifying ACLTYPE on my old CORE installation, nor this VM test installation.  Do I need to be changing ACLTYPE on any other datasets? Will I need to do this on my real CORE installation once SCALE is released and that box is updated?

Thanks!

Andrew Walker November 2, 2021 at 12:51 PM

I believe this is related to namespaces and acltype=nfsv4 when boot pool has dataset acltype=nfsv4.

zfs get acltype /
And if it's `nfsv4` change dataset acltype to posix:
zfs set acltype=posix boot-pool/ROOT/22.02-RC.1 (or whatever dataset name is)

Scott Lindstrom November 2, 2021 at 1:10 AM

Apologies ... didn't realize the actual version is 22.02-RC.1 and can't find a way for me to edit the original description.

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Time remaining

0m

Components

Priority

Katalon Platform

Created November 2, 2021 at 12:28 AM
Updated July 6, 2022 at 9:02 PM
Resolved November 4, 2021 at 8:19 PM