Hello community,
here is the log from the commit of package google-compute-engine for
openSUSE:Factory checked in at 2018-06-20 15:30:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
and /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-compute-engine"
Wed Jun 20 15:30:34 2018 rev:9 rq:617562 version:20180510
Changes:
--------
---
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes
2018-05-16 11:44:04.274888116 +0200
+++
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
2018-06-20 15:31:46.449168030 +0200
@@ -1,0 +2,29 @@
+Mon Jun 18 17:32:17 UTC 2018 - [email protected]
+
+- Ensure that google-ip-forwarding-daemon service and
+ google-network-setup are stopped and disabled
+ during upgrade
+- Ensure that google-network-daemon service is enabled
+ and started during upgrade
+
+-------------------------------------------------------------------
+Thu Jun 14 10:31:14 UTC 2018 - [email protected]
+
+- Add patch to set run_dir to /var/run (bsc#1097378, #1097616)
+ + gcei-set-run_dir.patch
+- Drop deleted patch from spec file
+ + gcei-lnx-distro-py3.patch
+
+-------------------------------------------------------------------
+Tue May 29 19:21:31 UTC 2018 - [email protected]
+
+- Remove gcei-lnx-distro-py3.patch
+ + Upstream intention is to depend on distro module from GitHub
+- Add dependency on python3-distro for SLE/Leap 15 and later
+
+-------------------------------------------------------------------
+Mon May 21 16:24:22 UTC 2018 - [email protected]
+
+- Add patch gcei-lnx-distro-py3.patch (bsc#1094074)
+
+-------------------------------------------------------------------
New:
----
gcei-set-run_dir.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ google-compute-engine.spec ++++++
--- /var/tmp/diff_new_pack.AhlG1q/_old 2018-06-20 15:31:49.081072539 +0200
+++ /var/tmp/diff_new_pack.AhlG1q/_new 2018-06-20 15:31:49.081072539 +0200
@@ -36,6 +36,7 @@
Source8: baselibs.conf
Patch1: gcei-hide-py-deps.patch
Patch2: gcei-scripts-after-reg.patch
+Patch3: gcei-set-run_dir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -46,6 +47,7 @@
Group: System/Daemons
Requires: google-compute-engine-oslogin == %{version}
%if 0%{?suse_version} && 0%{?suse_version} > 1315
+Requires: python3-distro
Requires: python3-setuptools
%else
Requires: python-setuptools
@@ -60,6 +62,7 @@
Requires: sysvinit
%endif
%if 0%{?suse_version} && 0%{?suse_version} > 1315
+BuildRequires: python3-distro
BuildRequires: python3-setuptools
%else
BuildRequires: python-setuptools
@@ -101,6 +104,7 @@
%setup -q -n compute-image-packages-%{version}
%patch1
%patch2
+%patch3
find -name "*.py" | xargs sed -i 'sm#!/usr/bin/pythonmm'
%build
@@ -165,7 +169,27 @@
%post init
%if 0%{?suse_version} > 1140
%service_add_post google-accounts-daemon.service
google-clock-skew-daemon.service google-instance-setup.service
google-network-daemon.service google-shutdown-scripts.service
google-startup-scripts.service
-%else
+ if [ -f /usr/lib/systemd/system/google-ip-forwarding-daemon.service ];
then
+ systemctl stop --no-block google-ip-forwarding-daemon
+ systemctl disable google-ip-forwarding-daemon.service
+ fi
+ if [ -f /usr/lib/systemd/system/google-network-setup.service ]; then
+ systemctl stop --no-block google-network-setup
+ systemctl disable google-network-setup.service
+ fi
+ if [ "$1" == "2" ] && ! [ -e /.buildenv ]; then
+ # "$1" == "2" means the package is being upgraded
+ # ./buildenv is only present during package builds
+ systemctl enable google-network-daemon.service
+ systemctl start google-network-daemon.service
+ fi
+%else
+ if [ "$1" == "2" ] && ! [ -e /.buildenv ]; then
+ # "$1" == "2" means the package is being upgraded
+ # ./buildenv is only present during package builds
+ service google-network-daemon start
+ fi
+
%fillup_and_insserv -fy google-accounts-daemon
%fillup_and_insserv -fy google-clock-skew-daemon
%fillup_and_insserv -fy google-instance-setup
++++++ gcei-set-run_dir.patch ++++++
--- google_compute_engine/instance_setup/instance_config.py.orig
2018-05-11 00:57:22.000000000 +0200
+++ google_compute_engine/instance_setup/instance_config.py 2018-06-14
11:26:03.631232864 +0200
@@ -86,7 +86,7 @@
'target_instance_ips': 'true',
},
'MetadataScripts': {
- 'run_dir': '',
+ 'run_dir': '/var/run',
'startup': 'true',
'shutdown': 'true',
},