Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

virtfs not getting disabled

Discussion in 'General Discussion' started by dev.null, Aug 11, 2016.

Tags:
  1. dev.null

    dev.null Well-Known Member

    Joined:
    May 27, 2003
    Messages:
    84
    Likes Received:
    2
    Trophy Points:
    158
    Yep, I've read the doc. (https://documentation.cpanel.net/pages/viewpage.action?pageId=1507360)

    None of my accounts are jail enabled. (Home >> Account Functions >> Manage Shell Access)

    According to the docs all I have to do is
    Code:
    umount /home/virtfs/<username>/usr/bin
    It umounts just fine.

    All the other mounted directories remain:

    Code:
    cat /proc/mounts | grep <username>
    /dev/root /home/virtfs/<username>/bin ext3 ro,nosuid,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    devtmpfs /home/virtfs/<username>/dev devtmpfs rw,nosuid,noexec,relatime,size=6149388k,nr_inodes=1537347,mode=755 0 0
    /dev/root /home/virtfs/<username>/lib ext3 ro,nosuid,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/opt ext3 ro,nosuid,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/loop0 /home/virtfs/<username>/tmp ext3 rw,nosuid,noexec,relatime,data=ordered 0 0
    /dev/root /home/virtfs/<username>/usr ext3 ro,nosuid,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/var ext3 ro,nosuid,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/sbin ext3 ro,nosuid,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/lib64 ext3 ro,nosuid,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/var/log ext3 rw,nosuid,noexec,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/loop0 /home/virtfs/<username>/var/tmp ext3 rw,nosuid,noexec,relatime,data=ordered 0 0
    /dev/root /home/virtfs/<username>/etc/mail ext3 rw,nosuid,noexec,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/usr/sbin ext3 ro,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/var/spool ext3 rw,nosuid,noexec,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/etc/pki/tls ext3 ro,nosuid,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/etc/alternatives ext3 ro,nosuid,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/var/cpanel/email_send_limits ext3 rw,nosuid,noexec,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/usr/local/cpanel/3rdparty/mailman ext3 ro,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/usr/local/cpanel/3rdparty/mailman/logs ext3 rw,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/usr/local/cpanel/3rdparty/mailman/lists ext3 rw,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/usr/local/cpanel/3rdparty/mailman/locks ext3 rw,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/usr/local/cpanel/3rdparty/mailman/qfiles ext3 rw,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    /dev/root /home/virtfs/<username>/home/<username> ext3 rw,noatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0
    
    I can umount each one of those, but they all just end up coming back within a minute.

    Any trick to really getting rid of virtfs?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,160
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dev.null

    dev.null Well-Known Member

    Joined:
    May 27, 2003
    Messages:
    84
    Likes Received:
    2
    Trophy Points:
    158
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. dev.null

    dev.null Well-Known Member

    Joined:
    May 27, 2003
    Messages:
    84
    Likes Received:
    2
    Trophy Points:
    158
    When I looked at the user's crontab I found it still referenced the jailed shell, I changed it to /bin/bash, unmounted the mount binds again, this time they didn't come back.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Infopro likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice