- Upgrade to v241 (commit 15a1b4d58f1d2bc9c21c7cbab6fe63b58e48bda1)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1053
This commit is contained in:
Franck Bui 2019-03-06 13:36:20 +00:00 committed by Git OBS Bridge
parent 947690b843
commit bc86613815
8 changed files with 60 additions and 42 deletions

View File

@ -1,4 +1,4 @@
From d3acd5b49a6a321dc3b1512416132b8724b2fd20 Mon Sep 17 00:00:00 2001 From 819616fabe327d4baf587337f427c24588192af5 Mon Sep 17 00:00:00 2001
From: Franck Bui <fbui@suse.com> From: Franck Bui <fbui@suse.com>
Date: Tue, 6 Nov 2018 11:51:26 +0100 Date: Tue, 6 Nov 2018 11:51:26 +0100
Subject: [PATCH] logind: keep backward compatibility with UserTasksMax= in Subject: [PATCH] logind: keep backward compatibility with UserTasksMax= in
@ -30,10 +30,10 @@ Expect this generator to be dropped in the future.
create mode 100644 src/login/compat-tasks-max-generator.c create mode 100644 src/login/compat-tasks-max-generator.c
diff --git a/meson.build b/meson.build diff --git a/meson.build b/meson.build
index 5c7c165ba..7e3e8ca16 100644 index eacadc1505..7c00470fff 100644
--- a/meson.build --- a/meson.build
+++ b/meson.build +++ b/meson.build
@@ -1701,6 +1701,14 @@ if conf.get('ENABLE_LOGIND') == 1 @@ -1866,6 +1866,14 @@ if conf.get('ENABLE_LOGIND') == 1
endif endif
endif endif
@ -50,7 +50,7 @@ index 5c7c165ba..7e3e8ca16 100644
include_directories : includes, include_directories : includes,
diff --git a/src/login/compat-tasks-max-generator.c b/src/login/compat-tasks-max-generator.c diff --git a/src/login/compat-tasks-max-generator.c b/src/login/compat-tasks-max-generator.c
new file mode 100644 new file mode 100644
index 000000000..404ca5f23 index 0000000000..404ca5f237
--- /dev/null --- /dev/null
+++ b/src/login/compat-tasks-max-generator.c +++ b/src/login/compat-tasks-max-generator.c
@@ -0,0 +1,66 @@ @@ -0,0 +1,66 @@
@ -121,10 +121,10 @@ index 000000000..404ca5f23
+ return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS; + return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
+} +}
diff --git a/src/login/logind-user.c b/src/login/logind-user.c diff --git a/src/login/logind-user.c b/src/login/logind-user.c
index 66f5c896d..fe58b0398 100644 index ae27bfb662..bbcac62783 100644
--- a/src/login/logind-user.c --- a/src/login/logind-user.c
+++ b/src/login/logind-user.c +++ b/src/login/logind-user.c
@@ -743,17 +743,50 @@ int config_parse_compat_user_tasks_max( @@ -843,17 +843,50 @@ int config_parse_compat_user_tasks_max(
void *data, void *data,
void *userdata) { void *userdata) {
@ -181,5 +181,5 @@ index 66f5c896d..fe58b0398 100644
return 0; return 0;
} }
-- --
2.19.0 2.20.1

View File

