It looks like my mistake was to set up the
crontab with ‘
@reboot screen -dmS config’ string.
After rebooting with this crontab settings, it might be that I had committed some changes in config from that
screen (which presumably started with root privileges). It was some time ago so I’m not sure about that point.
So after that, any changes in the configuration that I’m generating disappear after the reboot.
I tried to remove the crontab job with “
crontab -r” (got confirmed that no jobs scheduled) but got the same crontab back after the reboot.
Looks like some feature of SquashFS.
How can I remove the crontab job in this situation, or update the VyOS’s config with the possibility to have it in place after reboot?
I have this issue on the remote system so it should be done as safe as possible
try to reproduce this behavior on sandbox.
crontab looks like not the reason as the
screen started with
crontab @reboot shows
And there is no problem to remove crontab’s job with
crontab -r in this case.
how could I got into this state?