Unattended-Upgrade::Allowed-Origins should be replaced by Unattended-Upgrade::Origins-Pattern

Bug #1073138 reported by Reuben Thomas
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

According to /usr/bin/unattended-upgrade, the Allowed-Origins variable is a legacy variable, so presumbly unattended-upgrades should be using its replacement, Origins-Pattern.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unattended-upgrades 0.79.3ubuntu4
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Tue Oct 30 12:34:06 2012
InstallationDate: Installed on 2011-05-24 (524 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: Upgraded to quantal on 2012-10-19 (10 days ago)
modified.conffile..etc.apt.apt.conf.d.50unattended.upgrades: [modified]
mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2012-10-30T12:33:25.981698

Revision history for this message
Reuben Thomas (rrt) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

The "Allowed-Origin" is still suitable for the structure of the Ubuntu archive. So I'm inclined to leave the default config for ubuntu to avoid the conffile prompt. Once the default config changes, this should probably also be updated though as the new matching synatx is more readable and more flexible.

Changed in unattended-upgrades (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Reuben Thomas (rrt) wrote :

There is an additional reason to use Origins-Pattern, which is that some package repos cannot be expressed with an Allowed-Origin: in particular, any repo which has a colon in its Origin field, for example the archive at www.openprinting.org, which has the origin field:

\http://www.openprinting.org/download/printdriver/debian/\

It is impossible to escape the colon to satisfy unattended-upgrade as an Allowed-Origin pattern, so rather than add another hack to unattended-upgrade, it would seem better to switch to using the Origins-Pattern setting instead.

Balint Reczey (rbalint)
Changed in unattended-upgrades (Ubuntu):
status: Triaged → Won't Fix
Balint Reczey (rbalint)
Changed in unattended-upgrades (Ubuntu):
status: Won't Fix → Opinion
status: Opinion → Triaged
Revision history for this message
Robert Euhus (euhus-liste1) wrote :

Hi all, especially Michael Vogt,

while I can understand that You don't want do change the config during a release, I can not see any reason why it is still not changed for *new releases* of ubuntu. The bug report is 8 years old by now. There is no advantage of keeping "Allowed-Origin", but many problems have been pointed out. One more: i think it's impossible to configure "just upgrade everything without asking".

So please change this config for the next ubuntu release!

Thanks and regards,
Robert

Revision history for this message
Robert Euhus (euhus-liste1) wrote :

Please change this config for the next ubuntu release!

Changed in unattended-upgrades (Ubuntu):
status: Triaged → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.