[Buildroot] [PATCH 1/1] package/dcron: create directories if needed on startup

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Jan 2 13:39:53 UTC 2020


Hello Christopher,

On Thu,  2 Jan 2020 12:37:46 +0000
Christopher McCrory <chrismcc at gmail.com> wrote:

> Create the /var/spool/cron/crontabs and /var/spool/cron/cronstamps directories
> on startup if they don't exist.  By default /var/spool is a symlink to /tmp so
> the contents get deleted on reboot.  If the cronstamps directory does not exist
> anything in /etc/cron.hourly/ , etc. will fail to run.
> 
> Signed-off-by: Christopher McCrory <chrismcc at gmail.com>

We already have http://patchwork.ozlabs.org/patch/1196301/ pending to
fix the same issue. Could you instead have a look at Carlos patch and
see if it fixes the problem for you as well ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list