[Buildroot] crontab: can't change directory to '/var/spool/cron/crontabs': No such file or directory

Alexey Brodkin Alexey.Brodkin at synopsys.com
Thu Jan 28 17:02:57 UTC 2016


Hello,

Just noticed this:
------------------>8-------------------
# crontab -e
crontab: can't change directory to '/var/spool/cron/crontabs': No such file or directory
------------------>8-------------------

Obvious solution is:
------------------>8-------------------
# mkdir -p /var/spool/cron/crontabs
------------------>8-------------------

But the question is if we want that to be done automatically and if
we do want how (read "where") to do it properly?

The point is crond is enabled by default in Busybox, see
https://git.busybox.net/buildroot/tree/package/busybox/busybox.config#n664
so users expect crond to just work but that doesn't happen :)

Any thoughts?

-Alexey


More information about the buildroot mailing list