/srv/irclogs.ubuntu.com/2017/09/16/#ubuntu-server.txt

=== JanC_ is now known as JanC
ironhalikHello10:54
ironhalikgot a small issue with xenial server, and dont really know where to start debugging it10:55
ironhalikmost of my log files in /var/log are empty and not logged to, except the ones rotated by logrotate10:55
ironhalikie. haproxy.log is empty, while haproxy.log.1 is actively written to10:56
ironhalikrsyslog is configured to log to haproxy.log, and logrotate uses default config10:56
k_sze_Does unattended-upgrade refrain from automatically rebooting if it can't send mail notification?13:50
ikoniaI don't believe so13:50
ikoniaI believe mail notifications is just a "bonus" feature, nothing has a hard depend on it13:51
ikoniaI could be wrong,13:51
ikoniaI certainly have used it without an MTA being defined and never had a problem13:51
k_sze_I somehow don't get automatic reboots. :(13:52
ikoniaisn't it an option you have to enable ?13:52
ikonia(I don't know if it's on by default)13:52
ikoniaI'm working from memory and I think there was an option to enable auto reboot13:53
k_sze_There is, and I have enabled it in the config.13:53
ikoniais the upgrade not acutally completing perhaps ?13:54
ikonia do the logs show a sucessful upgrade ?13:54
k_sze_Which log should I look at? If I ssh into the server, I see the message "*** System restart required ***"13:54
ikoniainteresting so that suggests it knows it needs the resetart but doesn't execute it13:55
k_sze_But the /var/run/reboot-required file is quite old.13:55
ikoniathere should be an upgrade log13:55
ikoniais the /var/run/reboot-required file actually overwritable ?13:55
ikoniatry removing it and re-running the upgrade13:55
k_sze_It is overwritable13:57
ikoniathen why isn't it being overwriteable13:57
ikoniaI wonder...does it need a reboot before it can start ?13:58
ikoniahas the upgrade actually happened, or is it the prep thats failing13:58
ikonia(if you say the reboot-required file is old)13:58
k_sze_Well, the reboot-required is dated Sept 313:58
k_sze_this month13:58
ikoniawhen did you run the upgrade ?13:58
k_sze_You mean the last time I ran updates manually?14:02
k_sze_what the....14:14
k_sze_if I run `unattended-upgrade -v -d` manually in the terminal as root, it *does* reboot.14:14
k_sze_But I still don't get an e-mail notification. :(14:15
k_sze_Even though I know that root's .mailrc works. I *have* tried to send a test message using s-nail.14:15
tomreyndoes it run as root, though?14:30
k_sze_tomreyn: erm... why would it not run as root?14:34
k_sze_Actually, how does unattended-upgrade get run on Xenial server?14:38
k_sze_Using a systemd timer?14:40
tomreynaccording to /etc/cron.daily/apt-compat that's how14:44
tomreynsystemctl list-timers lists apt-daily.timer and apt-daily-upgrade.timer. i thinkt he former is what triggers u-u14:47
hallyncpaelzer: 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
hallynbut with zesty and beyond, the vm hangs on reboot until i do a virsh console.  as soon as i do that, it proceeds.  wtf?15:42
=== demon_spork is now known as demonspork

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!