@ -1,7 +1,7 @@
From a482b51673d4344faf76a0460a69d7f273b36e47 Mon Sep 17 00:00:00 2001 From 86aa208e639b119007332718aa4f453af2a061d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Fri, 11 Mar 2016 17:06:17 -0500 Date: Fri, 11 Mar 2016 17:06:17 -0500
Subject: [PATCH 1/1] resolved: create /etc/resolv.conf symlink at runtime Subject: [PATCH] resolved: create /etc/resolv.conf symlink at runtime
If the symlink doesn't exists, and we are being started, let's If the symlink doesn't exists, and we are being started, let's
create it to provie name resolution. create it to provie name resolution.
@ -12,19 +12,17 @@ a location used by some service that hasn't started yet, so we
don't touch it in that case either. don't touch it in that case either.
https://bugzilla.redhat.com/show_bug.cgi?id=1313085 https://bugzilla.redhat.com/show_bug.cgi?id=1313085
[fbui: fixes boo#1024897]
--- ---
src/resolve/resolved.c | 4 ++++ src/resolve/resolved.c | 4 ++++
tmpfiles.d/etc.conf.m4 | 3 --- tmpfiles.d/etc.conf.m4 | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-) 2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/resolve/resolved.c b/src/resolve/resolved.c diff --git a/src/resolve/resolved.c b/src/resolve/resolved.c
index a4cda0b5e..68bca8077 100644 index f4efddf8e5..3386e3bf67 100644
--- a/src/resolve/resolved.c --- a/src/resolve/resolved.c
+++ b/src/resolve/resolved.c +++ b/src/resolve/resolved.c
@@ -71,6 +71,10 @@ int main(int argc, char *argv[]) { @@ -45,6 +45,10 @@ static int run(int argc, char *argv[]) {
/* Drop privileges, but only if we have been started as root. If we are not running as root we assume all /* Drop privileges, but only if we have been started as root. If we are not running as root we assume most
* privileges are already dropped. */ * privileges are already dropped. */
if (getuid() == 0) { if (getuid() == 0) {
+ r = symlink("../run/systemd/resolve/resolv.conf", "/etc/resolv.conf"); + r = symlink("../run/systemd/resolve/resolv.conf", "/etc/resolv.conf");
@ -35,7 +33,7 @@ index a4cda0b5e..68bca8077 100644
/* Drop privileges, but keep three caps. Note that we drop those too, later on (see below) */ /* Drop privileges, but keep three caps. Note that we drop those too, later on (see below) */
r = drop_privileges(uid, gid, r = drop_privileges(uid, gid,
diff --git a/tmpfiles.d/etc.conf.m4 b/tmpfiles.d/etc.conf.m4 diff --git a/tmpfiles.d/etc.conf.m4 b/tmpfiles.d/etc.conf.m4
index df8d42101..928105ea8 100644 index df8d42101c..928105ea8d 100644
--- a/tmpfiles.d/etc.conf.m4 --- a/tmpfiles.d/etc.conf.m4
+++ b/tmpfiles.d/etc.conf.m4 +++ b/tmpfiles.d/etc.conf.m4
@@ -13,9 +13,6 @@ L+ /etc/mtab - - - - ../proc/self/mounts @@ -13,9 +13,6 @@ L+ /etc/mtab - - - - ../proc/self/mounts
@ -49,5 +47,5 @@ index df8d42101..928105ea8 100644
m4_ifdef(`HAVE_PAM', m4_ifdef(`HAVE_PAM',
C /etc/pam.d - - - - C /etc/pam.d - - - -
-- --
2.16.2 2.19.2

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 5 17:51:02 UTC 2019 - Franck Bui <fbui@suse.com>
- Upgrade to v241 (commit 15a1b4d58f1d2bc9c21c7cbab6fe63b58e48bda1)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 19 11:08:13 UTC 2019 - Franck Bui <fbui@suse.com> Tue Feb 19 11:08:13 UTC 2019 - Franck Bui <fbui@suse.com>

View File

@ -26,7 +26,7 @@
##### WARNING: please do not edit this auto generated spec file. Use the systemd.spec! ##### ##### WARNING: please do not edit this auto generated spec file. Use the systemd.spec! #####
%define mini -mini %define mini -mini
%define min_kernel_version 4.5 %define min_kernel_version 4.5
%define suse_version +suse.205.ga1d86af7e %define suse_version +suse.42.g15a1b4d58
%bcond_with gnuefi %bcond_with gnuefi
%if 0%{?bootstrap} %if 0%{?bootstrap}
@ -53,7 +53,7 @@
Name: systemd-mini Name: systemd-mini
Url: http://www.freedesktop.org/wiki/Software/systemd Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 239 Version: 241
Release: 0 Release: 0
Summary: A System and Session Manager Summary: A System and Session Manager
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -901,6 +901,7 @@ fi
%{_bindir}/systemd-delta %{_bindir}/systemd-delta
%{_bindir}/systemd-escape %{_bindir}/systemd-escape
%{_bindir}/systemd-firstboot %{_bindir}/systemd-firstboot
%{_bindir}/systemd-id128
%{_bindir}/systemd-path %{_bindir}/systemd-path
%{_bindir}/systemd-sysusers %{_bindir}/systemd-sysusers
%{_bindir}/systemd-mount %{_bindir}/systemd-mount
@ -1048,11 +1049,16 @@ fi
%{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
%config(noreplace) %{_sysconfdir}/pam.d/systemd-user %config(noreplace) %{_sysconfdir}/pam.d/systemd-user
%config(noreplace) %{_sysconfdir}/systemd/timesyncd.conf
%config(noreplace) %{_sysconfdir}/systemd/system.conf
%config(noreplace) %{_sysconfdir}/systemd/logind.conf
%config(noreplace) %{_sysconfdir}/systemd/journald.conf %config(noreplace) %{_sysconfdir}/systemd/journald.conf
%config(noreplace) %{_sysconfdir}/systemd/logind.conf
%config(noreplace) %{_sysconfdir}/systemd/sleep.conf
%config(noreplace) %{_sysconfdir}/systemd/system.conf
%config(noreplace) %{_sysconfdir}/systemd/timesyncd.conf
%config(noreplace) %{_sysconfdir}/systemd/user.conf %config(noreplace) %{_sysconfdir}/systemd/user.conf
%if %{with networkd}
%config(noreplace) %{_sysconfdir}/systemd/networkd.conf
%endif
%if %{with resolved} %if %{with resolved}
%config(noreplace) %{_sysconfdir}/systemd/resolved.conf %config(noreplace) %{_sysconfdir}/systemd/resolved.conf
%endif %endif
@ -1228,7 +1234,6 @@ fi
%{_prefix}/lib/udev/ata_id %{_prefix}/lib/udev/ata_id
%{_prefix}/lib/udev/path_id_compat %{_prefix}/lib/udev/path_id_compat
%{_prefix}/lib/udev/cdrom_id %{_prefix}/lib/udev/cdrom_id
%{_prefix}/lib/udev/collect
%{_prefix}/lib/udev/mtd_probe %{_prefix}/lib/udev/mtd_probe
%{_prefix}/lib/udev/scsi_id %{_prefix}/lib/udev/scsi_id
%{_prefix}/lib/udev/v4l_id %{_prefix}/lib/udev/v4l_id

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72e095c8eb7312cd4ac735a0186f091799c5ff66bc434e8c49ce0e3655538734
size 4860080

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2650bb2798f0be894a4bada35eb7ea214e0f7c6e8b5974b9be432679e7e6a788
size 5192288

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 5 17:51:02 UTC 2019 - Franck Bui <fbui@suse.com>
- Upgrade to v241 (commit 15a1b4d58f1d2bc9c21c7cbab6fe63b58e48bda1)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 19 11:08:13 UTC 2019 - Franck Bui <fbui@suse.com> Tue Feb 19 11:08:13 UTC 2019 - Franck Bui <fbui@suse.com>

View File

@ -24,7 +24,7 @@
%define bootstrap 0 %define bootstrap 0
%define mini %nil %define mini %nil
%define min_kernel_version 4.5 %define min_kernel_version 4.5
%define suse_version +suse.205.ga1d86af7e %define suse_version +suse.42.g15a1b4d58
%bcond_with gnuefi %bcond_with gnuefi
%if 0%{?bootstrap} %if 0%{?bootstrap}
@ -51,7 +51,7 @@
Name: systemd Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 239 Version: 241
Release: 0 Release: 0
Summary: A System and Session Manager Summary: A System and Session Manager
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -899,6 +899,7 @@ fi
%{_bindir}/systemd-delta %{_bindir}/systemd-delta
%{_bindir}/systemd-escape %{_bindir}/systemd-escape
%{_bindir}/systemd-firstboot %{_bindir}/systemd-firstboot
%{_bindir}/systemd-id128
%{_bindir}/systemd-path %{_bindir}/systemd-path
%{_bindir}/systemd-sysusers %{_bindir}/systemd-sysusers
%{_bindir}/systemd-mount %{_bindir}/systemd-mount
@ -1046,11 +1047,16 @@ fi
%{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
%config(noreplace) %{_sysconfdir}/pam.d/systemd-user %config(noreplace) %{_sysconfdir}/pam.d/systemd-user
%config(noreplace) %{_sysconfdir}/systemd/timesyncd.conf
%config(noreplace) %{_sysconfdir}/systemd/system.conf
%config(noreplace) %{_sysconfdir}/systemd/logind.conf
%config(noreplace) %{_sysconfdir}/systemd/journald.conf %config(noreplace) %{_sysconfdir}/systemd/journald.conf
%config(noreplace) %{_sysconfdir}/systemd/logind.conf
%config(noreplace) %{_sysconfdir}/systemd/sleep.conf
%config(noreplace) %{_sysconfdir}/systemd/system.conf
%config(noreplace) %{_sysconfdir}/systemd/timesyncd.conf
%config(noreplace) %{_sysconfdir}/systemd/user.conf %config(noreplace) %{_sysconfdir}/systemd/user.conf
%if %{with networkd}
%config(noreplace) %{_sysconfdir}/systemd/networkd.conf
%endif
%if %{with resolved} %if %{with resolved}
%config(noreplace) %{_sysconfdir}/systemd/resolved.conf %config(noreplace) %{_sysconfdir}/systemd/resolved.conf
%endif %endif
@ -1226,7 +1232,6 @@ fi
%{_prefix}/lib/udev/ata_id %{_prefix}/lib/udev/ata_id
%{_prefix}/lib/udev/path_id_compat %{_prefix}/lib/udev/path_id_compat
%{_prefix}/lib/udev/cdrom_id %{_prefix}/lib/udev/cdrom_id
%{_prefix}/lib/udev/collect
%{_prefix}/lib/udev/mtd_probe %{_prefix}/lib/udev/mtd_probe
%{_prefix}/lib/udev/scsi_id %{_prefix}/lib/udev/scsi_id
%{_prefix}/lib/udev/v4l_id %{_prefix}/lib/udev/v4l_id