Skip to main content

Removing VirtFS with clear_orphaned_virtfs_mounts --clearall

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  Can you be a bit more specific about how the script isn't working, and what relation to resolv.conf you're seeing?  You're never going to be able to *completely* remove the virtfs system.

    0
  • jimhermann

    cPRex,

    I was expecting script to delete username folders under /home/virtfs/

    Jim

    0
  • cPRex Jurassic Moderator

    That script would only delete users that either don't exist, or no longer use jailshell on the machine.  if that's the case I would expect the script to remove them, and if that isn't happening we'd need to see a ticket to investigate your specific machine.  However, there are things that can recreate these files at any time, like Exim filters or cron jobs.  A full list with more details on that can be found here: https://docs.cpanel.net/knowledge-base/accounts/virtfs-jailed-shell/#disable-or-remove-a-jailed-shell-environment

    0

Please sign in to leave a comment.