-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.0
-
None
-
cronie-1.7.0-12.el10
-
No
-
Low
-
1
-
rhel-base-utils-antfarm
-
ssg_core_services
-
0
-
False
-
False
-
-
None
-
BaseUtilsAF Sprint 00_CY25
-
Pass
-
Automated
-
Unspecified
-
Unspecified
-
Unspecified
-
None
cronie, as shipped with RHEL 10, has a new feature to keep backups of previous crontabs under ~/.cache/crontab/. The `crontab` binary does this automatically.
However, if ~/.cache does not exist, any user editing their own crontab (after it was created previously, so the backup mechanism kicks in) will get the following error printed in the console:
$ crontab -e
crontab: installing new crontab
/home/user/.cache/crontab: mkdir: No such file or directory
Note that if ~/.cache/crontab does not exist, the crontab binary creates it, but if ~/.cache does not exist, it does not and errors out. This affects all users, provided ~/.cache does not exist when editing an already-existing crontab.
As a workaround, ~/.cache can be manually created. However, `crontab` should create ~/.cache if needed and it does not exist, to avoid the unnecessary error.
- is cloned by
-
RHEL-107819 crontab always prints an error if ~/.cache does not exist [rhel-9.7]
-
- Closed
-
- is duplicated by
-
RHEL-108747 crontab -e error
-
- Closed
-
- links to
-
RHBA-2025:148455 cronie bug fix and enhancement update