The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    75
    Likes Received:
    1
    Trophy Points:
    6
    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?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,472
    Likes Received:
    200
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. dev.null

    dev.null Well-Known Member

    Joined:
    May 27, 2003
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    6
  4. dev.null

    dev.null Well-Known Member

    Joined:
    May 27, 2003
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    6
    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.
     
    Infopro likes this.
Loading...

Share This Page