Strange lines in /etc/fstab

Discussion in 'General' started by lollollollol, Mar 16, 2013.

  1. lollollollol

    lollollollol Member

    Ispconfig ISPConfig Version:
    Debian Wheezy

    Hi, I just discover 4 strange lines in my fstab:

    cat /etc/fstab
    /var/log/ispconfig/httpd/domain1.tld /var/www/clients/client1/web57/log    none    bind,nobootwait    0 0
    /var/log/ispconfig/httpd/domain2.tld /var/www/clients/client0/web61/log    none    bind,nobootwait    0 0
    /var/log/ispconfig/httpd/domain3.tld /var/www/clients/client0/web77/log    none    bind,nobootwait    0 0
    /var/log/ispconfig/httpd/domain4.tld /var/www/clients/client0/web78/log    none    bind,nobootwait    0 0
    Same taht in this thread:
    It's in this bug repport too:

    My questions:
    - Is it normal to have this lines ?
    - What is their utility ?
    - Can I umount and remove it safely ?

    Thank you in advance.
  2. florian030

    florian030 HowtoForge Supporter


    Shell-Users can access their logfiles.

    You can remove the bind-mounts. But there is no really reason. Beside this, i didn´t like the solution, too. See

    Not sure why, but on my servers neither the mounts are unmounted during shutdown nore mounted automaticly after reboot.

    Thank you in advance.
  3. lollollollol

    lollollollol Member

    Hi florian030,

    Thanks for the answer, I didn't realize the interest for shell users.
    I was waiting for an answer before rebooting, so thanks! :)

  4. till

    till Super Moderator

    Then there must be something wrong with your OS setup. All mount points defined in /etc/fstab are mounted at boot time. I tested it here and it works finr on my servers.
  5. florian030

    florian030 HowtoForge Supporter

    Maybe.... my web-dir is on a drbd-volume with ocfs2 as the filesystem and the log-dirs are on local ext3-partition.

    I think, the entries in /etc/fstab are wrong, since the mount could not be done duringt startup. It´s only possible after the drbd/ocfs2-mounts are done.
  6. till

    till Super Moderator

    The entries in fstab are correct. If you use filesystems which does not get loaded at a later time, you can add "mount -a" command in a rc file like rc.local which is executed after your network filesystem is loaded to mount all mountpoints that could not be loaded at boot time.
  7. andypl

    andypl Member

    There is one error in the mounting when we remove the page entry in /etc/fstab gone but still mount is active until you restart the server.
  8. ADM

    ADM ISPConfig Developer

    I have same issue.

    I don't like that ispconfig edit my /etc/fstab, please tell me how to disable this feature.

    Also my clients does not have SSH access, why I should have this entry in /etc/fstab?

    There is also a big issue with this settings

    If you try to make a new dir inside the web folder you get Permission Denied even as root user!

    try this:
    cd /home/www/clients/client1/web1
    mkdir testdir
    touch testfile
    ispconfig is the stata of the art for hosting but i really dislike this issue introduced by

    I don't want to go back to 3.0.4.x but please give me a solution to fully disable this feature.

    Thanks very much.
  9. ADM

    ADM ISPConfig Developer

    Is it working as intended that root user can't make dirs inside /home/www/clients/clientN/webN/ dir?

    Or it is a side effect of this /etc/fstab manipulation?

Share This Page