[uidbasics] # this section probably needs adjustment on 64bit systems # or non-Linux systems comment = common files for all jails that need user/group information paths = /lib/libnsl.so.1, /lib64/libnsl.so.1, /lib/libnss*.so.2, /lib64/libnss*.so.2, /etc/nsswitch.conf, /etc/ld.so.conf
去掉 /etc/ld.so.conf增加下面一行:
1
includesections = ldconfig
找到[apache].
1 2 3 4 5 6
[apache] comment = the apache webserver, very basic setup, probably too limited for you paths = /usr/sbin/apache users = root, www-data groups = root, www-data includesections = netbasics, uidbasics
改为:
1 2 3 4 5 6 7 8 9
[apache] comment = the apache webserver, very basic setup, probably too limited for you paths = /usr/sbin/apachectl,/usr/sbin/httpd,/etc/php.ini,/etc/localtime users = root, apache groups = root, apache regularfiles = /etc/mime.types directories = /etc/httpd,/var/www/html, /var/lock/subsys, /var/log/httpd,/etc/php.d,/usr/share/zoneinfo,/var/lib/php/session includesections = netbasics, uidbasicsi,editors, basicshell devices =/dev/urandom, /dev/null