On Mon, Oct 31, Jacob Michalskie wrote:
On Mo, Okt 31 2022 at 09:24:16 +0100, Thorsten Kukuk firstname.lastname@example.org wrote:
there is a new package in Tumbleweed: os-update
Since I'm lazy but wanted to have my non MicroOS servers also always up-to-date, I wrote this little package to make sure my servers are always fully patched like MicroOS:
- runs regular via systemd.timer (default once a day)
- Uses "zypper up" or "zypper dup" depending on the OS
- If zypper reports "reboot necessary", a reboot will be triggered via rebootmgr, and if this is not running directly via "reboot".
An enhancement could be to parse the services from the zypper ps -s output and restart the services...
Thanks for that, up to this point we used https://github.com/lrupp/suse-online-update in openSUSE infrastructure to keep systems up to date, however that didn't support Tumbleweed which we have to use with some services. This is a very nice potential replacement for that, which we were looking for.
Great to hear. I implemented now restarting of services, too.
If there is anything else missing or not working, should be no problem to implement.