Bug#929096: unattended-upgrades: defaults change to upgrade stable suite

2019-05-17 Thread Sean Whitton
Hello,

On Fri 17 May 2019 at 10:27AM +02, Bálint Réczey wrote:

> It is documented in NEWS.Debian in the entry for 0.99 already and I
> agree that it would be nice to include it in the release notes as
> well.

Sorry, don't know how I missed this.  Thanks for the reply!

-- 
Sean Whitton


signature.asc
Description: PGP signature


Bug#929096: unattended-upgrades: defaults change to upgrade stable suite

2019-05-17 Thread Justin B Rye
Bálint Réczey wrote:
>> The version of unattended-upgrades in stretch defaulted to not upgrading
>> the stable suite.  It would install only security updates.
>>
>> The version of unattended-upgrades in buster upgrades both the stable
>> suite and security upgrades.  I.e. it will pull in point releases too.
>>[...]
> 
> It is documented in NEWS.Debian in the entry for 0.99 already and I
> agree that it would be nice to include it in the release notes as
> well.

The text there is

# Unattended-upgrades in previous versions defaulted to install
# security updates only on Debian by using the label=Debian-Security
# origin pattern. Now it is changed to allow updates with label=Debian,
# which allows applying stable updates in stable releases and following
# all package updates in testing and unstable.
#
# In stable releases this unlocks installation of security updates
# depending on package versions present only in stable updates.
#
# Note that testing and unstable can often contain packages for which
# installation or upgrade performed by unattended-upgrades fails and
# requires the administrator to fix the system later.
#
# If you would like to prevent unattended-upgrades from performing
# updates please run "sudo dpkg-reconfigure unattended-upgrades".

Here's a suggested short version for the release-notes, which leaves
out technical details and assumes the reader is running stable:

  

Unattended-upgrades for stable point releases

  Previous versions of unattended-upgrades defaulted to installing
  only upgrades that came from the security suite. In buster it now also
  automates upgrading to the latest stable point release. For details, see
  the package's NEWS.Debian file.

  

The attached patch puts this text in whats-new.dbk just after the
section "apt-sandboxing".

Meanwhile. wouldn't it also make sense to update the package description?

# This package can download and install security upgrades automatically
# and unattended, taking care to only install packages from the
# configured APT source, and checking for dpkg prompts about
# configuration file changes.
# .
# This script is the backend for the APT::Periodic::Unattended-Upgrade
# option.

That sentence is already a bit complicated, so I would suggest
breaking it up, maybe like this:

  This package provides a script which can perform automatic unattended 
downloads
  and installations of packages from the security suite. By default it will also
  handle point releases on stable and rolling upgrades on testing/unstable. It
  takes care to only install packages from the configured APT source, and checks
  for dpkg prompts about configuration file changes.
  .
  It is used as the backend for the APT::Periodic::Unattended-Upgrade option.

-- 
JBR with qualifications in linguistics, experience as a Debian
sysadmin, and probably no clue about this particular package
diff --git a/en/whats-new.dbk b/en/whats-new.dbk
index be7517fa..7b9e77cb 100644
--- a/en/whats-new.dbk
+++ b/en/whats-new.dbk
@@ -439,6 +439,18 @@ Among many others, this release also includes the following software updates:
   
 
 
+
+  
+  Unattended-upgrades for stable point releases
+  
+Previous versions of unattended-upgrades defaulted to installing
+only upgrades that came from the security suite. In buster it now also
+automates upgrading to the latest stable point release. For
+details, see the package's NEWS.Debian file.
+  
+
+
 
   
   Substantially improved man pages for German speaking users


Bug#929096: unattended-upgrades: defaults change to upgrade stable suite

2019-05-17 Thread Bálint Réczey
Control: notfound -1 unattended-upgrades/1.11

Hi Sean,

Sean Whitton  ezt írta (időpont: 2019. máj.
17., P, 2:06):
>
> Package: unattended-upgrades, release-notes
> Version: 1.11
>
> Hello,
>
> The version of unattended-upgrades in stretch defaulted to not upgrading
> the stable suite.  It would install only security updates.
>
> The version of unattended-upgrades in buster upgrades both the stable
> suite and security upgrades.  I.e. it will pull in point releases too.
>
> There are probably good reasons for this defaults change, but I think it
> needs to be documented, either in NEWS.Debian for unattended-upgrades,
> and/or (since the package is very widely installed) in the buster
> release notes.

It is documented in NEWS.Debian in the entry for 0.99 already and I
agree that it would be nice to include it in the release notes as
well.

Cheers,
Balint



Bug#929096: unattended-upgrades: defaults change to upgrade stable suite

2019-05-16 Thread Sean Whitton
Package: unattended-upgrades, release-notes
Version: 1.11

Hello,

The version of unattended-upgrades in stretch defaulted to not upgrading
the stable suite.  It would install only security updates.

The version of unattended-upgrades in buster upgrades both the stable
suite and security upgrades.  I.e. it will pull in point releases too.

There are probably good reasons for this defaults change, but I think it
needs to be documented, either in NEWS.Debian for unattended-upgrades,
and/or (since the package is very widely installed) in the buster
release notes.

Thanks.

-- 
Sean Whitton


signature.asc
Description: PGP signature