[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#843050: Fails to start when cache directory is missing



On Thursday, 3 November 2016 13:51:46 CET martin f krafft wrote:
> Nov  3 13:49:49 albatross systemd[1]: Starting Disk Cache Cleaning Daemon
> for Apache HTTP Server... Nov  3 13:49:49 albatross htcacheclean[4246]:
> htcacheclean error: Could not set filepath to
> '/var/cache/apache2/mod_cache_disk': No such file or directory

Do you have mod_cache_disk enabled? If not then htcacheclean being started 
would be a bug in apache2's upgrade logic.

> By the filesystem hierarchy standard, nothing in /var/cache must be
> taken for granted. This means that the tool either needs to fail
> gracefully, or create the missing directory/file.

It's not clear what the best behavior is, here. The dir needs to be configured 
in apache's config, too, and the dir missing could point to a mis-configuration. 
In that case, aborting with an error is very useful.


Reply to: