Last commit made on 2019-10-30
Get this branch:
git clone -b ubuntu/trusty-updates https://git.launchpad.net/ubuntu/+source/ubuntu-advantage-tools
Members of Ubuntu Server Dev import team can upload to this branch. Log in for directions.

Branch merges

Branch information


Recent commits

999e489... by Andreas Hasenack on 2019-10-30

Import patches-unapplied version 19.6~ubuntu14.04.3 to ubuntu/trusty-proposed

Imported using git-ubuntu import.

Upload parent: bb61b65807abb3860640602ffa4c51772bcaac18

bb61b65... by Andreas Hasenack on 2019-10-30


e3dc4c6... by Chad Smith on 2019-10-29

pkg: rename existing ubuntu-esm-precise.list file to trusty

When upgrading from precise to trusty and esm is enabled,
ubuntu-advantage-tools v 10ubuntu0.14.04.4 does not rename
any apt precise apt sources files to trusty.

So if customers have already upgraded from precise enabled-esm to trusty
10ubuntu0.14.04.4, a subsequent upgrade to version 19.6 will
skip trying to rename:
ubuntu-esm-precise.list -> ubuntu-esm-infra-trusty.list.

postinst unconditionally renames ubuntu-esm-precise.list to
ubuntu-esm-infra-trusty.list. It no longer limits this rename
operation to the case where postinst is upgrading from version 1 (the precise
package version)

Fixes: #899

19f5978... by Andreas Hasenack on 2019-10-25

Import patches-unapplied version 19.6~ubuntu14.04.2 to ubuntu/trusty-proposed

Imported using git-ubuntu import.

Upload parent: ddaaefef82be6cc887b3017235ae0f49a776fbbf

ddaaefe... by Andreas Hasenack on 2019-10-25


9425d72... by Andreas Hasenack on 2019-10-25

  * d/control, d/rules: don't run flake8 tests since python3-flake8 is in
    universe (LP: #1849851)

37d4053... by Andreas Hasenack on 2019-10-23

Import patches-unapplied version 19.6~ubuntu14.04.1 to ubuntu/trusty-proposed

Imported using git-ubuntu import.

Changelog parent: b1f4c5a6e6f44d1f3d819befc439ea42c908830c

New changelog entries:
  * New upstream release (LP: #1832757). Main changes:
    - drop SSO interactive login support
    - d/control: no longer depend on pymacaroons, which was only needed for
      the SSO interactive login support
    - drop keyrings for services not supported in trusty: cc-eal, fips,
      fips-updates, cis audit
    - make sure /var/lib/ubuntu-advantage/private has 0700 perms
    - rename esm to esm-infra. Also handle upgrades
    - don't unecessarily remove config files that are already handled by dpkg
    - expand the apt related runtime dependencies
    - handle sources.list.d esm snippet when release upgrading from precise
    - ua status now reports availability of services even in unattached state
    - the "ua status" output was changed, including the json format option
    - drop "ua status" call in postinst as it now requires internet access and
      that is restricted in LP builders and test runners.
    - fix the d/t/usage DEP8 test that was also using status

b1f4c5a... by Andreas Hasenack on 2019-07-04

Import patches-unapplied version 19.5.1 to ubuntu/eoan-proposed

Imported using git-ubuntu import.

Changelog parent: 04f02f9bcffe8b755acb40fadbe74314a111bb69

New changelog entries:
  * d/t/usage: fix dep8 test ("entitlements" was renamed to "services")

04f02f9... by Andreas Hasenack on 2019-07-03

Import patches-unapplied version 19.5 to ubuntu/eoan-proposed

Imported using git-ubuntu import.

Changelog parent: 96586c33d1495b056e366e6875ce7db3439b1df1

New changelog entries:
  * New upstream release (LP: #1832757):
    - packaging:
      + d/control: depend on libapt-pkg<ABI_VERSION> to use pin-priority never
      + d/postinst: adjust logfile permissions
      + d/postinst: remove public files and generate status cache on upgrade
      + d/postinst: Remove the old CACHE_DIR in postinst
      + d/postrm: remove log files on package purge
      + d/postrm: remove the ESM pinning file on purge
      + trusty should remove v1 esm key if present after upgrade
      + keyrings: regenerate keyrings on a trusty host
      + refresh keyrings to match current production for fips and cc-eal
    - apt:
      + all repo entitlements now call apt-get update on enable
      + enable -updates if -updates from the Ubuntu archive is enabled
      + Add basic i18n (good enough for lang packs)
      + retry apt install and update commands 3 times simple backoff
      + write commented -updates lines instead of omitting them
    - attach/detach:
      + added --no-auto-enable option
      + suppress messages from inapplicable default entitlements
      + two-factor auth reprompt only two-factor auth on failed 2fa
      + honour enableByDefault obligations from contract server
      + livepatch: no auto-enable on attach for trusty
      + don't attempt to disable inapplicable entitlements during detach
      + check for root before checking for attach in assert_attached_root
    - status:
      + add --json cli formatting option
      + emit a SERVICE header in status output
      + redact technical support and expiry for free contracts
      + unentitled services will report n/a
    - cc-eal:
      + add a warning about download size before install
      + change cc to cc-eal in docs, parameters and commandline help
    - esm:
      + add esm-v2 gpg keyring, drop old keyring, ignore aptKey directive
      + and livepatch auto enabled on attach where supported
      + on upgrade do not install preferences to pin never if esm enabled
      + remove only the apt auth entry on disable, leaving sources.list
      + use Pin-Priority never apt preference file to disable esm initially
    - fips:
      + display as pending when linux-fips is not the running kernel
      + only install/upgrade optional packages that are already on the system
    - logs:
      + no longer redact secrets as logfile is root read-only
      + separate console log devel from logfile level
      + remove level from messages to the console
    - add subcommand to refresh all contract details
    - config: allow contract_url and sso_auth_url to have a trailing slash
    - docker: fix persisting generated uuid on images without machine-id files
    - environ: allow lowercase ua_<config_option> overrides
    - repo: un-comment ESM sources.list lines on repo disable
    - updated manpage and help docs

96586c3... by Andreas Hasenack on 2019-06-18

Import patches-unapplied version 19.4.1 to ubuntu/eoan-proposed

Imported using git-ubuntu import.

Upload parent: 898cb32b9b039352f97057eeedc4f23a731c467b