From: mhoellein Date: Wed, 19 Apr 2023 19:39:28 +0000 (+0200) Subject: committing changes in /etc made by "apt-get upgrade" X-Git-Url: https://git.hoellein.online/?a=commitdiff_plain;h=ae405bdc147d3d79c827f126936495104c5e9cff;p=vserver committing changes in /etc made by "apt-get upgrade" Package changes: -libxml2 2.9.10+dfsg-5ubuntu0.20.04.5 amd64 +libxml2 2.9.10+dfsg-5ubuntu0.20.04.6 amd64 -ubuntu-advantage-tools 27.13.6~20.04.1 amd64 +ubuntu-advantage-tools 27.14.4~20.04 amd64 -vim 2:8.1.2269-1ubuntu5.13 amd64 +vim 2:8.1.2269-1ubuntu5.14 amd64 -vim-common 2:8.1.2269-1ubuntu5.13 all +vim-common 2:8.1.2269-1ubuntu5.14 all -vim-runtime 2:8.1.2269-1ubuntu5.13 all -vim-tiny 2:8.1.2269-1ubuntu5.13 amd64 +vim-runtime 2:8.1.2269-1ubuntu5.14 all +vim-tiny 2:8.1.2269-1ubuntu5.14 amd64 -xxd 2:8.1.2269-1ubuntu5.13 amd64 +xxd 2:8.1.2269-1ubuntu5.14 amd64 --- diff --git a/.etckeeper b/.etckeeper index 685570fb9..598d77eee 100755 --- a/.etckeeper +++ b/.etckeeper @@ -15191,7 +15191,6 @@ maybe chmod 0755 'update-motd.d' maybe chmod 0755 'update-motd.d/00-header' maybe chmod 0755 'update-motd.d/10-help-text' maybe chmod 0755 'update-motd.d/50-motd-news' -maybe chmod 0755 'update-motd.d/88-esm-announce' maybe chmod 0755 'update-motd.d/91-contract-ua-esm-status' maybe chmod 0755 'update-motd.d/91-release-upgrade' maybe chmod 0644 'updatedb.conf' diff --git a/apt/apt.conf.d/20apt-esm-hook.conf b/apt/apt.conf.d/20apt-esm-hook.conf index 7bcae444b..36a75937c 100644 --- a/apt/apt.conf.d/20apt-esm-hook.conf +++ b/apt/apt.conf.d/20apt-esm-hook.conf @@ -2,10 +2,6 @@ APT::Update::Pre-Invoke { "[ ! -e /run/systemd/system ] || [ $(id -u) -ne 0 ] || systemctl start --no-block apt-news.service esm-cache.service || true"; }; -APT::Update::Post-Invoke-Stats { - "[ ! -f /usr/lib/ubuntu-advantage/apt-esm-hook ] || /usr/lib/ubuntu-advantage/apt-esm-hook || true"; -}; - binary::apt::AptCli::Hooks::Upgrade { "[ ! -f /usr/lib/ubuntu-advantage/apt-esm-json-hook ] || /usr/lib/ubuntu-advantage/apt-esm-json-hook || true"; }; diff --git a/ubuntu-advantage/uaclient.conf b/ubuntu-advantage/uaclient.conf index 3bf107a58..6499bf13c 100644 --- a/ubuntu-advantage/uaclient.conf +++ b/ubuntu-advantage/uaclient.conf @@ -1,18 +1,2 @@ -# Ubuntu Pro Client config file. -# If you modify this file, run "pro refresh config" to ensure changes are -# picked up by Ubuntu Pro Client. - contract_url: https://contracts.canonical.com -data_dir: /var/lib/ubuntu-advantage -log_file: /var/log/ubuntu-advantage.log log_level: debug -security_url: https://ubuntu.com/security -timer_log_file: /var/log/ubuntu-advantage-timer.log -daemon_log_file: /var/log/ubuntu-advantage-daemon.log -ua_config: - apt_http_proxy: null - apt_https_proxy: null - http_proxy: null - https_proxy: null - update_messaging_timer: 21600 - metering_timer: 14400 diff --git a/update-motd.d/88-esm-announce b/update-motd.d/88-esm-announce deleted file mode 100755 index 44b521b43..000000000 --- a/update-motd.d/88-esm-announce +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -stamp="/var/lib/ubuntu-advantage/messages/motd-esm-announce" - -[ ! -r "$stamp" ] || cat "$stamp" diff --git a/update-motd.d/91-contract-ua-esm-status b/update-motd.d/91-contract-ua-esm-status index cc823340c..cfc6bb22f 100755 --- a/update-motd.d/91-contract-ua-esm-status +++ b/update-motd.d/91-contract-ua-esm-status @@ -1,7 +1,7 @@ #!/bin/sh -esm_stamp="/var/lib/ubuntu-advantage/messages/motd-esm-service-status" +contract_status_stamp="/var/lib/ubuntu-advantage/messages/motd-contract-status" -[ ! -r "$esm_stamp" ] || cat "$esm_stamp" +[ ! -r "$contract_status_stamp" ] || cat "$contract_status_stamp" auto_attach_stamp="/var/lib/ubuntu-advantage/messages/motd-auto-attach-status"