Your message dated Wed, 16 Jun 2021 09:59:58 +0200 (CEST)
with message-id <alpine.DEB.2.21.2106160953270.12605@hier>
and subject line Close ticket "system shuts down instead of rebooting since 
jessie"?
has caused the Debian Bug report #812070,
regarding unattended-upgrades: system shuts down instead of rebooting since 
jessie
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
812070: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812070
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: unattended-upgrades
Version: 0.83.3.2+deb8u1
Severity: important

Dear Maintainer,

   * What led up to the situation?

I upgraded my systems from wheezy to jessie.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I enabled the automatic reboot (Unattended-Upgrade::Automatic-Reboot "true";).

   * What was the outcome of this action?

The system shuts down whenever a kernel update was installed.

   * What outcome did you expect instead?

I expect the system to reboot. This worked with wheezy before.

The sytem reboots fine when running "reboot" or "shutdown -r" on commandline.

But it shuts down instead whenever unattended-upgrades writes into its log:
"WARNING Found /var/run/reboot-required, rebooting". This affects multiple 
machines
running x86_32 and x86_64, physical machines as well as virtual machines.

The system also does not poweroff when unattended-upgrades tries to reboot.

Regards,
 M. Braun

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages unattended-upgrades depends on:
ii  apt                    1.0.9.8.1
ii  apt-utils              1.0.9.8.1
ii  debconf [debconf-2.0]  1.5.56
ii  init-system-helpers    1.22
ii  lsb-base               4.1+Debian13+nmu1
ii  lsb-release            4.1+Debian13+nmu1
ii  python3                3.4.2-2
ii  python3-apt            0.9.3.12
ii  ucf                    3.0030
ii  xz-utils               5.1.1alpha+20120614-2+b3

unattended-upgrades recommends no packages.

Versions of packages unattended-upgrades suggests:
pn  bsd-mailx                       <none>
ii  postfix [mail-transport-agent]  2.11.3-1

-- Configuration Files:
/etc/apt/apt.conf.d/50unattended-upgrades changed:
// Automatically upgrade packages from these origin patterns
Unattended-Upgrade::Origins-Pattern {
        // Archive or Suite based matching:
        // Note that this will silently match a different release after
        // migration to the specified archive (e.g. testing becomes the
        // new stable).
//      "o=Debian,a=stable";
//      "o=Debian,a=stable-updates";
//      "o=Debian,a=proposed-updates";
        "origin=Debian,codename=${distro_codename}";
        "origin=Debian,codename=${distro_codename}-updates";
        "origin=Debian,codename=${distro_codename},label=Debian-Security";
        "origin=apt.postgresql.org,archive=${distro_codename}-pgdg";
        "origin=admindb";
        "origin=mongodb";
};
// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
//      "vim";
//      "libc6";
//      "libc6-dev";
//      "libc6-i686";
};
// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run 
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";
// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";
// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";
// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "[email protected]"
//Unattended-Upgrade::Mail "root";
// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
//Unattended-Upgrade::MailOnlyOnError "true";
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
// Automatically reboot *WITHOUT CONFIRMATION* if a 
// the file /var/run/reboot-required is found after the upgrade 
//Unattended-Upgrade::Automatic-Reboot "false";
Unattended-Upgrade::Automatic-Reboot "true";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";


-- debconf information:
* unattended-upgrades/enable_auto_updates: true

--- End Message ---
--- Begin Message ---
Hello M. Braun, hello Balint,

Balint wrote in 2017:

Does "shutdown -r now" reboot your system? This is what is run by u-u by
default.

However M. Braun did not answer.

So I think this ticket can be closed as "not reproducible" right?

If you could still give us the answer to the above question by Balint Mr. Braun, then that'd be nice! If you can tell us whether the problem "went away" by itself that would also be nice!

I'm closing this ticket. I hope you don't mind for a bit of triage Balint?

Greetings to all and thanks a lot for maintaining this very useful package Balint!
*t

--- End Message ---

Reply via email to