From f679bc5a3ae05746b83c444ff3e8b6430ec5e5b5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jan 12 2023 08:29:01 +0000 Subject: import systemd-239-68.el8_7.2 --- diff --git a/SOURCES/0834-basic-recognize-pdfs-filesystem-as-a-network-filesys.patch b/SOURCES/0834-basic-recognize-pdfs-filesystem-as-a-network-filesys.patch new file mode 100644 index 0000000..219d6cc --- /dev/null +++ b/SOURCES/0834-basic-recognize-pdfs-filesystem-as-a-network-filesys.patch @@ -0,0 +1,32 @@ +From 9274a3bec0d3b259a006574f6bfb559888b04533 Mon Sep 17 00:00:00 2001 +From: Michal Sekletar +Date: Fri, 18 Nov 2022 16:16:36 +0100 +Subject: [PATCH] basic: recognize pdfs filesystem as a network filesystem + +Fujitsu advises their users to always use _netdev mount option with pdfs +mounts. Hence it makes sense to simply consider pdfs mounts as network +filesystem mounts. + +https://software.fujitsu.com/jp/manual/manualfiles/m130027/j2ul1563/02enz200/j1563-02-06-02-02.html + +RHEL-only + +Resolves: #2143100 +--- + src/basic/mount-util.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c +index e7f9e514c2..983566b46b 100644 +--- a/src/basic/mount-util.c ++++ b/src/basic/mount-util.c +@@ -634,7 +634,8 @@ bool fstype_is_network(const char *fstype) { + "glusterfs", + "pvfs2", /* OrangeFS */ + "ocfs2", +- "lustre"); ++ "lustre", ++ "pdfs"); + } + + bool fstype_is_api_vfs(const char *fstype) { diff --git a/SPECS/systemd.spec b/SPECS/systemd.spec index 7c3dd96..d5fb2f0 100644 --- a/SPECS/systemd.spec +++ b/SPECS/systemd.spec @@ -13,7 +13,7 @@ Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd Version: 239 -Release: 68%{?dist}.1 +Release: 68%{?dist}.2 # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: System and Service Manager @@ -883,6 +883,7 @@ Patch0830: 0830-logind-add-option-to-stop-idle-sessions-after-specif.patch Patch0831: 0831-logind-schedule-idle-check-full-interval-from-now-if.patch Patch0832: 0832-time-util-fix-buffer-over-run.patch Patch0833: 0833-core-move-reset_arguments-to-the-end-of-main-s-finis.patch +Patch0834: 0834-basic-recognize-pdfs-filesystem-as-a-network-filesys.patch %ifarch %{ix86} x86_64 aarch64 %global have_gnu_efi 1 @@ -1512,6 +1513,9 @@ fi %files tests -f .file-list-tests %changelog +* Mon Nov 21 2022 systemd maintenance team - 239-68.2 +- basic: recognize pdfs filesystem as a network filesystem (#2143100) + * Mon Nov 07 2022 systemd maintenance team - 239-68.1 - time-util: fix buffer-over-run (#2139390) - core: move reset_arguments() to the end of main's finish (#2127170)