[SAC] [OSGeo] #2603: Patch update on lxd containers

#2603: Patch update on lxd containers
---------------------------+-----------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+-----------------------
Doing via ansible

make patch-update-containers command:

{{{
osgeo7_dronie-server
osgeo7_hop
osgeo7_nginx
osgeo7_nextcloud
osgeo7_secure
osgeo7_wordpress
osgeo3_hop
osgeo3_limesurvey
osgeo3_matrix
osgeo3_monitor
osgeo3_nexus
osgeo3_nginx
osgeo3_wiki
osgeo4_hop
}}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2603&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2603: Patch update on lxd containers
---------------------------+------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+------------------------
Changes (by robe):

* Attachment "lxd_container_patches_2021-05-16.txt" added.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2603&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2603: Patch update on lxd containers
---------------------------+------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+------------------------

Comment (by robe):

All went okay except for matrix which appears to have a key expiration for
matrix packages. going to fix that and close once I've run for that.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2603#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2603: Patch update on lxd containers
---------------------------+------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+------------------------

Comment (by robe):

had to run on matrix

{{{
sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg
https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
}}}

Then was able to run upgrade

{{{
ok: [osgeo3_matrix] =>
   output_apt_before_upgrade:
     changed: true
     diff: {}
     failed: false
     msg: |-
       Reading package lists...
       Building dependency tree...
       Reading state information...
       Calculating upgrade...
       The following packages were automatically installed and are no
longer required:
         libc-ares2 libnode64 libuv1 python3-distutils python3-lib2to3
       Use 'sudo apt autoremove' to remove them.
       The following packages will be upgraded:
         bind9-host curl exim4-base exim4-config exim4-daemon-light
libbind9-161
         libcurl3-gnutls libcurl4 libdns-export1104 libdns1104 libisc-
export1100
         libisc1100 libisccc161 libisccfg163 liblwres161 libpq5 matrix-
synapse-py3
         postgresql-11 postgresql-client-11
       19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
       Inst matrix-synapse-py3 [1.30.1+buster1] (1.33.2+buster1
packages.matrix.org [amd64])
       Inst bind9-host [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libbind9-161 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libisccfg163 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libisccc161 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libdns1104 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libisc1100 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst liblwres161 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst curl [7.64.0-4+deb10u1] (7.64.0-4+deb10u2 Debian-
Security:10/stable [amd64])
       Inst libcurl4 [7.64.0-4+deb10u1] (7.64.0-4+deb10u2 Debian-
Security:10/stable [amd64])
       Inst exim4-config [4.92-8+deb10u5] (4.92-8+deb10u6 Debian-
Security:10/stable [all])
       Inst exim4-base [4.92-8+deb10u5] (4.92-8+deb10u6 Debian-
Security:10/stable [amd64])
       Inst exim4-daemon-light [4.92-8+deb10u5] (4.92-8+deb10u6 Debian-
Security:10/stable [amd64])
       Inst libcurl3-gnutls [7.64.0-4+deb10u1] (7.64.0-4+deb10u2 Debian-
Security:10/stable [amd64])
       Inst libisc-export1100 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libdns-export1104 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libpq5 [11.11-0+deb10u1] (11.12-0+deb10u1 Debian-
Security:10/stable [amd64])
       Inst postgresql-client-11 [11.11-0+deb10u1] (11.12-0+deb10u1 Debian-
Security:10/stable [amd64])
       Inst postgresql-11 [11.11-0+deb10u1] (11.12-0+deb10u1 Debian-
Security:10/stable [amd64])
       Conf matrix-synapse-py3 (1.33.2+buster1 packages.matrix.org [amd64])
       Conf bind9-host (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libbind9-161 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libisccfg163 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libisccc161 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libdns1104 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libisc1100 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf liblwres161 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf curl (7.64.0-4+deb10u2 Debian-Security:10/stable [amd64])
       Conf libcurl4 (7.64.0-4+deb10u2 Debian-Security:10/stable [amd64])
       Conf exim4-config (4.92-8+deb10u6 Debian-Security:10/stable [all])
       Conf exim4-base (4.92-8+deb10u6 Debian-Security:10/stable [amd64])
       Conf exim4-daemon-light (4.92-8+deb10u6 Debian-Security:10/stable
[amd64])
       Conf libcurl3-gnutls (7.64.0-4+deb10u2 Debian-Security:10/stable
[amd64])
       Conf libisc-export1100 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libdns-export1104 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libpq5 (11.12-0+deb10u1 Debian-Security:10/stable [amd64])
       Conf postgresql-client-11 (11.12-0+deb10u1 Debian-Security:10/stable
[amd64])
       Conf postgresql-11 (11.12-0+deb10u1 Debian-Security:10/stable
[amd64])
     stderr: ''
     stderr_lines:
     stdout: |-
       Reading package lists...
       Building dependency tree...
       Reading state information...
       Calculating upgrade...
       The following packages were automatically installed and are no
longer required:
         libc-ares2 libnode64 libuv1 python3-distutils python3-lib2to3
       Use 'sudo apt autoremove' to remove them.
       The following packages will be upgraded:
         bind9-host curl exim4-base exim4-config exim4-daemon-light
libbind9-161
         libcurl3-gnutls libcurl4 libdns-export1104 libdns1104 libisc-
export1100
         libisc1100 libisccc161 libisccfg163 liblwres161 libpq5 matrix-
synapse-py3
         postgresql-11 postgresql-client-11
       19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
       Inst matrix-synapse-py3 [1.30.1+buster1] (1.33.2+buster1
packages.matrix.org [amd64])
       Inst bind9-host [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libbind9-161 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libisccfg163 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libisccc161 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libdns1104 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libisc1100 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst liblwres161 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst curl [7.64.0-4+deb10u1] (7.64.0-4+deb10u2 Debian-
Security:10/stable [amd64])
       Inst libcurl4 [7.64.0-4+deb10u1] (7.64.0-4+deb10u2 Debian-
Security:10/stable [amd64])
       Inst exim4-config [4.92-8+deb10u5] (4.92-8+deb10u6 Debian-
Security:10/stable [all])
       Inst exim4-base [4.92-8+deb10u5] (4.92-8+deb10u6 Debian-
Security:10/stable [amd64])
       Inst exim4-daemon-light [4.92-8+deb10u5] (4.92-8+deb10u6 Debian-
Security:10/stable [amd64])
       Inst libcurl3-gnutls [7.64.0-4+deb10u1] (7.64.0-4+deb10u2 Debian-
Security:10/stable [amd64])
       Inst libisc-export1100 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libdns-export1104 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
       Inst libpq5 [11.11-0+deb10u1] (11.12-0+deb10u1 Debian-
Security:10/stable [amd64])
       Inst postgresql-client-11 [11.11-0+deb10u1] (11.12-0+deb10u1 Debian-
Security:10/stable [amd64])
       Inst postgresql-11 [11.11-0+deb10u1] (11.12-0+deb10u1 Debian-
Security:10/stable [amd64])
       Conf matrix-synapse-py3 (1.33.2+buster1 packages.matrix.org [amd64])
       Conf bind9-host (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libbind9-161 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libisccfg163 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libisccc161 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libdns1104 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libisc1100 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf liblwres161 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf curl (7.64.0-4+deb10u2 Debian-Security:10/stable [amd64])
       Conf libcurl4 (7.64.0-4+deb10u2 Debian-Security:10/stable [amd64])
       Conf exim4-config (4.92-8+deb10u6 Debian-Security:10/stable [all])
       Conf exim4-base (4.92-8+deb10u6 Debian-Security:10/stable [amd64])
       Conf exim4-daemon-light (4.92-8+deb10u6 Debian-Security:10/stable
[amd64])
       Conf libcurl3-gnutls (7.64.0-4+deb10u2 Debian-Security:10/stable
[amd64])
       Conf libisc-export1100 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libdns-export1104 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
       Conf libpq5 (11.12-0+deb10u1 Debian-Security:10/stable [amd64])
       Conf postgresql-client-11 (11.12-0+deb10u1 Debian-Security:10/stable
[amd64])
       Conf postgresql-11 (11.12-0+deb10u1 Debian-Security:10/stable
[amd64])
     stdout_lines:
     - Reading package lists...
     - Building dependency tree...
     - Reading state information...
     - Calculating upgrade...
     - 'The following packages were automatically installed and are no
longer required:'
     - ' libc-ares2 libnode64 libuv1 python3-distutils python3-lib2to3'
     - Use 'sudo apt autoremove' to remove them.
     - 'The following packages will be upgraded:'
     - ' bind9-host curl exim4-base exim4-config exim4-daemon-light
libbind9-161'
     - ' libcurl3-gnutls libcurl4 libdns-export1104 libdns1104 libisc-
export1100'
     - ' libisc1100 libisccc161 libisccfg163 liblwres161 libpq5 matrix-
synapse-py3'
     - ' postgresql-11 postgresql-client-11'
     - 19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
     - Inst matrix-synapse-py3 [1.30.1+buster1] (1.33.2+buster1
packages.matrix.org [amd64])
     - Inst bind9-host [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
     - Inst libbind9-161 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
     - Inst libisccfg163 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
     - Inst libisccc161 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
     - Inst libdns1104 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
     - Inst libisc1100 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
     - Inst liblwres161 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
     - Inst curl [7.64.0-4+deb10u1] (7.64.0-4+deb10u2 Debian-
Security:10/stable [amd64])
     - Inst libcurl4 [7.64.0-4+deb10u1] (7.64.0-4+deb10u2 Debian-
Security:10/stable [amd64])
     - Inst exim4-config [4.92-8+deb10u5] (4.92-8+deb10u6 Debian-
Security:10/stable [all])
     - Inst exim4-base [4.92-8+deb10u5] (4.92-8+deb10u6 Debian-
Security:10/stable [amd64])
     - Inst exim4-daemon-light [4.92-8+deb10u5] (4.92-8+deb10u6 Debian-
Security:10/stable [amd64])
     - Inst libcurl3-gnutls [7.64.0-4+deb10u1] (7.64.0-4+deb10u2 Debian-
Security:10/stable [amd64])
     - Inst libisc-export1100 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
     - Inst libdns-export1104 [1:9.11.5.P4+dfsg-5.1+deb10u3]
(1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-Security:10/stable [amd64])
     - Inst libpq5 [11.11-0+deb10u1] (11.12-0+deb10u1 Debian-
Security:10/stable [amd64])
     - Inst postgresql-client-11 [11.11-0+deb10u1] (11.12-0+deb10u1 Debian-
Security:10/stable [amd64])
     - Inst postgresql-11 [11.11-0+deb10u1] (11.12-0+deb10u1 Debian-
Security:10/stable [amd64])
     - Conf matrix-synapse-py3 (1.33.2+buster1 packages.matrix.org [amd64])
     - Conf bind9-host (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
     - Conf libbind9-161 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
     - Conf libisccfg163 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
     - Conf libisccc161 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
     - Conf libdns1104 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
     - Conf libisc1100 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
     - Conf liblwres161 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
     - Conf curl (7.64.0-4+deb10u2 Debian-Security:10/stable [amd64])
     - Conf libcurl4 (7.64.0-4+deb10u2 Debian-Security:10/stable [amd64])
     - Conf exim4-config (4.92-8+deb10u6 Debian-Security:10/stable [all])
     - Conf exim4-base (4.92-8+deb10u6 Debian-Security:10/stable [amd64])
     - Conf exim4-daemon-light (4.92-8+deb10u6 Debian-Security:10/stable
[amd64])
     - Conf libcurl3-gnutls (7.64.0-4+deb10u2 Debian-Security:10/stable
[amd64])
     - Conf libisc-export1100 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
     - Conf libdns-export1104 (1:9.11.5.P4+dfsg-5.1+deb10u5 Debian-
Security:10/stable [amd64])
     - Conf libpq5 (11.12-0+deb10u1 Debian-Security:10/stable [amd64])
     - Conf postgresql-client-11 (11.12-0+deb10u1 Debian-Security:10/stable
[amd64])
     - Conf postgresql-11 (11.12-0+deb10u1 Debian-Security:10/stable
[amd64])
}}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2603#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2603: Patch update on lxd containers
---------------------------+------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2603#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.