Closed pdcurtis closed 5 years ago
That directory exists on a clean installed, up-to-date LM19, so possibly something you changed/installed/etc. caused this for you. You may be able to find the cause if you go through your archived log files.
When I looked at the date stamps on entries in /var/log for the system log I saw there are no entries between July 16 and August 29 although the machine was in use most days.
-rw-r----- 1 syslog adm 469 Aug 31 23:01 syslog
-rw-r----- 1 syslog adm 7840516 Aug 31 23:01 syslog.1
-rw-r----- 1 syslog adm 2938542 Aug 29 03:49 syslog.2.gz
-rw-r----- 1 syslog adm 56441 Jul 16 04:38 syslog.3.gz
-rw-r----- 1 syslog adm 173444 Jul 15 01:40 syslog.4.gz
-rw-r----- 1 syslog adm 5878 Jul 14 02:17 syslog.5.gz
-rw-r----- 1 syslog adm 421280 Jul 13 18:07 syslog.6.gz
-rw-r----- 1 syslog adm 12590 Jul 12 05:07 syslog.7.gz
This led me back to 16 July which is the date I did a restore using Timeshift .
On inspection there is an exclusions in TimeShift for /var/spool/* so /var/spool/anacron would not be created.
So this is a problem in configuration of TimeShift in Mint 19 which will cause an error whenever a system is Restored using TimeShift
I have edited the Title to reflect the addition information.
That one I can confirm. This is something that was already fixed in timeshift back in June (https://github.com/teejee2008/timeshift/commit/eb2115a254ce4e9748f753c52dd7d2579e06c67e), but you're receiving timeshift via the Mint repo, which has an old version. They should really consider supporting their own repo better.
In the meantime, consider getting timeshift directly from its developer:
sudo add-apt-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install timeshift
@gm10 Thanks for the information. I am sure the Mint team will fix this very quickly as the consequences are quite serious for people who do a restore and the fix is simple. Timeshift is now fundamental to the Mint update philosophy which is much less conservative now TimeShift is used as a safety net.
/var/spool/anacrom seems to be needed by anacron to hold files called cron.daily, cron.weekly and cron.monthly which contain the date they were last run. The folder is missing on both of my machines running Mint 19. The result is that anacron.service fails as there is no folder to access.
The syslog showed:
The result is that anacron does not run and logrotate is not called and the log files gradually fill up which is how I discovered the problem.
I created /var/spool/anacron by
sudo mkdir /var/spool/anacron
after which syslog showed anacron running and the cron jobs being startedand the log files are now rotating.
This may have been caused by an update as I found some rotated log files up to 16th July but I have not been able to find out more.
inxi output