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.

jailshell may break mysql... read on

Discussion in 'General Discussion' started by pfmartin, Jan 19, 2004.

  1. pfmartin

    pfmartin Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    It is important to point out that jailshell does NOT copy the /etc/my.cnf file to each user's virtual file system. This means that if you have any special settings in /etc/my.cnf that you want to be loaded globally, each jailshell user will NOT get this.

    For example, we use socket=/tmp/myql.sock as the location of the socket file for mysql. The default is /var/lib/mysql/mysql.sock. Therefore, in our case, it broke mysql command line access for users. We had to manually (with a script :) ) add our my.cnf to each users' virtual file system /etc/ directory.

    SUGGESTION
    It would be great of the cpanel team to automatically link-to or copy the global my.cnf file to each user's virtual file system.

    Thanks!
     
Loading...

Share This Page