I am running Ubuntu 20.04 using most recent VDR (2.4.1) I can easily get to it. System is server style and tries to be up and runnning 24/7. Now there is some instablity in computer which ends up shutting it down every few days. These shutdowns are related on failed timer setup in VDR which starts vdr-shutdown.wrapper and eventually shuts down whole computer
Process can be seen from second line in log below
Nov 9 15:39:26 uusi-serveri vdr: [26295] read incomplete section - len = 329, r = 151
Nov 9 15:39:33 uusi-serveri vdr: [26285] next timer event at Tue Nov 10 18:03:00 2020
Nov 9 15:39:33 uusi-serveri vdr: [26285] executing '/usr/lib/vdr/vdr-shutdown.wrapper 1605024180 95007 2 "Kaikki synnit~2020.11.10-18:05-Tue" 0'
Nov 9 15:39:33 uusi-serveri vdr: [26285] saved setup to /var/lib/vdr/setup.conf
Nov 9 15:39:33 uusi-serveri vdr-shutdown: executing /usr/share/vdr/shutdown-hooks/S90.custom as shell script
Nov 9 15:39:33 uusi-serveri systemd[1]: Stopping Session 1 of user tikola.
Nov 9 15:39:33 uusi-serveri pulseaudio[1425]: X connection to :0 broken (explicit kill or server shutdown).
Nov 9 15:39:33 uusi-serveri systemd[1]: Removed slice system-getty.slice.
Nov 9 15:39:33 uusi-serveri gnome-shell[1701]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Nov 9 15:39:33 uusi-serveri systemd[1]: Removed slice system-modprobe.slice.
Nov 9 15:39:33 uusi-serveri systemd[1]: Stopped target Graphical Interface.
Nov 9 15:39:33 uusi-serveri systemd[1]: Stopped target Multi-User System.
Nov 9 15:39:33 uusi-serveri systemd[1]: Stopped target Login Prompts.
Nov 9 15:39:33 uusi-serveri systemd[1]: Stopped target Sound Card.
Nov 9 15:39:33 uusi-serveri systemd[1]: Stopped target Timers.
Nov 9 15:39:33 uusi-serveri systemd[1]: anacron.timer: Succeeded.
Nov 9 15:39:33 uusi-serveri systemd[1]: Stopped Trigger anacron every hour.
Nov 9 15:39:33 uusi-serveri systemd[1]: apt-daily-upgrade.timer: Succeeded.
Nov 9 15:39:33 uusi-serveri systemd[1]: Stopped Daily apt upgrade and clean activities.
Nov 9 15:39:33 uusi-serveri systemd[1]: apt-daily.timer: Succeeded.
Nov 9 15:39:33 uusi-serveri systemd[1]: Stopped Daily apt download activities.
Nov 9 15:39:33 uusi-serveri systemd[1384]: Stopped target GNOME X11 Session (session: ubuntu).
Nov 9 15:39:33 uusi-serveri systemd[1384]: Stopped target GNOME Session.
Nov 9 15:39:33 uusi-serveri systemd[1384]: Stopped target GNOME X11 Session.
Nov 9 15:39:33 uusi-serveri systemd[1384]: Stopped target GNOME Session (session: ubuntu).
Nov 9 15:39:33 uusi-serveri systemd[1]: e2scrub_all.timer: Succeeded.
Nov 9 15:39:33 uusi-serveri sy
Display More
I have used VDR settings (conf.d) to disable shutdown but no success. Decent workaround is server autoreboot and I can manage with this issue but fixing it would be more elegant. Bascially I want that if timer fails it just fails and computer keeps up running. There is no need to shutdown it due failed timer.
Or is my diagnosis wrong and shutdown wrapper is just a result from some other shutdown process. The phenomena is repeadetly same - epgsearch sets up some timer and that triggers computer shutdown. And this happens on daily basis or every second day so I guess timer setup is succesfully 99 times out of 100 but then comes the one that crashes things.