I added more debug messages and reproduced the issue again. Here are logs: lock_file: /var/run/unattended-upgrades.lock
1. xenial (unattended-upgrades-0.90ubuntu0.6): a. /var/log/unattended-upgrades/unattended-upgrades-shutdown.log 2017-06-22 03:43:09,028 WARNING - get_lock returned... 2017-06-22 03:43:09,040 WARNING - lock not taken b. $ ls /var/run/una* nothing 2. yakkety (unattended-upgrades-0.92ubuntu1.5): a. /var/log/unattended-upgrades/unattended-upgrades-shutdown.log 2017-06-22 03:35:21,038 WARNING - get_lock returned... 2017-06-22 03:35:21,052 WARNING - log_progress... 2017-06-22 03:35:21,066 WARNING - Unattended-upgrade in progress during shutdown, sleeping for 5s Progress: 17.1429 % (libreoffice-math) ... 2017-06-22 03:41:30,797 WARNING - Unattended-upgrade in progress during shutdown, sleeping for 5s Progress: 98.5525 % (initramfs-tools) 2017-06-22 03:41:35,816 WARNING - get_lock returned... 2017-06-22 03:41:35,833 WARNING - lock not taken 2017-06-22 03:41:35,866 INFO - All upgrades installed b. $ ls /var/run/una* /var/run/unattended-upgrades.lock /var/run/unattended-upgrades.progress $ sudo lslocks COMMAND PID TYPE SIZE MODE M START END PATH ... unattended-upgr 3006 POSIX 0B WRITE 0 0 0 /run/unattended-upgrades.lock -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1690980 Title: No pop-up window to warn users that system should not reboot or shutdown while installing security updates To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1690980/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
