commit google-compute-engine for openSUSE:Factory
Hello community, here is the log from the commit of package google-compute-engine for openSUSE:Factory checked in at 2019-05-17 23:43:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old) and /work/SRC/openSUSE:Factory/.google-compute-engine.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "google-compute-engine" Fri May 17 23:43:50 2019 rev:14 rq:703578 version:20190416 Changes: -------- --- /work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes 2019-02-01 11:48:40.868353117 +0100 +++ /work/SRC/openSUSE:Factory/.google-compute-engine.new.5148/google-compute-engine.changes 2019-05-17 23:43:51.817889733 +0200 @@ -1,0 +2,34 @@ +Thu May 16 12:48:40 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> + +- Update to version 20190416 (bsc#1128392, bsc#1134179) + + Google Compute Engine + * FreeBSD fixes: syslog socket location and OS detection. + * Upstart systems: only run startup scripts at boot. + + Google Compute Engine OS Login + * Fix pam_group ordering detection. + * Restart cron from the OS Login control file. + * Add PAM entry to su:account stack. +- from version 20190315 + + Google Compute Engine OS Login + * Fix alternate challenge section for two factor authentication. + * Fix FreeBSD compatibility issues in the control file. +- from version 20190304 + + Google Compute Engine + * Set oom_score_adjust for google_accounts_daemon. + + Google Compute Engine OS Login + * Use pam_group to provide users with default groups. + * Add compat.h to support FreeBSD. + * Exit immediately after a two factor authentication failure. + * Add support for Google phone prompt challenges. +- Adjust paths for new upstream directory layout in %build and %install +- Include systemd service file to run google_optimize_local_ssd command + + google-optimize-local-ssd.service +- Include systemd service file to run google_set_multiqueue command + + google-set-multiqueue.service +- Install journald configuration files into /usr/lib/systemd/journald.conf.d +- Refresh patches for new version + + gcei-hide-py-deps.patch + + gcei-scripts-after-reg.patch + + gcei-set-run_dir.patch + +------------------------------------------------------------------- Old: ---- compute-image-packages-20190124.tar.gz New: ---- compute-image-packages-20190416.tar.gz google-optimize-local-ssd.service google-set-multiqueue.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ google-compute-engine.spec ++++++ --- /var/tmp/diff_new_pack.mwIRVI/_old 2019-05-17 23:43:52.409889408 +0200 +++ /var/tmp/diff_new_pack.mwIRVI/_new 2019-05-17 23:43:52.417889403 +0200 @@ -19,7 +19,7 @@ %define setup_version 2.8.13 Name: google-compute-engine -Version: 20190124 +Version: 20190416 Release: 0 Summary: GCE Instance Initialization License: Apache-2.0 @@ -28,6 +28,8 @@ Source0: compute-image-packages-%{version}.tar.gz Source7: google-compute-engine-rpmlintrc Source8: baselibs.conf +Source9: google-optimize-local-ssd.service +Source10: google-set-multiqueue.service Patch1: gcei-hide-py-deps.patch Patch2: gcei-scripts-after-reg.patch Patch3: gcei-set-run_dir.patch @@ -88,18 +90,22 @@ %prep %setup -q -n compute-image-packages-%{version} -%patch1 -%patch2 -%patch3 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 find -name "*.py" | xargs sed -i 'sm#!/usr/bin/pythonmm' +cp %{SOURCE9} google-optimize-local-ssd.service +cp %{SOURCE10} google-set-multiqueue.service %build +cd packages/python-google-compute-engine %if 0%{?suse_version} && 0%{?suse_version} > 1315 python3 setup.py build %else python setup.py build %endif -pushd google_compute_engine_oslogin +cd .. +pushd google-compute-engine-oslogin %if 0%{?suse_version} && 0%{?suse_version} > 1315 make %{?_smp_mflags} %else @@ -108,32 +114,41 @@ popd %install +cd packages/python-google-compute-engine %if 0%{?suse_version} && 0%{?suse_version} > 1315 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %else python setup.py install --prefix=%{_prefix} --root=%{buildroot} %endif +cd .. +mkdir -p %{buildroot}%{_bindir} +cp google-compute-engine/src/usr/bin/* %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_sbindir} # Init mkdir -p %{buildroot}%{_unitdir} -cp google_compute_engine_init/systemd/*.service %{buildroot}%{_unitdir} +cp ../google-optimize-local-ssd.service %{buildroot}%{_unitdir} +cp ../google-set-multiqueue.service %{buildroot}%{_unitdir} +cp google-compute-engine/src/lib/systemd/system/*.service %{buildroot}%{_unitdir} for srv_name in %{buildroot}%{_unitdir}/*.service; do rc_name=$(basename -s '.service' $srv_name); ln -s service %{buildroot}%{_sbindir}/rc$rc_name; done # Sysconfig mkdir -p %{buildroot}%{_sysconfdir}/sysctl.d -cp google_config/sysctl/11-gce-network-security.conf %{buildroot}%{_sysconfdir}/sysctl.d +cp google-compute-engine/src/etc/sysctl.d/11-gce-network-security.conf %{buildroot}%{_sysconfdir}/sysctl.d # udev mkdir -p %{buildroot}/usr/lib/udev/rules.d -cp google_config/udev/* %{buildroot}/usr/lib/udev/rules.d +cp google-compute-engine/src/lib/udev/rules.d/* %{buildroot}/usr/lib/udev/rules.d +# journald +mkdir -p %{buildroot}/usr/lib/systemd/journald.conf.d +cp google-compute-engine/src/usr/lib/systemd/journald.conf.d/* %{buildroot}/usr/lib/systemd/journald.conf.d # syslog -mkdir %{buildroot}/%{_sysconfdir}/rsyslog.d -cp google_config/rsyslog/* %{buildroot}/%{_sysconfdir}/rsyslog.d +mkdir -p %{buildroot}/%{_sysconfdir}/rsyslog.d +cp google-compute-engine/src/etc/rsyslog.d/* %{buildroot}/%{_sysconfdir}/rsyslog.d # oslogin -pushd google_compute_engine_oslogin +pushd google-compute-engine-oslogin make install DESTDIR=%{buildroot} NSS_INSTALL_PATH=%{_lib} PAM_INSTALL_PATH=%{_lib}/security popd # kernel module blacklist mkdir -p %{buildroot}/%{_sysconfdir}/modprobe.d -cp google_config/modprobe/gce-blacklist.conf %{buildroot}/%{_sysconfdir}/modprobe.d/ +cp google-compute-engine/src/etc/modprobe.d/gce-blacklist.conf %{buildroot}/%{_sysconfdir}/modprobe.d/ %pre init if [ -f /usr/lib/systemd/system/google-ip-forwarding-daemon.service ]; then @@ -144,10 +159,10 @@ systemctl stop --no-block google-network-setup systemctl disable google-network-setup.service fi - %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 + %service_add_pre google-accounts-daemon.service google-clock-skew-daemon.service google-instance-setup.service google-network-daemon.service google-optimize-local-ssd.service google-set-multiqueue.service google-shutdown-scripts.service google-startup-scripts.service %post init - %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 + %service_add_post google-accounts-daemon.service google-clock-skew-daemon.service google-instance-setup.service google-network-daemon.service google-optimize-local-ssd.service google-set-multiqueue.service google-shutdown-scripts.service google-startup-scripts.service if [ "$1" == "2" ] && ! [ -e /.buildenv ]; then # "$1" == "2" means the package is being upgraded # ./buildenv is only present during package builds @@ -159,10 +174,10 @@ /sbin/ldconfig %preun init - %service_del_preun -f 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 + %service_del_preun -f google-accounts-daemon.service google-clock-skew-daemon.service google-instance-setup.service google-network-daemon.service google-optimize-local-ssd.service google-set-multiqueue.service google-shutdown-scripts.service google-startup-scripts.service %postun init - %service_del_postun -f 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 + %service_del_postun -f google-accounts-daemon.service google-clock-skew-daemon.service google-instance-setup.service google-network-daemon.service google-optimize-local-ssd.service google-set-multiqueue.service google-shutdown-scripts.service google-startup-scripts.service %postun oslogin /sbin/ldconfig @@ -199,9 +214,12 @@ %endif %{_unitdir}/*.service %config %{_sysconfdir}/sysctl.d/* +%dir /usr/lib/systemd +%dir /usr/lib/systemd/journald.conf.d %dir /usr/lib/udev %dir /usr/lib/udev/rules.d /usr/lib/udev/rules.d/* +/usr/lib/systemd/journald.conf.d/* %dir %{_sysconfdir}/rsyslog.d %dir %{_sysconfdir}/modprobe.d %config %{_sysconfdir}/rsyslog.d/* ++++++ compute-image-packages-20190124.tar.gz -> compute-image-packages-20190416.tar.gz ++++++ ++++ 37469 lines of diff (skipped) ++++++ gcei-hide-py-deps.patch ++++++ --- /var/tmp/diff_new_pack.mwIRVI/_old 2019-05-17 23:43:52.581889313 +0200 +++ /var/tmp/diff_new_pack.mwIRVI/_new 2019-05-17 23:43:52.581889313 +0200 @@ -1,11 +1,12 @@ ---- setup.py.orig 2018-02-27 23:53:04.000000000 +0100 -+++ setup.py 2018-04-16 13:37:45.384716199 +0200 +diff -Nru compute-image-packages-20190416.orig/packages/python-google-compute-engine/setup.py compute-image-packages-20190416/packages/python-google-compute-engine/setup.py +--- compute-image-packages-20190416.orig/packages/python-google-compute-engine/setup.py 2019-04-17 02:46:12.000000000 +0200 ++++ compute-image-packages-20190416/packages/python-google-compute-engine/setup.py 2019-05-06 16:45:55.321595572 +0200 @@ -29,7 +29,7 @@ author_email='gc-team@google.com', description='Google Compute Engine', include_package_data=True, - install_requires=install_requires, -+# install_requires=install_requires, ++# install_requires=install_requires, license='Apache Software License', long_description='Google Compute Engine guest environment.', name='google-compute-engine', ++++++ gcei-scripts-after-reg.patch ++++++ --- /var/tmp/diff_new_pack.mwIRVI/_old 2019-05-17 23:43:52.585889311 +0200 +++ /var/tmp/diff_new_pack.mwIRVI/_new 2019-05-17 23:43:52.585889311 +0200 @@ -1,5 +1,6 @@ ---- 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 +diff -Nru compute-image-packages-20190416.orig/packages/google-compute-engine/src/lib/systemd/system/google-startup-scripts.service compute-image-packages-20190416/packages/google-compute-engine/src/lib/systemd/system/google-startup-scripts.service +--- compute-image-packages-20190416.orig/packages/google-compute-engine/src/lib/systemd/system/google-startup-scripts.service 2019-04-17 02:46:12.000000000 +0200 ++++ compute-image-packages-20190416/packages/google-compute-engine/src/lib/systemd/system/google-startup-scripts.service 2019-05-06 16:47:37.810553473 +0200 @@ -2,6 +2,7 @@ Description=Google Compute Engine Startup Scripts After=local-fs.target network-online.target network.target rsyslog.service ++++++ gcei-set-run_dir.patch ++++++ --- /var/tmp/diff_new_pack.mwIRVI/_old 2019-05-17 23:43:52.593889307 +0200 +++ /var/tmp/diff_new_pack.mwIRVI/_new 2019-05-17 23:43:52.593889307 +0200 @@ -1,6 +1,7 @@ ---- google_compute_engine/instance_setup/instance_config.py.orig 2018-10-11 18:53:23.000000000 +0200 -+++ google_compute_engine/instance_setup/instance_config.py 2018-10-12 12:59:08.355598380 +0200 -@@ -86,7 +86,7 @@ +diff -Nru compute-image-packages-20190416.orig/packages/python-google-compute-engine/google_compute_engine/instance_setup/instance_config.py compute-image-packages-20190416/packages/python-google-compute-engine/google_compute_engine/instance_setup/instance_config.py +--- compute-image-packages-20190416.orig/packages/python-google-compute-engine/google_compute_engine/instance_setup/instance_config.py 2019-04-17 02:46:12.000000000 +0200 ++++ compute-image-packages-20190416/packages/python-google-compute-engine/google_compute_engine/instance_setup/instance_config.py 2019-05-06 16:48:54.899274132 +0200 +@@ -88,7 +88,7 @@ 'target_instance_ips': 'true', }, 'MetadataScripts': { ++++++ google-optimize-local-ssd.service ++++++ [Unit] Description=Google Compute Engine Local SSD Optimization After=local-fs.target Wants=local-fs.target [Service] Type=oneshot ExecStart=/usr/bin/google_optimize_local_ssd [Install] WantedBy=multi-user.target ++++++ google-set-multiqueue.service ++++++ [Unit] Description=Google Compute Engine Set Multi-Queue After=local-fs.target network.target Wants=local-fs.target network.target [Service] Type=oneshot ExecStart=/usr/bin/google_set_multiqueue [Install] WantedBy=multi-user.target
participants (1)
-
root