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/plugins
Phil Kauffman 53f729730b
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.
2023-02-25 11:02:28 +01:00
..
action Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
become Make pfexec become usable for illumos (#3889) 2022-10-05 08:26:40 +02:00
cache Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
callback Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
connection chroot plugin fix inventory_hostname var for remote_addr (#5570) 2022-11-17 06:53:46 +01:00
doc_fragments Add attributes to more modules (1/4) (#5965) 2023-02-20 17:29:14 +01:00
filter JC: Add plugin parser functionality to JC Filter Plugin (#6043) 2023-02-23 16:54:38 +01:00
inventory Suppress urllib3 InsecureRequestWarnings when validate_certs option is false (#5931) 2023-02-13 21:36:09 +01:00
lookup onepassword: ignore errors from "op account get" (#5942) 2023-02-22 15:23:50 +01:00
module_utils lxd plugins and modules: fix TLS/SSL context creation (#6034) 2023-02-25 11:01:32 +01:00
modules zfs_delegate_admin: fix: zfs allow cannot parse unknown uid/gid (#5943) 2023-02-25 11:02:28 +01:00
test Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00