Cleaning up the custombuild folder

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
442
Location
Arnhem, NL
Is it possible to permanently delete tar.gz files that aren't used? For example;

- Apache files (apr-util)
- suPHP files

I don't use Apache / suPHP and i would like to delete these files. ClamAV is telling me for a week now that the apr-util file is infected with an XML exploit.
In other threads it is suggested to just delete these files but they are coming back every night with the cronjob. Everything in options.conf is turned off for Apache / suPHP :)
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
Hello,

Did you try to run

Code:
cd /usr/local/directadmin/custombuild
./build clean
rm -f *gz
?
 

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
442
Location
Arnhem, NL
That did clean up some files, but for example the following files are still downloaded when i do build update:

- apr-1.5.2.tar.gz
- apr-util-1.5.4.tar.gz
- suphp-0.7.2.tar.gz

The httpd-2.4.12.tar.gz file did not download. :)

For now i exclude the custombuild folder to be scanned by clamav because of this false(?) positive;

Code:
clamscan apr-util-1.5.4.tar.gz 
apr-util-1.5.4.tar.gz: Xml.Exploit.CVE_2013_3860-3 FOUND
Also i noticed that the old MariaDB versions aren't deleted when i upgrade or do ./build clean.
I found 6 old versions in custombuild/mysql and deleted the old ones manually.
 
Last edited:
Top