Creating a bug report/issue
Required Information
-
DietPi version | 8.16.2
-
Distro version | bullseye
-
Kernel version | Linux rock001 5.15.93-rockchip64 #23.02.2 SMP PREEMPT Fri Feb 17 23:48:36 UTC 2023 aarch64 GNU/Linux
-
SBC model | ROCK Pi S (aarch64)
-
Power supply used | 5V 3A Raspberry Pi USB C
-
SD card used | [Netac Technology NT02P500PRO-032G-R A1 32 GB
Additional Information (if applicable)
- Software title | cron.service
- should be reproducable on fresh install
Steps to reproduce
Fresh install of Dietpi using Automation.
sudo systemctl status cron.service
Expected behaviour
â—Ź cron.service - Regular background program processing daemon
Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2023-04-12 11:23:04 CEST; 37s ago
Docs: man:cron(8)
Main PID: 15130 (cron)
Tasks: 1 (limit: 397)
Memory: 400.0K
CPU: 25ms
CGroup: /system.slice/cron.service
└─15130 /usr/sbin/cron -f
Actual behaviour
â—Ź cron.service
Loaded: masked (Reason: Unit cron.service is masked.)
Active: inactive (dead)
Extra details
Easily solved by unmasking the service. As a workaround for new service I added this to my_Automation_Custom_Script.sh_
# unamsk and enable cron service. Unclear why it is masked
sudo systemctl unmask cron.service
sudo systemctl enable cron.service
sudo systemctl start cron.service
sudo systemctl status cron.service