Duplicate options.conf values

ditto

Verified User
Joined
Apr 27, 2009
Messages
1,980
Suddenly I notice that there is added duplicate values in options.conf. I already have harden-symlinks-patch=yes, and I already had x-mail-header=yes

At the bottom of options.conf there has automatically been added these two lines (under #Cloudlinux settings):

Code:
harden_symlinks_patch=yes
x_mail_header=yes

So now I have duplicate harden_symlinks_patch=yes under both #Apache settings and #Cloudlinux settings, and I have duplicate two x-mail-header=yes under #Cloudlinux settings

I am not running Cloudlinux.

Should I remove the two duplicate lines, or will custombuild just re-add them automatically later on?

Edit: I removed the two duplicate lines from the bottom of options.conf, and then I run ./build update, and custombuild added the duplicate values back at the bottom of options.conf. Please look into this bug. Here is my options.conf file:

Code:
#PHP settings.
#Default version of PHP is always php1_release. Possible values for php1/php2_release: 5.3, 5.4, 5.5, no. php1/php2_mode: mod_php, fastcgi, php-fpm or suphp)
php1_release=5.5
php2_release=no
php1_mode=mod_php
php2_mode=php-fpm
php_ini=yes
php_timezone=Europe/Oslo
#Possible values - production or development
php_ini_type=production
ioncube=yes
zend=no

#HTTP server. Possible values: apache, nginx
webserver=apache

#Apache settings
#Possible value: 2.4
apache_ver=2.4
mod_ruid2=yes
secure_htaccess=no
harden-symlinks-patch=yes
use_hostname_for_alias=yes
redirect_host=server.hostname.com
redirect_host_https=yes

#Possible values - 5.1, 5.5, 5.6
mysql=5.6
mysql_inst=yes
mysql_backup=yes
mysql_backup_dir=/home/admin/xxxx

#Web applications
phpmyadmin=yes
squirrelmail=no
roundcube=yes

#Mail options
exim=yes
eximconf=yes
clamav=no
spamassassin=yes
dovecot=yes
pigeonhole=no

#Statistics
awstats=yes
webalizer=no

#FTP options - possible values: proftpd, pureftpd
ftpd=proftpd

#Jailed shell
jail=no

#Autoconf/automake/libtool options
autoconf=yes
automake=yes
libtool=yes
curl=yes

#new version of zlib and libxml2 (experts only)
zlib=no
new_zlib=no
new_xml2=yes
new_pcre=yes

#Custombuild options
custombuild=2.0
autover=no
bold=no
clean=yes
cleanapache=no
clean_old_tarballs=no
clean_old_webapps=no
downloadserver=files1.directadmin.com

#Cron settings
cron=no
cron_frequency=daily
[email protected]
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=no

#Cloudlinux settings
cloudlinux=no
cagefs=no
old_apr_util=no
phpmyadmin_ver=4
htscanner=no
x-mail-header=yes
new_suphp=no
harden_symlinks_patch=yes
x_mail_header=yes
 
Last edited:
Let me mention another "bug" too, when I recompile php using ./build php n, then after recompile is finish, httpd is restarted two times with only few seconds between each restart. It would be nice if you could change that, so httpd is only restarted one time after php recompile.
 
I will check about the restart. The 2 options you are talking about were changed in RC7. Probably you have not noticed, but they are not duplicates. Old options in your options.conf file have "-" character instead of "_". RC7 is a pre-release of CB 2.0, we plan no other major changes. However, to work with PHP-FPM in a stable way, you need Apache 2.4.9 and DA pre-release binaries (because 1.45.1 is a requirement for PHP-FPM). Thank you for the report.
 
Thank you for the information. Does this mean I can safely delete these two values without loosing the current settings?:

Code:
x-mail-header=yes
harden-symlinks-patch=yes

Please confirm if these two lines are no longer in use by custombuild, and that it is safe to delete/remove them. Thanks.
 
Yes, you can safely remove them and set x_mail_header=yes and harden_symlinks_patch=yes.
 
Back
Top