commit cloud-init for openSUSE:Leap:15.2:Update
Hello community, here is the log from the commit of package cloud-init for openSUSE:Leap:15.2:Update checked in at 2020-11-06 00:25:20 Comparing /work/SRC/openSUSE:Leap:15.2:Update/cloud-init (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.cloud-init.new.11331 (New) Package is "cloud-init" Fri Nov 6 00:25:20 2020 rev:3 rq:845547 version:unknown Changes: New Changes file: NO CHANGES FILE!!! Other differences: -- ++ _link ++ --- /var/tmp/diff_new_pack.vFx2e6/_old 2020-11-06 00:25:20.641160321 +0100 +++ /var/tmp/diff_new_pack.vFx2e6/_new 2020-11-06 00:25:20.645160315 +0100 @@ -1 +1 @@ - +
commit cloud-init for openSUSE:Leap:15.2:Update
Hello community, here is the log from the commit of package cloud-init for openSUSE:Leap:15.2:Update checked in at 2020-10-10 16:23:01 Comparing /work/SRC/openSUSE:Leap:15.2:Update/cloud-init (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.cloud-init.new.4249 (New) Package is "cloud-init" Sat Oct 10 16:23:01 2020 rev:2 rq:839671 version:unknown Changes: New Changes file: NO CHANGES FILE!!! Other differences: -- ++ _link ++ --- /var/tmp/diff_new_pack.g2TYyG/_old 2020-10-10 16:23:02.863703866 +0200 +++ /var/tmp/diff_new_pack.g2TYyG/_new 2020-10-10 16:23:02.863703866 +0200 @@ -1 +1 @@ - +
commit cloud-init for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package cloud-init for openSUSE:Leap:15.2 checked in at 2020-05-23 16:07:18 Comparing /work/SRC/openSUSE:Leap:15.2/cloud-init (Old) and /work/SRC/openSUSE:Leap:15.2/.cloud-init.new.2738 (New) Package is "cloud-init" Sat May 23 16:07:18 2020 rev:41 rq:808207 version:19.4 Changes: --- /work/SRC/openSUSE:Leap:15.2/cloud-init/cloud-init.changes 2020-04-25 19:04:42.527547263 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.cloud-init.new.2738/cloud-init.changes 2020-05-23 16:07:24.777052144 +0200 @@ -1,0 +2,7 @@ +Tue May 19 15:47:10 UTC 2020 - Martin Loviska + +- bsc#1170154: rsyslog warning, '~' is deprecated + + replace depricated syntax '& ~' by '& stop' +for more information please see https://www.rsyslog.com/rsyslog-error-2307/ + +--- Other differences: -- ++ rsyslog-cloud-init.cfg ++ --- /var/tmp/diff_new_pack.I3hkZD/_old 2020-05-23 16:07:25.261053182 +0200 +++ /var/tmp/diff_new_pack.I3hkZD/_new 2020-05-23 16:07:25.265053190 +0200 @@ -3,4 +3,4 @@ # comment out the following line to allow CLOUDINIT messages through. # Doing so means you'll also get CLOUDINIT messages in /var/log/syslog -& ~ +& stop
commit cloud-init for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package cloud-init for openSUSE:Leap:15.2 checked in at 2020-04-25 19:04:41 Comparing /work/SRC/openSUSE:Leap:15.2/cloud-init (Old) and /work/SRC/openSUSE:Leap:15.2/.cloud-init.new.2738 (New) Package is "cloud-init" Sat Apr 25 19:04:41 2020 rev:40 rq:796785 version:19.4 Changes: --- /work/SRC/openSUSE:Leap:15.2/cloud-init/cloud-init.changes 2020-03-24 19:05:29.237484425 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.cloud-init.new.2738/cloud-init.changes 2020-04-25 19:04:42.527547263 +0200 @@ -1,0 +2,26 @@ +Fri Mar 27 12:21:00 UTC 2020 - Robert Schweikert + +- Update cloud-init-write-routes.patch + + In cases where the config contains 2 or more default gateway +specifications for an interface only write the first default route, +log warning message about skipped routes + + Avoid writing invalid route specification if neither the network +nor destination is specified in the route configuration + +--- +Thu Mar 26 17:20:12 UTC 2020 - Robert Schweikert + +- Update cloud-init-write-routes.patch + + Still need to consider the "network" configuration uption +for the v1 config implementation. Fixes regression +introduced with update from Wed Feb 12 19:30:42 + +--- +Wed Mar 25 18:31:32 UTC 2020 - Robert Schweikert + +- Update cloud-init-write-routes.patch (bsc#1165296) + + Add the default gateway to the ifroute config file when specified +as part of the subnet configuration + + Fix typo to properly extrakt provided netmask data (bsc#1163178) + +--- @@ -21,0 +48,6 @@ +Fri Jan 24 14:49:35 UTC 2020 - Dominique Leuenberger + +- BuildRequire pkgconfig(udev) instead of udev: allow OBS to + shortcut through the -mini flavor. + +--- @@ -253 +285 @@ -- Update to cloud-init 19.2 (bsc#1099358) +- Update to cloud-init 19.2 (bsc#1099358, bsc#1145622) @@ -332 +364 @@ -- Update cloud-init-write-routes.patch (bsc#1144881) +- Update cloud-init-write-routes.patch (boo#1144881, bsc#1148645) Other differences: -- ++ cloud-init.spec ++ --- /var/tmp/diff_new_pack.O4I2x5/_old 2020-04-25 19:04:42.999548278 +0200 +++ /var/tmp/diff_new_pack.O4I2x5/_new 2020-04-25 19:04:42.999548278 +0200 @@ -53,7 +53,7 @@ # pkg-config is needed to find correct systemd unit dir BuildRequires: pkg-config # needed for /lib/udev -BuildRequires: udev +BuildRequires: pkgconfig(udev) %if 0%{?suse_version} > 1320 BuildRequires: python3-devel BuildRequires: python3-setuptools ++ cloud-init-write-routes.patch ++ --- /var/tmp/diff_new_pack.O4I2x5/_old 2020-04-25 19:04:43.047548382 +0200 +++ /var/tmp/diff_new_pack.O4I2x5/_new 2020-04-25 19:04:43.051548390 +0200 @@ -8,7 +8,7 @@ from cloudinit import helpers from cloudinit import log as logging -@@ -172,7 +173,53 @@ class Distro(distros.Distro): +@@ -172,7 +173,69 @@ class Distro(distros.Distro): util.write_file(out_fn, str(conf), 0o644) def _write_network_config(self, netconfig): @@ -31,32 +31,48 @@ +if_name = config.get('name') +subnets = config.get('subnets', []) +config_routes = '' ++has_default_route = False +for subnet in subnets: ++# Render the default gateway if it is present ++gateway = subnet.get('gateway') ++if gateway: ++config_routes += ' '.join( ++['default', gateway, '-', '-\n'] ++) ++has_default_route = True ++# Render subnet routes +routes = subnet.get('routes', []) +for route in routes: -+dest = route.get('destination') -+if dest in default_nets: ++dest = route.get('destination') or route.get('network') ++if not dest or dest in default_nets: +dest = 'default' +if dest != 'default': -+netmask = route.get('genmask') ++netmask = route.get('netmask') +if netmask: +prefix = mask_to_net_prefix(netmask) +dest += '/' + str(prefix) +if '/' not in dest: +LOG.warning( -+'Route destination has no prefix "%s"', dest ++'Skipping route; has no prefix "%s"',
commit cloud-init for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package cloud-init for openSUSE:Leap:15.2 checked in at 2020-03-24 19:05:27 Comparing /work/SRC/openSUSE:Leap:15.2/cloud-init (Old) and /work/SRC/openSUSE:Leap:15.2/.cloud-init.new.3160 (New) Package is "cloud-init" Tue Mar 24 19:05:27 2020 rev:39 rq:787682 version:19.4 Changes: --- /work/SRC/openSUSE:Leap:15.2/cloud-init/cloud-init.changes 2020-02-04 17:59:23.544929413 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.cloud-init.new.3160/cloud-init.changes 2020-03-24 19:05:29.237484425 +0100 @@ -1,0 +2,20 @@ +Thu Feb 13 14:07:50 UTC 2020 - Robert Schweikert + +- Add cloud-init-long-pass.patch (bsc#1162936, CVE-2020-8632) + + Increase the default length of generated passwords + +--- +Wed Feb 12 22:37:57 UTC 2020 - Robert Schweikert + +- Add cloud-init-use-different-random-src.diff (bsc#1162937, CVE-2020-8631) + + Use non-deterministic generator for password generation. + +--- +Wed Feb 12 19:30:42 UTC 2020 - Robert Schweikert + +- Update cloud-init-write-routes.patch (bsc#1163178) + + Entries in the routes definition have changed causing a traceback +during rout config file writing. This patch update addresses the +issue by extracting the new entries properly. + +--- New: cloud-init-long-pass.patch cloud-init-use-different-random-src.diff Other differences: -- ++ cloud-init.spec ++ --- /var/tmp/diff_new_pack.KRTBfo/_old 2020-03-24 19:05:30.549493473 +0100 +++ /var/tmp/diff_new_pack.KRTBfo/_new 2020-03-24 19:05:30.557493527 +0100 @@ -45,6 +45,8 @@ Patch56:cloud-init-sysconf-path.patch # FIXME (lp#1860164) Patch57:cloud-init-no-tempnet-oci.patch +Patch58:cloud-init-use-different-random-src.diff +Patch59:cloud-init-long-pass.patch BuildRequires: fdupes BuildRequires: filesystem @@ -190,6 +192,8 @@ %patch55 -p0 %patch56 %patch57 +%patch58 -p1 +%patch59 %build %if 0%{?suse_version} && 0%{?suse_version} <= 1315 ++ cloud-init-long-pass.patch ++ --- cloudinit/config/cc_set_passwords.py.orig +++ cloudinit/config/cc_set_passwords.py @@ -236,7 +236,7 @@ def handle(_name, cfg, cloud, log, args) raise errors[-1] -def rand_user_password(pwlen=9): +def rand_user_password(pwlen=20): return util.rand_str(pwlen, select_from=PW_SET) ++ cloud-init-use-different-random-src.diff ++ diff --git a/cloudinit/util.py b/cloudinit/util.py index d99e82fa5..c02b3d9a5 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -397,9 +397,10 @@ def translate_bool(val, addons=None): def rand_str(strlen=32, select_from=None): +r = random.SystemRandom() if not select_from: select_from = string.ascii_letters + string.digits -return "".join([random.choice(select_from) for _x in range(0, strlen)]) +return "".join([r.choice(select_from) for _x in range(0, strlen)]) def rand_dict_key(dictionary, postfix=None): ++ cloud-init-write-routes.patch ++ --- /var/tmp/diff_new_pack.KRTBfo/_old 2020-03-24 19:05:30.601493831 +0100 +++ /var/tmp/diff_new_pack.KRTBfo/_new 2020-03-24 19:05:30.601493831 +0100 @@ -8,7 +8,7 @@ from cloudinit import helpers from cloudinit import log as logging -@@ -172,7 +173,47 @@ class Distro(distros.Distro): +@@ -172,7 +173,53 @@ class Distro(distros.Distro): util.write_file(out_fn, str(conf), 0o644) def _write_network_config(self, netconfig): @@ -34,12 +34,18 @@ +for subnet in subnets: +routes = subnet.get('routes', []) +for route in routes: -+dest = route.get('network') ++dest = route.get('destination') +if dest in default_nets: +dest = 'default' +if dest != 'default': -+prefix = mask_to_net_prefix(route.get('netmask')) -+dest += '/' + str(prefix) ++netmask = route.get('genmask') ++if netmask: ++prefix = mask_to_net_prefix(netmask) ++dest += '/' + str(prefix) ++if '/' not in dest: ++LOG.warning( ++'Route destination has no prefix "%s"', dest ++) +gateway = route.get('gateway') +config_routes += ' '.join( +[dest, gateway, '-', '-\n']
commit cloud-init for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package cloud-init for openSUSE:Leap:15.2 checked in at 2020-02-04 17:59:17 Comparing /work/SRC/openSUSE:Leap:15.2/cloud-init (Old) and /work/SRC/openSUSE:Leap:15.2/.cloud-init.new.26092 (New) Package is "cloud-init" Tue Feb 4 17:59:17 2020 rev:38 rq:769213 version:19.4 Changes: --- /work/SRC/openSUSE:Leap:15.2/cloud-init/cloud-init.changes 2020-01-15 14:50:28.217417132 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.cloud-init.new.26092/cloud-init.changes 2020-02-04 17:59:23.544929413 +0100 @@ -1,0 +2,271 @@ +Fri Jan 17 18:55:41 UTC 2020 - Robert Schweikert + +- Add cloud-init-no-tempnet-oci.patch (bsc#1161132, bsc#1161133) + + Do not attempt to configure an ephemeral network on OCI. We +boot off iSCSI and the network is up. Just read the data. + +--- +Tue Jan 14 15:14:52 UTC 2020 - Tomáš Chvátal + +- Add patch to build properly with python 3.8: + * 0001-Make-tests-work-with-Python-3.8-139.patch + +--- +Thu Jan 9 18:56:26 UTC 2020 - Robert Schweikert + +- Update to version 19.4 + + Remove patches included upstream: +- cloud-init-after-wicked.patch +- cloud-init-noresolv-merge-no-dns-data.diff +- cloud-init-renderer-detect.patch +- cloud-init-trigger-udev.patch + + Removed patches merged with cloud-init-mix-static-dhcp.patch +- cloud-init-proper-ipv6-setting.patch +- cloud-init-static-net.patch + + Added cloud-init-mix-static-dhcp.patch (bsc#1157894) + + Forward port cloud-init-sysconf-path.patch + + doc: specify _ over - in cloud config modules + + [Joshua Powers] (LP: #1293254) + + tools: Detect python to use via env in migrate-lp-user-to-github + + [Adam Dobrawy] + + Partially revert "fix unlocking method on FreeBSD" (#116) + + tests: mock uid when running as root (#113) + + [Joshua Powers] (LP: #1856096) + + cloudinit/netinfo: remove unused getgateway (#111) + + docs: clear up apt config sections (#107) [Joshua Powers] (LP: #1832823) + + doc: add kernel command line option to user data (#105) + + [Joshua Powers] (LP: #1846524) + + config/cloud.cfg.d: update README [Joshua Powers] (LP: #1855006) + + azure: avoid re-running cloud-init when instance-id is byte-swapped + + (#84) [AOhassan] + + fix unlocking method on FreeBSD [Igor Galić] (LP: #1854594) + + debian: add reference to the manpages [Joshua Powers] + + ds_identify: if /sys is not available use dmidecode (#42) + + [Igor Galić] (LP: #1852442) + + docs: add cloud-id manpage [Joshua Powers] + + docs: add cloud-init-per manpage [Joshua Powers] + + docs: add cloud-init manpage [Joshua Powers] + + docs: add additional details to per-instance/once [Joshua Powers] + + Update doc-requirements.txt [Joshua Powers] + + doc-requirements: add missing dep [Joshua Powers] + + dhcp: Support RedHat dhcp rfc3442 lease format for option 121 (#76) + + [Eric Lafontaine] (LP: #1850642) + + network_state: handle empty v1 config (#45) (LP: #1852496) + + docs: Add document on how to report bugs [Joshua Powers] + + Add an Amazon distro in the redhat OS family [Frederick Lefebvre] + + removed a couple of "the"s [gaughen] + + docs: fix line length and remove highlighting [Joshua Powers] + + docs: Add security.md to readthedocs [Joshua Powers] + + Multiple file fix for AuthorizedKeysFile config (#60) [Eduardo Otubo] + + Revert "travis: only run CI on pull requests" + + doc: update links on README.md [Joshua Powers] + + doc: Updates to wording of README.md [Joshua Powers] + + Add security.md [Joshua Powers] + + setup.py: Amazon Linux sets libexec to /usr/libexec (#52) + + [Frederick Lefebvre] + + Fix linting failure in test_url_helper (#83) [Eric Lafontaine] + + url_helper: read_file_or_url should pass headers param into readurl + + (#66) (LP: #1854084) + + dmidecode: log result *after* stripping n [Igor Galić] + + cloud_tests: add azure platform support to integration tests + + [ahosmanmsft] + + set_passwords: support for FreeBSD (#46) [Igor Galić] + + tools: migrate-lp-user-to-github removes repo_dir if created (#35) + + Correct jumbled documentation for cc_set_hostname module (#64) + + [do3meli] (LP: #1853543) + + FreeBSD: fix for get_linux_distro() and lru_cache (#59) + + [Igor Galić] (LP: #1815030) + + ec2: Add support for AWS IMDS v2 (session-oriented) (#55) + + tests: Fix cloudsigma tests when no dmidecode data is present. (#57) + + [Scott Moser] + + net: IPv6, accept_ra, slaac, stateless (#51) + + [Harald] (LP: #1806014, #1808647) + + docs: Update the configdrive datasource links (#44) + + [Joshua Powers] (LP: #1852461) + + distro: correctly set usr_lib_exec path for FreeBSD distro (#40) + + [Igor Galić] (LP: #1852491) + + azure: