Hello community,
here is the log from the commit of package google-compute-engine for
openSUSE:Factory checked in at 2018-05-16 11:42: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 May 16 11:42:34 2018 rev:8 rq:607658 version:20180510
Changes:
--------
---
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes
2018-04-17 11:17:54.969290078 +0200
+++
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
2018-05-16 11:44:04.274888116 +0200
@@ -1,0 +2,29 @@
+Fri May 11 18:33:09 UTC 2018 - [email protected]
+
+- Update to version 20180510 (bsc#1092214)
+ + Prevent delay in configuring IP forwarding routes.
+ + Improve instance setup support for FreeBSD.
+- Include new google-network-daemon
+ + Add google-network-daemon.service activation in
+ %pre and %post sections
+ + Add google-network-daemon.suse init script for SysV
+- Stop shipping deprecated google-ip-forwarding-daemon service
+ + Remove google-ip-forwarding-daemon.service activation in
+ %pre and %post sections
+ + Drop google-ip-forwarding-daemon.suse from source distribution
+- Add missing association with "init" package for %pre, %post,
+ %preun and %postun sections
+- Install google_oslogin_nss_cache binary into oslogin package
+
+-------------------------------------------------------------------
+Tue May 8 10:32:06 UTC 2018 - [email protected]
+
+- Update to version 20180504 (bsc#1092214)
+ + Create a new network daemon.
+ + Refactor the IP forwarding daemon and network setup.
+ + Improvements for using NSS cache in the accounts daemon.
+ + Include libnss cache as part of the OS Login package.
+- Refresh patches for new version:
+ + gcei-scripts-after-reg.patch
+
+-------------------------------------------------------------------
Old:
----
compute-image-packages-20180227.tar.gz
google-ip-forwarding-daemon.suse
New:
----
compute-image-packages-20180510.tar.gz
google-network-daemon.suse
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ google-compute-engine.spec ++++++
--- /var/tmp/diff_new_pack.Bb5b97/_old 2018-05-16 11:44:05.078858851 +0200
+++ /var/tmp/diff_new_pack.Bb5b97/_new 2018-05-16 11:44:05.078858851 +0200
@@ -16,10 +16,10 @@
#
-%define setup_version 2.7.6
+%define setup_version 2.8.2
Name: google-compute-engine
-Version: 20180227
+Version: 20180510
Release: 0
Summary: GCE Instance Initialization
License: Apache-2.0
@@ -29,7 +29,7 @@
Source1: google-accounts-daemon.suse
Source2: google-clock-skew-daemon.suse
Source3: google-instance-setup.suse
-Source4: google-ip-forwarding-daemon.suse
+Source4: google-network-daemon.suse
Source5: google-shutdown-scripts.suse
Source6: google-startup-scripts.suse
Source7: google-compute-engine-rpmlintrc
@@ -130,7 +130,7 @@
cp %{SOURCE1} %{buildroot}%{_initddir}/google-accounts-daemon
cp %{SOURCE2} %{buildroot}%{_initddir}/google-clock-skew-daemon
cp %{SOURCE3} %{buildroot}%{_initddir}/google-instance-setup
-cp %{SOURCE4} %{buildroot}%{_initddir}/google-ip-forwarding-daemon
+cp %{SOURCE4} %{buildroot}%{_initddir}/google-network-daemon
cp %{SOURCE5} %{buildroot}%{_initddir}/google-shutdown-scripts
cp %{SOURCE6} %{buildroot}%{_initddir}/google-startup-scripts
for srv_name in %{buildroot}%{_initddir}/*; do rc_name=$(basename $srv_name);
ln -s %{_initddir}/$rc_name %{buildroot}%{_sbindir}/rc$rc_name; done
@@ -157,18 +157,19 @@
mkdir -p %{buildroot}/%{_sysconfdir}/modprobe.d
cp google_config/modprobe/gce-blacklist.conf
%{buildroot}/%{_sysconfdir}/modprobe.d/
-%pre
+%pre init
%if 0%{?suse_version} > 1140
- %service_add_pre google-accounts-daemon.service
google-clock-skew-daemon.service google-instance-setup.service
google-ip-forwarding-daemon.service google-shutdown-scripts.service
google-startup-scripts.service
+ %service_add_pre 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
%endif
-%post
+%post init
%if 0%{?suse_version} > 1140
- %service_add_post google-accounts-daemon.service
google-clock-skew-daemon.service google-instance-setup.service
google-ip-forwarding-daemon.service google-shutdown-scripts.service
google-startup-scripts.service
+ %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
%fillup_and_insserv -fy google-accounts-daemon
%fillup_and_insserv -fy google-clock-skew-daemon
%fillup_and_insserv -fy google-instance-setup
+ %fillup_and_insserv -fy google-network-daemon
%fillup_and_insserv -fy google-shutdown-scripts
%fillup_and_insserv -fy google-startup-scripts
%endif
@@ -176,19 +177,19 @@
%post oslogin
/sbin/ldconfig
-%preun
+%preun init
%if 0%{?suse_version} > 1140
- %service_del_preun google-accounts-daemon.service
google-clock-skew-daemon.service google-instance-setup.service
google-ip-forwarding-daemon.service google-shutdown-scripts.service
google-startup-scripts.service
+ %service_del_preun google-accounts-daemon.service
google-clock-skew-daemon.service google-instance-setup.service
google-ip-forwarding-daemon.service google-network-daemon.service
google-shutdown-scripts.service google-startup-scripts.service
%else
%stop_on_removal google-accounts-daemon
%stop_on_removal google-clock-skew-daemon
%stop_on_removal google-ip-forwarding-daemon
%endif
-%postun
+%postun init
%restart_on_update
%if 0%{?suse_version} > 1140
- %service_del_postun google-accounts-daemon.service
google-clock-skew-daemon.service google-instance-setup.service
google-ip-forwarding-daemon.service google-shutdown-scripts.service
google-startup-scripts.service
+ %service_del_postun google-accounts-daemon.service
google-clock-skew-daemon.service google-instance-setup.service
google-ip-forwarding-daemon.service google-network-daemon.service
google-shutdown-scripts.service google-startup-scripts.service
%else
%insserv_cleanup
%endif
@@ -208,6 +209,7 @@
%endif
%exclude %{_bindir}/google_oslogin_control
%exclude %{_bindir}/google_authorized_keys
+%exclude %{_bindir}/google_oslogin_nss_cache
%attr(0755,root,root) %{_bindir}/*
%if 0%{?suse_version} && 0%{?suse_version} > 1315
%{_sbindir}/*
@@ -249,6 +251,7 @@
%defattr(0644,root,root,0755)
%attr(0755,root,root) %{_bindir}/google_oslogin_control
%attr(0755,root,root) %{_bindir}/google_authorized_keys
+%attr(0755,root,root) %{_bindir}/google_oslogin_nss_cache
/%{_lib}/*
%if 0%{?suse_version} > 1140
%exclude /%{_lib}/udev*
++++++ compute-image-packages-20180227.tar.gz ->
compute-image-packages-20180510.tar.gz ++++++
++++ 4979 lines of diff (skipped)
++++++ gcei-scripts-after-reg.patch ++++++
--- /var/tmp/diff_new_pack.Bb5b97/_old 2018-05-16 11:44:05.250852590 +0200
+++ /var/tmp/diff_new_pack.Bb5b97/_new 2018-05-16 11:44:05.250852590 +0200
@@ -1,9 +1,9 @@
---- google_compute_engine_init/systemd/google-startup-scripts.service.orig
-+++ google_compute_engine_init/systemd/google-startup-scripts.service
+--- google_compute_engine_init/systemd/google-startup-scripts.service.orig
2018-05-05 00:52:49.000000000 +0200
++++ google_compute_engine_init/systemd/google-startup-scripts.service
2018-05-08 12:28:04.360644741 +0200
@@ -2,6 +2,7 @@
Description=Google Compute Engine Startup Scripts
After=local-fs.target network-online.target network.target rsyslog.service
- After=google-instance-setup.service google-network-setup.service
+ After=google-instance-setup.service google-network-daemon.service
+After=guestregister.service
Wants=local-fs.target network-online.target network.target
++++++ google-network-daemon.suse ++++++
#!/bin/sh
# Copyright 2018 Google Inc. All Rights Reserved.
# Copyright 2018 SUSE LLC All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
### BEGIN INIT INFO
# Provides: google_network_daemon
# Required-Start: $network $syslog $google_instance_setup $remote_fs
# Required-Stop: $network
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Google Compute Engine Network Daemon
# Description: Manages Network.
### END INIT INFO
# Do NOT "set -e".
NAME=google-network-daemon
DAEMON=/usr/bin/google_network_daemon
# Exit if the package is not installed.
[ -x "$DAEMON" ] || exit 0
# Shell functions sourced from /etc/rc.status:
# rc_check check and set local and overall rc status
# rc_status check and set local and overall rc status
# rc_status -v ditto but be verbose in local rc status
# rc_status -v -r ditto and clear the local rc status
# rc_failed set local and overall rc status to failed
# rc_reset clear local rc status (overall remains)
# rc_exit exit appropriate to overall rc status
. /etc/rc.status
# First reset status of this service
rc_reset
# Return values acc. to LSB for all commands but status:
# 0 - success
# 1 - misc error
# 2 - invalid or excess args
# 3 - unimplemented feature (e.g. reload)
# 4 - insufficient privilege
# 5 - program not installed
# 6 - program not configured
#
# Note that starting an already running service, stopping
# or restarting a not-running service as well as the restart
# with force-reload (in case signalling is not supported) are
# considered a success.
case "$1" in
start)
echo -n "Starting $NAME daemon "
## Start daemon with startproc(8). If this fails
## the echo return value is set appropriate.
# startproc should return 0, even if service is
# already running to match LSB spec.
startproc $DAEMON
# Remember status and be verbose
rc_status -v
;;
stop)
echo -n "Shutting down $NAME daemon "
killproc -TERM $DAEMON
# Remember status and be verbose
rc_status -v
;;
status)
echo -n "Checking for $NAME daemon "
## Check status with checkproc(8), if process is running
## checkproc will return with exit status 0.
# Status has a slightly different for the status command:
# 0 - service running
# 1 - service dead, but /var/run/ pid file exists
# 2 - service dead, but /var/lock/ lock file exists
# 3 - service not running
# NOTE: checkproc returns LSB compliant status values.
checkproc $DAEMON
rc_status -v
;;
restart|force-reload)
$0 stop
$0 start
;;
*)
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
exit 1
;;
esac