Univention Bugzilla – Bug 51075
During Upgrade from 4.2-x to 4.3-x /etc/defaults/apache-htcacheclean gets overwritten
Last modified: 2020-04-08 12:47:35 CEST
I know, already old versions. But the file will be corrupt even on 4.4 when the where upgraded from 4.2-x. File content should be fixed! The file /etc/default/apache-htcacheclean gets introduced in 4.3-x (does not exist on 4.2) After the upgrade the file looks like this: =========================================== # Warning: This file is auto-generated and might be overwritten by # univention-config-registry. # Please edit the following file(s) instead: # Warnung: Diese Datei wurde automatisch generiert und kann durch # univention-config-registry überschrieben werden. # Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en): # # /etc/univention/templates/files/etc/default/apache2 # # 0 = start on boot; 1 = don't start on boot NO_START=0 ============================================ This is clearly wrong as this is the content of default/apache2! On a system which was installed freshly as 4.3 and got updated to 4.4 the file looks like this: ============================================= root@ucs:~# cat /etc/default/apache-htcacheclean # This file must only contain KEY=VALUE lines. Do not use advanced # shell script constructs! ## run mode: cron, daemon ## run in daemon mode or as daily cron job ## default: daemon HTCACHECLEAN_MODE=daemon ## cache size HTCACHECLEAN_SIZE=300M ## interval: if in daemon mode, clean cache every x minutes HTCACHECLEAN_DAEMON_INTERVAL=120 ## path to cache ## must be the same as in CacheRoot directive #HTCACHECLEAN_PATH=/var/cache/apache2/mod_cache_disk ## additional options: ## -n : be nice ## -t : remove empty directories HTCACHECLEAN_OPTIONS="-n" ================================================= Which looks correct. We should fix this issue as there might be future issuees with this! And no, there was no manual interaction with this file!