mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
e9b8692025
zfs_delegate_admin: fix: zfs allow cannot parse unknown uid/gid (#5943)
When setting allow permissions for particular users or groups
there will be circumstances when that user is not known to the
host system.
In that case the output of `zfs allow <pool/dataset>`
looks similar to this:
$ sudo zfs allow tank/test
---- Permissions on tank/test ---------------------------------------
Local+Descendent permissions:
user (unknown: 1002) hold
user zfsuser receive
The fix in this commit removes ' (unknown: '+')' from the output
leaving only the uid/gid.
This allows the current parser to continue even if the uid/gid
is not known.
This situation occurs most often when moving a zpool from one system
to another that may not have the same users/groups. Simply adding
permissions to a user/group and then deleting the user/group
from the system will cause this situation to occur.
(cherry picked from commit
|
||
---|---|---|
.. | ||
.keep | ||
6.4.0.yml | ||
5431-nmcli-wifi.yml | ||
5615-zypper-transactional-update.yml | ||
5829-fix-yarn-global.yml | ||
5863-providerType-defaulted-keycloak_userfed-mappers.yml | ||
5866-lxd_container-diff-and-check-mode.yml | ||
5899-adding-enablesecureboot-functionality-to-redfish-config.yml | ||
5900-adding-verifybiosattribute-fucntionality-to-redfish-command.yml | ||
5915-suppress-urllib3-insecure-request-warnings.yml | ||
5925-align_gitlab_runner_access_level_default_with_gitlab.yml | ||
5927-set-user-agent-dnsimple.yml | ||
5928-fix-favicon-url.yml | ||
5933-linting.yml | ||
5934-fix-keycloak-sanitize_cr.yml | ||
5942-onepassword-ignore-errors-from-op-account-get.yml | ||
5943-zfs_delegate_admin-fix-zfs-allow-cannot-parse-unknown-uid-gid.yml | ||
6011-osx-defaults-errors.yml | ||
6034-lxd-tls.yml | ||
6043-jc_plugin_parser_support.yml | ||
6048-nmcli-addres-order.yml | ||
remove-unneeded-imports.yml |