forked from pool/systemd
Accepting request 744383 from home:fbui:systemd:openSUSE-Factory
- Drop 0001-compat-rules-escape-when-used-for-shell-expansion.patch It's part of the previous import. - Import commit b7467b7b553d6d0d6f92758d966b69f1a88b6b42 441f44f371 fileio: introduce read_full_virtual_file() for reading virtual files in sysfs, procfs (bsc#1133495) 8a1bb5c66b swap: do not make swap units wanted by its device unit anymore - Import commit 5df9000899ef7d45ddbcacd0fdf73afa07a40f6b f0ed7237e4 udev/cdrom_id: Do not open CD-rom in exclusive mode. (bsc#1154256) b37054aa5a compat-rules: escape '$' when used for shell expansion Changes from the v243-stable: ef677436aa test: Pass personality test even when i686 userland runs on x86_64 kernel 3f6398c450 docs: fix inadvertent change in uid range 25bb377a73 cgroup: fix typo in BPF firewall support warning message 6d97aca0d5 fix build with compilers with default stack-protector enabled fbad077cec nspawn: surrender controlling terminal to PID2 when using the PID1 stub 0553c3c668 pid1: fix DefaultTasksMax initialization f406a691a7 src/core/automount: use DirectoryMode when calling mkdir -p 20438f96c3 udevadm trigger: do not propagate EACCES and ENODEV 6480630bc3 hwdb: Correct WWWW Pattern In Documentation Comment 9d8e889810 nspawn: consistenly fail if parsing the environment fails 40e169b304 nspawn: default to unified hierarchy if --as-pid2 is used b5df1037a0 cgroup: Mark memory protections as explicitly set in transient units f14e3e02cc cgroup: Respect DefaultMemoryMin when setting memory.min ea248e53bf cgroup: Check ancestor memory min for unified memory config de1d25a506 cgroup: docs: memory.high doc fixups 2ab45f38d8 cgroup: docs: Mention unbounded protection for memory.{low,min} 19a43dc38a Consider smb3 as remote filesystem 5c0224c7bf Handle d_type == DT_UNKNOWN correctly 8282bc61df util-lib: Don't propagate EACCES from find_binary PATH lookup to caller OBS-URL: https://build.opensuse.org/request/show/744383 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1077
This commit is contained in:
parent
d9e423e96f
commit
023b1b5d3e
@ -1,46 +0,0 @@
|
|||||||
From b37054aa5aebfed9e7c8ee423067aefef0facd39 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Franck Bui <fbui@suse.com>
|
|
||||||
Date: Wed, 9 Oct 2019 16:11:17 +0200
|
|
||||||
Subject: [PATCH] compat-rules: escape '$' when used for shell expansion
|
|
||||||
|
|
||||||
Make sure to use '$$' in shell expansions since the behavior of udev
|
|
||||||
is undefined when it encounters unknown substitions.
|
|
||||||
|
|
||||||
udev used to silently ignore them but since v243 (commit
|
|
||||||
d7aee41db35f808bca), it throws such warning:
|
|
||||||
|
|
||||||
systemd-udevd[443]: /usr/lib/udev/rules.d/61-persistent-storage-compat.rules:83 Invalid value "/bin/sh -c 'eui="%s{eui}"; echo ${eui// /}" for PROGRAM (char 33: invalid substitution type), ignoring, but please fix it.
|
|
||||||
|
|
||||||
No functional changes.
|
|
||||||
---
|
|
||||||
rules/61-persistent-storage-compat.rules | 6 +++---
|
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/rules/61-persistent-storage-compat.rules b/rules/61-persistent-storage-compat.rules
|
|
||||||
index 0cdc8c4195..bd229f619b 100644
|
|
||||||
--- a/rules/61-persistent-storage-compat.rules
|
|
||||||
+++ b/rules/61-persistent-storage-compat.rules
|
|
||||||
@@ -80,17 +80,17 @@ ENV{COMPAT_SYMLINK_GENERATION}!="1", GOTO="generation_2"
|
|
||||||
# symlink is created.
|
|
||||||
|
|
||||||
KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_EUI_COMPAT}!="?*", ATTRS{eui}=="?*", ATTRS{eui}!="0000000000000000", \
|
|
||||||
- PROGRAM=="/bin/sh -c 'eui=\"%s{eui}\"; echo ${eui// /}", ENV{ID_NVME_EUI_COMPAT}="2%c"
|
|
||||||
+ PROGRAM=="/bin/sh -c 'eui=\"%s{eui}\"; echo $${eui// /}", ENV{ID_NVME_EUI_COMPAT}="2%c"
|
|
||||||
|
|
||||||
KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_NGUID_COMPAT}!="?*", ATTRS{nguid}=="?*", \
|
|
||||||
- PROGRAM=="/bin/sh -c 'nguid=\"%s{nguid}\"; echo ${nguid//-/}", ENV{ID_NVME_NGUID_COMPAT}="%c"
|
|
||||||
+ PROGRAM=="/bin/sh -c 'nguid=\"%s{nguid}\"; echo $${nguid//-/}", ENV{ID_NVME_NGUID_COMPAT}="%c"
|
|
||||||
|
|
||||||
KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_SERIAL_COMPAT}!="?*", ATTRS{model}=="?*", ATTRS{serial}=="?*", \
|
|
||||||
PROGRAM=="/bin/sh -c ' \
|
|
||||||
cd /sys/%p; \
|
|
||||||
while ! [ -f model ]; do \
|
|
||||||
cd ..; \
|
|
||||||
- [ $(pwd) = %S ] && exit 1; \
|
|
||||||
+ [ $$(pwd) = %S ] && exit 1; \
|
|
||||||
done; \
|
|
||||||
cut -c 1-16 model'", ENV{ID_NVME_SERIAL_COMPAT}="SNVMe_%c%s{serial}"
|
|
||||||
|
|
||||||
--
|
|
||||||
2.16.4
|
|
||||||
|
|
@ -1,3 +1,56 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 31 07:38:55 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Drop 0001-compat-rules-escape-when-used-for-shell-expansion.patch
|
||||||
|
|
||||||
|
It's part of the previous import.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 31 07:32:47 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Import commit b7467b7b553d6d0d6f92758d966b69f1a88b6b42
|
||||||
|
|
||||||
|
441f44f371 fileio: introduce read_full_virtual_file() for reading virtual files in sysfs, procfs (bsc#1133495)
|
||||||
|
8a1bb5c66b swap: do not make swap units wanted by its device unit anymore
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 29 10:35:03 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Import commit 5df9000899ef7d45ddbcacd0fdf73afa07a40f6b
|
||||||
|
|
||||||
|
f0ed7237e4 udev/cdrom_id: Do not open CD-rom in exclusive mode. (bsc#1154256)
|
||||||
|
b37054aa5a compat-rules: escape '$' when used for shell expansion
|
||||||
|
|
||||||
|
Changes from the v243-stable:
|
||||||
|
|
||||||
|
ef677436aa test: Pass personality test even when i686 userland runs on x86_64 kernel
|
||||||
|
3f6398c450 docs: fix inadvertent change in uid range
|
||||||
|
25bb377a73 cgroup: fix typo in BPF firewall support warning message
|
||||||
|
6d97aca0d5 fix build with compilers with default stack-protector enabled
|
||||||
|
fbad077cec nspawn: surrender controlling terminal to PID2 when using the PID1 stub
|
||||||
|
0553c3c668 pid1: fix DefaultTasksMax initialization
|
||||||
|
f406a691a7 src/core/automount: use DirectoryMode when calling mkdir -p
|
||||||
|
20438f96c3 udevadm trigger: do not propagate EACCES and ENODEV
|
||||||
|
6480630bc3 hwdb: Correct WWWW Pattern In Documentation Comment
|
||||||
|
9d8e889810 nspawn: consistenly fail if parsing the environment fails
|
||||||
|
40e169b304 nspawn: default to unified hierarchy if --as-pid2 is used
|
||||||
|
b5df1037a0 cgroup: Mark memory protections as explicitly set in transient units
|
||||||
|
f14e3e02cc cgroup: Respect DefaultMemoryMin when setting memory.min
|
||||||
|
ea248e53bf cgroup: Check ancestor memory min for unified memory config
|
||||||
|
de1d25a506 cgroup: docs: memory.high doc fixups
|
||||||
|
2ab45f38d8 cgroup: docs: Mention unbounded protection for memory.{low,min}
|
||||||
|
19a43dc38a Consider smb3 as remote filesystem
|
||||||
|
5c0224c7bf Handle d_type == DT_UNKNOWN correctly
|
||||||
|
8282bc61df util-lib: Don't propagate EACCES from find_binary PATH lookup to caller
|
||||||
|
9d0ae987a6 network: drop noisy log message
|
||||||
|
f67f0e4ec4 Updated log message when the timesync happens for the first time (#13624)
|
||||||
|
e151bf4674 units: make systemd-binfmt.service easier to work with no autofs
|
||||||
|
2b8e574d82 Corect man page reference in systemd-nologin.conf comments
|
||||||
|
a0577353f1 man: Add a missing space in machinectl(1)
|
||||||
|
693e983988 log: Add missing "%" in "%m" log format strings
|
||||||
|
ea7151b8c4 pid1: do not warn if /run/systemd/relabel-extra.d/ doesn't exist
|
||||||
|
b90549290e man: fix typo
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 22 22:25:34 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Tue Oct 22 22:25:34 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -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.91.g428b937f91
|
%define suse_version +suse.126.gb7467b7b55
|
||||||
|
|
||||||
%bcond_with gnuefi
|
%bcond_with gnuefi
|
||||||
%if 0%{?bootstrap}
|
%if 0%{?bootstrap}
|
||||||
@ -166,7 +166,6 @@ Source200: scripts-udev-convert-lib-udev-path.sh
|
|||||||
# broken in upstream and need an urgent fix. Even in this case, the
|
# broken in upstream and need an urgent fix. Even in this case, the
|
||||||
# patches are temporary and should be removed as soon as a fix is
|
# patches are temporary and should be removed as soon as a fix is
|
||||||
# merged by upstream.
|
# merged by upstream.
|
||||||
Patch1: 0001-compat-rules-escape-when-used-for-shell-expansion.patch
|
|
||||||
Patch2: 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch
|
Patch2: 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
3
systemd-v243+suse.126.gb7467b7b55.tar.xz
Normal file
3
systemd-v243+suse.126.gb7467b7b55.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:90e94b87ba38b29d80fa47c14858e6047f32d197847fbac705caabe38a56467d
|
||||||
|
size 5617640
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3bf4fd83f69bfb10a6e461edaeb32b3d259420b641c1d5526165596f7467d35a
|
|
||||||
size 5617708
|
|
@ -1,3 +1,56 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 31 07:38:55 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Drop 0001-compat-rules-escape-when-used-for-shell-expansion.patch
|
||||||
|
|
||||||
|
It's part of the previous import.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 31 07:32:47 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Import commit b7467b7b553d6d0d6f92758d966b69f1a88b6b42
|
||||||
|
|
||||||
|
441f44f371 fileio: introduce read_full_virtual_file() for reading virtual files in sysfs, procfs (bsc#1133495)
|
||||||
|
8a1bb5c66b swap: do not make swap units wanted by its device unit anymore
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 29 10:35:03 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Import commit 5df9000899ef7d45ddbcacd0fdf73afa07a40f6b
|
||||||
|
|
||||||
|
f0ed7237e4 udev/cdrom_id: Do not open CD-rom in exclusive mode. (bsc#1154256)
|
||||||
|
b37054aa5a compat-rules: escape '$' when used for shell expansion
|
||||||
|
|
||||||
|
Changes from the v243-stable:
|
||||||
|
|
||||||
|
ef677436aa test: Pass personality test even when i686 userland runs on x86_64 kernel
|
||||||
|
3f6398c450 docs: fix inadvertent change in uid range
|
||||||
|
25bb377a73 cgroup: fix typo in BPF firewall support warning message
|
||||||
|
6d97aca0d5 fix build with compilers with default stack-protector enabled
|
||||||
|
fbad077cec nspawn: surrender controlling terminal to PID2 when using the PID1 stub
|
||||||
|
0553c3c668 pid1: fix DefaultTasksMax initialization
|
||||||
|
f406a691a7 src/core/automount: use DirectoryMode when calling mkdir -p
|
||||||
|
20438f96c3 udevadm trigger: do not propagate EACCES and ENODEV
|
||||||
|
6480630bc3 hwdb: Correct WWWW Pattern In Documentation Comment
|
||||||
|
9d8e889810 nspawn: consistenly fail if parsing the environment fails
|
||||||
|
40e169b304 nspawn: default to unified hierarchy if --as-pid2 is used
|
||||||
|
b5df1037a0 cgroup: Mark memory protections as explicitly set in transient units
|
||||||
|
f14e3e02cc cgroup: Respect DefaultMemoryMin when setting memory.min
|
||||||
|
ea248e53bf cgroup: Check ancestor memory min for unified memory config
|
||||||
|
de1d25a506 cgroup: docs: memory.high doc fixups
|
||||||
|
2ab45f38d8 cgroup: docs: Mention unbounded protection for memory.{low,min}
|
||||||
|
19a43dc38a Consider smb3 as remote filesystem
|
||||||
|
5c0224c7bf Handle d_type == DT_UNKNOWN correctly
|
||||||
|
8282bc61df util-lib: Don't propagate EACCES from find_binary PATH lookup to caller
|
||||||
|
9d0ae987a6 network: drop noisy log message
|
||||||
|
f67f0e4ec4 Updated log message when the timesync happens for the first time (#13624)
|
||||||
|
e151bf4674 units: make systemd-binfmt.service easier to work with no autofs
|
||||||
|
2b8e574d82 Corect man page reference in systemd-nologin.conf comments
|
||||||
|
a0577353f1 man: Add a missing space in machinectl(1)
|
||||||
|
693e983988 log: Add missing "%" in "%m" log format strings
|
||||||
|
ea7151b8c4 pid1: do not warn if /run/systemd/relabel-extra.d/ doesn't exist
|
||||||
|
b90549290e man: fix typo
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 22 22:25:34 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Tue Oct 22 22:25:34 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -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.91.g428b937f91
|
%define suse_version +suse.126.gb7467b7b55
|
||||||
|
|
||||||
%bcond_with gnuefi
|
%bcond_with gnuefi
|
||||||
%if 0%{?bootstrap}
|
%if 0%{?bootstrap}
|
||||||
@ -164,7 +164,6 @@ Source200: scripts-udev-convert-lib-udev-path.sh
|
|||||||
# broken in upstream and need an urgent fix. Even in this case, the
|
# broken in upstream and need an urgent fix. Even in this case, the
|
||||||
# patches are temporary and should be removed as soon as a fix is
|
# patches are temporary and should be removed as soon as a fix is
|
||||||
# merged by upstream.
|
# merged by upstream.
|
||||||
Patch1: 0001-compat-rules-escape-when-used-for-shell-expansion.patch
|
|
||||||
Patch2: 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch
|
Patch2: 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user