=== JanC_ is now known as JanC [10:54] Hello [10:55] got a small issue with xenial server, and dont really know where to start debugging it [10:55] most of my log files in /var/log are empty and not logged to, except the ones rotated by logrotate [10:56] ie. haproxy.log is empty, while haproxy.log.1 is actively written to [10:56] rsyslog is configured to log to haproxy.log, and logrotate uses default config [13:50] Does unattended-upgrade refrain from automatically rebooting if it can't send mail notification? [13:50] I don't believe so [13:51] I believe mail notifications is just a "bonus" feature, nothing has a hard depend on it [13:51] I could be wrong, [13:51] I certainly have used it without an MTA being defined and never had a problem [13:52] I somehow don't get automatic reboots. :( [13:52] isn't it an option you have to enable ? [13:52] (I don't know if it's on by default) [13:53] I'm working from memory and I think there was an option to enable auto reboot [13:53] There is, and I have enabled it in the config. [13:54] is the upgrade not acutally completing perhaps ? [13:54] do the logs show a sucessful upgrade ? [13:54] Which log should I look at? If I ssh into the server, I see the message "*** System restart required ***" [13:55] interesting so that suggests it knows it needs the resetart but doesn't execute it [13:55] But the /var/run/reboot-required file is quite old. [13:55] there should be an upgrade log [13:55] is the /var/run/reboot-required file actually overwritable ? [13:55] try removing it and re-running the upgrade [13:57] It is overwritable [13:57] then why isn't it being overwriteable [13:58] I wonder...does it need a reboot before it can start ? [13:58] has the upgrade actually happened, or is it the prep thats failing [13:58] (if you say the reboot-required file is old) [13:58] Well, the reboot-required is dated Sept 3 [13:58] this month [13:58] when did you run the upgrade ? [14:02] You mean the last time I ran updates manually? [14:14] what the.... [14:14] if I run `unattended-upgrade -v -d` manually in the terminal as root, it *does* reboot. [14:15] But I still don't get an e-mail notification. :( [14:15] Even though I know that root's .mailrc works. I *have* tried to send a test message using s-nail. [14:30] does it run as root, though? [14:34] tomreyn: erm... why would it not run as root? [14:38] Actually, how does unattended-upgrade get run on Xenial server? [14:40] Using a systemd timer? [14:44] according to /etc/cron.daily/apt-compat that's how [14:47] systemctl list-timers lists apt-daily.timer and apt-daily-upgrade.timer. i thinkt he former is what triggers u-u [15:42] cpaelzer: rbasak: ok this is funky. With zesty and artful vms, using uvtool... I usually pass in a --run-script-once which does som eupdating and then a reboot (then writes over nc to a socket to tell me script it's ready). [15:42] but with zesty and beyond, the vm hangs on reboot until i do a virsh console. as soon as i do that, it proceeds. wtf? === demon_spork is now known as demonspork