1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
patchback[bot] 5da6dc7d72
[PR #5943/53f72973 backport][stable-5] zfs_delegate_admin: fix: zfs allow cannot parse unknown uid/gid (#6085)
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 53f729730b)

Co-authored-by: Phil Kauffman <philip@kauffman.me>
2023-02-25 11:48:29 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
5.8.6.yml Next expected release will be 5.8.6. 2023-01-31 07:42:13 +01:00
5431-nmcli-wifi.yml [PR #5431/490899f8 backport][stable-5] nmcli: two fixes needed to make wifi.wake-on-wlan settings work properly (#6050) 2023-02-24 09:29:46 +01:00
5615-zypper-transactional-update.yml [PR #5998/2c762c47 backport][stable-5] Added support for openSUSE MicroOS (#6077) 2023-02-25 11:23:20 +01:00
5933-linting.yml [stable-5] Fix pylint errors (#5938) 2023-02-04 17:28:15 +01:00
5934-fix-keycloak-sanitize_cr.yml [PR #5934/78297e44 backport][stable-5] Fix keycloak sanitize_cr (#6035) 2023-02-22 15:20:15 +01:00
5943-zfs_delegate_admin-fix-zfs-allow-cannot-parse-unknown-uid-gid.yml [PR #5943/53f72973 backport][stable-5] zfs_delegate_admin: fix: zfs allow cannot parse unknown uid/gid (#6085) 2023-02-25 11:48:29 +01:00
6034-lxd-tls.yml [PR #6034/f0529dcb backport][stable-5] lxd plugins and modules: fix TLS/SSL context creation (#6083) 2023-02-25 11:41:40 +01:00
6048-nmcli-addres-order.yml [PR #6048/682c6fc9 backport][stable-5] nmcli: Treat order as significant when comparing address lists (#6081) 2023-02-25 11:29:41 +01:00
remove-unneeded-imports.yml [stable-5] Remove unneccessary imports (#5977) 2023-02-12 20:22:36 +01:00