Hi, recently gentoo's dev changed prefix path for systemd, installing all stuffs into /lib/systemd/... Instead, the systemd-cron is still using /usr as prefix. The result is that crotab-systemd search in wrong place the systemd-crontab-generator file (taht now is into /lib/systemd/system-generators). A fix is to change the build adding '--libdir="${EPREFIX}/lib" \' to configure call. A will provide a 1.5.12-r1 updated ebuild (Another fix is to patch the crontab-systemd directly) Reproducible: Always Steps to Reproduce: /usr/bin/crontab-systemd Actual Results: crontab-systemd Traceback (most recent call last): File "/usr/bin/crontab-systemd", line 337, in <module> parser = loader.load_module() File "<frozen importlib._bootstrap_external>", line 418, in _check_name_wrapper File "<frozen importlib._bootstrap_external>", line 841, in load_module File "<frozen importlib._bootstrap_external>", line 700, in load_module File "<frozen importlib._bootstrap>", line 268, in _load_module_shim File "<frozen importlib._bootstrap>", line 693, in _load File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 693, in exec_module File "<frozen importlib._bootstrap_external>", line 798, in get_code File "<frozen importlib._bootstrap_external>", line 850, in get_data FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/systemd/system-generators/systemd-crontab-generator'
See https://github.com/gentoo/gentoo/pull/6745
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c84f9b9c7bfbc1e86d78750a1f112df955fa8371 commit c84f9b9c7bfbc1e86d78750a1f112df955fa8371 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2018-01-13 16:53:22 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2018-01-13 16:53:22 +0000 sys-process/systemd-cron: fix references to @generatordir@ Closes: https://bugs.gentoo.org/643398 Package-Manager: Portage-2.3.19_p11, Repoman-2.3.6_p45 .../systemd-cron/files/1.5.12-generatordir.patch | 67 ++++++++++++++++++++++ ...1.5.12.ebuild => systemd-cron-1.5.12-r1.ebuild} | 4 +- 2 files changed, 70 insertions(+), 1 deletion(-)