]> git.proxmox.com Git - mirror_zfs.git/commit
Fix chattr/cleanup failure
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 11 Oct 2017 16:15:44 +0000 (09:15 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2017 16:15:44 +0000 (09:15 -0700)
commit29e07af5ae77e0ddf9ccfb77684f9713627b2ceb
tree0f3b395cd7ced4f4a1d453289f3a339f7b120d3e
parent523d5ce0f48a1b7127345d830e5a34079cace322
Fix chattr/cleanup failure

The chattr cleanup step may fail to delete the user if there is still
an active process running as that user.  Retry the userdel when this
occurs to eliminate spurious false positves.

  ERROR: userdel quser1 exited 8
  userdel: user quser1 is currently used by process 26814

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6749
tests/zfs-tests/include/libtest.shlib