From acf7dd70be389b69928b579a6de8eb96e7723d779cf9b1f9eab49ae0a666af1c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 6 Feb 2017 08:45:05 +0000 Subject: [PATCH 1/3] - Move fix for permission set on /var/lib/systemd/linger/* (no functional changes) Move that part after the fix on timer timestamp files otherwise the comment doesn't make sense. - Import commit 028fd9b60580976dffb09b3576a2b652ee35137c cc2ca55ff build-sys: do not install ctrl-alt-del.target symlink twice ececae77a device: Avoid calling unit_free(NULL) in device setup logic (#4748) - Ship systemd-resolved but it's disabled by default (bsc#1018387) The NSS plugin will also be disabled, users need to enable it manually. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=968 --- systemd-232.tar.xz | 4 ++-- systemd-mini-rpmlintrc | 1 + systemd-mini.changes | 24 ++++++++++++++++++++++++ systemd-mini.spec | 14 +++++++------- systemd-rpmlintrc | 1 + systemd.changes | 24 ++++++++++++++++++++++++ systemd.spec | 14 +++++++------- 7 files changed, 66 insertions(+), 16 deletions(-) diff --git a/systemd-232.tar.xz b/systemd-232.tar.xz index 04c9ac5..c4376ce 100644 --- a/systemd-232.tar.xz +++ b/systemd-232.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cc6ee1dab9013b879e3ae500b79875651c4462e23a9b9fbeab06597828ee00a3 -size 3211676 +oid sha256:779b3b2be558de7e7ceed64da90953fff303332750105987206584f777225bb5 +size 3212260 diff --git a/systemd-mini-rpmlintrc b/systemd-mini-rpmlintrc index 5b7980e..a2cefb3 100644 --- a/systemd-mini-rpmlintrc +++ b/systemd-mini-rpmlintrc @@ -19,6 +19,7 @@ addFilter("libudev-mini.*shlib-policy-name-error.*") addFilter("nss-systemd.*shlib-policy-name-error.*") addFilter("nss-myhostname.*shlib-policy-name-error.*") addFilter("nss-mymachines.*shlib-policy-name-error.*") +addFilter("nss-resolve.*shlib-policy-name-error.*") addFilter("systemd-logger.*useless-provides sysvinit(syslog).*") addFilter("devel-file-in-non-devel-package.*/usr/share/pkgconfig/(udev|systemd)\.pc.*") addFilter(".*script-without-shebang.*/usr/lib/udev/rule_generator.functions.*") diff --git a/systemd-mini.changes b/systemd-mini.changes index b7ed294..d6669a3 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Feb 3 08:37:22 UTC 2017 - fbui@suse.com + +- Move fix for permission set on /var/lib/systemd/linger/* (no functional changes) + + Move that part after the fix on timer timestamp files otherwise the + comment doesn't make sense. + +------------------------------------------------------------------- +Wed Feb 1 15:06:06 UTC 2017 - fbui@suse.com + +- Import commit 028fd9b60580976dffb09b3576a2b652ee35137c + + cc2ca55ff build-sys: do not install ctrl-alt-del.target symlink twice + ececae77a device: Avoid calling unit_free(NULL) in device setup logic (#4748) + +------------------------------------------------------------------- +Wed Feb 1 14:32:28 UTC 2017 - fbui@suse.com + +- Ship systemd-resolved but it's disabled by default (bsc#1018387) + + The NSS plugin will also be disabled, users need to enable it + manually. + ------------------------------------------------------------------- Wed Jan 25 15:37:23 UTC 2017 - fbui@suse.com diff --git a/systemd-mini.spec b/systemd-mini.spec index a0b92de..b34999d 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -33,18 +33,19 @@ %bcond_with machined %bcond_with importd %bcond_with networkd +%bcond_with resolved %bcond_with journal_remote %else %bcond_without sysvcompat %bcond_without machined %bcond_without importd %bcond_without networkd +%bcond_without resolved %bcond_without journal_remote %ifarch %{ix86} x86_64 %bcond_without gnuefi %endif %endif -%bcond_with resolved %bcond_with parentpathid Name: systemd-mini @@ -706,11 +707,6 @@ enabled) ;; *) rm -f %{_prefix}/lib/systemd/system/tmp.mount esac -# Same for user lingering created by logind. -for username in $(ls /var/lib/systemd/linger/* 2>/dev/null); do - chmod 0644 $username -done - # v228 wrongly set world writable suid root permissions on timestamp # files used by permanent timers. Fix the timestamps that might have # been created by the affected versions of systemd (bsc#1020601). @@ -718,6 +714,11 @@ for stamp in $(ls /var/lib/systemd/timers/stamp-*.timer 2>/dev/null); do chmod 0644 $stamp done +# Same for user lingering created by logind. +for username in $(ls /var/lib/systemd/linger/* 2>/dev/null); do + chmod 0644 $username +done + # Convert /var/lib/machines subvolume to make it suitable for # rollbacks, if needed. See bsc#992573. The installer has been fixed # to create it at installation time. @@ -1002,7 +1003,6 @@ fi %dir %{_sysconfdir}/systemd/system %dir %{_sysconfdir}/systemd/user %dir %{_sysconfdir}/xdg/systemd -%{_sysconfdir}/systemd/system/ctrl-alt-del.target %{_sysconfdir}/xdg/systemd/user %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh diff --git a/systemd-rpmlintrc b/systemd-rpmlintrc index 5b7980e..a2cefb3 100644 --- a/systemd-rpmlintrc +++ b/systemd-rpmlintrc @@ -19,6 +19,7 @@ addFilter("libudev-mini.*shlib-policy-name-error.*") addFilter("nss-systemd.*shlib-policy-name-error.*") addFilter("nss-myhostname.*shlib-policy-name-error.*") addFilter("nss-mymachines.*shlib-policy-name-error.*") +addFilter("nss-resolve.*shlib-policy-name-error.*") addFilter("systemd-logger.*useless-provides sysvinit(syslog).*") addFilter("devel-file-in-non-devel-package.*/usr/share/pkgconfig/(udev|systemd)\.pc.*") addFilter(".*script-without-shebang.*/usr/lib/udev/rule_generator.functions.*") diff --git a/systemd.changes b/systemd.changes index b7ed294..d6669a3 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Feb 3 08:37:22 UTC 2017 - fbui@suse.com + +- Move fix for permission set on /var/lib/systemd/linger/* (no functional changes) + + Move that part after the fix on timer timestamp files otherwise the + comment doesn't make sense. + +------------------------------------------------------------------- +Wed Feb 1 15:06:06 UTC 2017 - fbui@suse.com + +- Import commit 028fd9b60580976dffb09b3576a2b652ee35137c + + cc2ca55ff build-sys: do not install ctrl-alt-del.target symlink twice + ececae77a device: Avoid calling unit_free(NULL) in device setup logic (#4748) + +------------------------------------------------------------------- +Wed Feb 1 14:32:28 UTC 2017 - fbui@suse.com + +- Ship systemd-resolved but it's disabled by default (bsc#1018387) + + The NSS plugin will also be disabled, users need to enable it + manually. + ------------------------------------------------------------------- Wed Jan 25 15:37:23 UTC 2017 - fbui@suse.com diff --git a/systemd.spec b/systemd.spec index c1a405c..c152682 100644 --- a/systemd.spec +++ b/systemd.spec @@ -31,18 +31,19 @@ %bcond_with machined %bcond_with importd %bcond_with networkd +%bcond_with resolved %bcond_with journal_remote %else %bcond_without sysvcompat %bcond_without machined %bcond_without importd %bcond_without networkd +%bcond_without resolved %bcond_without journal_remote %ifarch %{ix86} x86_64 %bcond_without gnuefi %endif %endif -%bcond_with resolved %bcond_with parentpathid Name: systemd @@ -704,11 +705,6 @@ enabled) ;; *) rm -f %{_prefix}/lib/systemd/system/tmp.mount esac -# Same for user lingering created by logind. -for username in $(ls /var/lib/systemd/linger/* 2>/dev/null); do - chmod 0644 $username -done - # v228 wrongly set world writable suid root permissions on timestamp # files used by permanent timers. Fix the timestamps that might have # been created by the affected versions of systemd (bsc#1020601). @@ -716,6 +712,11 @@ for stamp in $(ls /var/lib/systemd/timers/stamp-*.timer 2>/dev/null); do chmod 0644 $stamp done +# Same for user lingering created by logind. +for username in $(ls /var/lib/systemd/linger/* 2>/dev/null); do + chmod 0644 $username +done + # Convert /var/lib/machines subvolume to make it suitable for # rollbacks, if needed. See bsc#992573. The installer has been fixed # to create it at installation time. @@ -1000,7 +1001,6 @@ fi %dir %{_sysconfdir}/systemd/system %dir %{_sysconfdir}/systemd/user %dir %{_sysconfdir}/xdg/systemd -%{_sysconfdir}/systemd/system/ctrl-alt-del.target %{_sysconfdir}/xdg/systemd/user %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh From 361c23bfb96da93a9bd20241bc8a9ce9b67a6410c9b8a3ccb6ed39f6b08d68e8 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 6 Feb 2017 14:59:06 +0000 Subject: [PATCH 2/3] - Import commit cd97d5d5fef79ab9d957bf6504d085c0faca6bfc e587b6ce0 disable RestrictAddressFamilies on all architectures but x86_64 one (bsc#1023460) c8ae05632 journald: don't flush to /var/log/journal before we get asked to (bsc#1004094) 7261eaf3e sd-event: fix sd_event_source_get_priority() (#4712) OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=969 --- systemd-232.tar.xz | 4 ++-- systemd-mini.changes | 9 +++++++++ systemd.changes | 9 +++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/systemd-232.tar.xz b/systemd-232.tar.xz index c4376ce..c5917f5 100644 --- a/systemd-232.tar.xz +++ b/systemd-232.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:779b3b2be558de7e7ceed64da90953fff303332750105987206584f777225bb5 -size 3212260 +oid sha256:ce282eea299d1e50f206a96e8f860f45c44e0a08c6ab8356582775f924d2d795 +size 3211444 diff --git a/systemd-mini.changes b/systemd-mini.changes index d6669a3..2fb0382 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Feb 6 14:13:00 UTC 2017 - fbui@suse.com + +- Import commit cd97d5d5fef79ab9d957bf6504d085c0faca6bfc + + e587b6ce0 disable RestrictAddressFamilies on all architectures but x86_64 one (bsc#1023460) + c8ae05632 journald: don't flush to /var/log/journal before we get asked to (bsc#1004094) + 7261eaf3e sd-event: fix sd_event_source_get_priority() (#4712) + ------------------------------------------------------------------- Fri Feb 3 08:37:22 UTC 2017 - fbui@suse.com diff --git a/systemd.changes b/systemd.changes index d6669a3..2fb0382 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Feb 6 14:13:00 UTC 2017 - fbui@suse.com + +- Import commit cd97d5d5fef79ab9d957bf6504d085c0faca6bfc + + e587b6ce0 disable RestrictAddressFamilies on all architectures but x86_64 one (bsc#1023460) + c8ae05632 journald: don't flush to /var/log/journal before we get asked to (bsc#1004094) + 7261eaf3e sd-event: fix sd_event_source_get_priority() (#4712) + ------------------------------------------------------------------- Fri Feb 3 08:37:22 UTC 2017 - fbui@suse.com From 8077e4943a6b80597e45919852e754b466228e24b3398724ce902a30a274b69d Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 8 Feb 2017 08:21:47 +0000 Subject: [PATCH 3/3] - Remove obsolete insserv requirements for udev again [bsc#999841] - Remove obsolete insserv requirements for udev again [bsc#999841] OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=970 --- systemd-mini.changes | 5 +++++ systemd-mini.spec | 2 -- systemd.changes | 5 +++++ systemd.spec | 2 -- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/systemd-mini.changes b/systemd-mini.changes index 2fb0382..c46097d 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 8 08:45:09 CET 2017 - kukuk@suse.de + +- Remove obsolete insserv requirements for udev again [bsc#999841] + ------------------------------------------------------------------- Mon Feb 6 14:13:00 UTC 2017 - fbui@suse.com diff --git a/systemd-mini.spec b/systemd-mini.spec index b34999d..c04e412 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -231,7 +231,6 @@ Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/bin/getent Requires(post): sed Requires(post): /usr/bin/systemctl -Requires(postun): %insserv_prereq Requires(post): coreutils Requires(postun): coreutils @@ -798,7 +797,6 @@ rm -f /etc/udev/rules.d/{20,55,65}-cdrom.rules %postun -n udev%{?mini} %regenerate_initrd_post -%insserv_cleanup systemctl daemon-reload || : # On package update: the restart of the socket units will probably # fail as the daemon is most likely running. It's not really an issue diff --git a/systemd.changes b/systemd.changes index 2fb0382..c46097d 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 8 08:45:09 CET 2017 - kukuk@suse.de + +- Remove obsolete insserv requirements for udev again [bsc#999841] + ------------------------------------------------------------------- Mon Feb 6 14:13:00 UTC 2017 - fbui@suse.com diff --git a/systemd.spec b/systemd.spec index c152682..7dd89cb 100644 --- a/systemd.spec +++ b/systemd.spec @@ -229,7 +229,6 @@ Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/bin/getent Requires(post): sed Requires(post): /usr/bin/systemctl -Requires(postun): %insserv_prereq Requires(post): coreutils Requires(postun): coreutils @@ -796,7 +795,6 @@ rm -f /etc/udev/rules.d/{20,55,65}-cdrom.rules %postun -n udev%{?mini} %regenerate_initrd_post -%insserv_cleanup systemctl daemon-reload || : # On package update: the restart of the socket units will probably # fail as the daemon is most likely running. It's not really an issue