daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
b9a53a
From 1bf923686a6842f222b1ef5f5174511340c75685 Mon Sep 17 00:00:00 2001
b9a53a
From: Jan Synacek <jsynacek@redhat.com>
b9a53a
Date: Tue, 1 Oct 2019 08:45:08 +0200
b9a53a
Subject: [PATCH] Consider smb3 as remote filesystem
b9a53a
b9a53a
Currently systemd will treat smb3 as local filesystem and cause
b9a53a
can't boot failures. Add smb3 to the list of remote filesystems
b9a53a
to fix this issue.
b9a53a
b9a53a
Signed-off-by: Kenneth D'souza <kdsouza@redhat.com>
b9a53a
b9a53a
(cherry picked from commit ff7d6a740b0c6fa3be63d3908a0858730a0837c5)
b9a53a
b9a53a
Resolves: #1757257
b9a53a
---
b9a53a
 src/basic/mount-util.c | 1 +
b9a53a
 1 file changed, 1 insertion(+)
b9a53a
b9a53a
diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c
b9a53a
index 3670b7f591..5b04e21f34 100644
b9a53a
--- a/src/basic/mount-util.c
b9a53a
+++ b/src/basic/mount-util.c
b9a53a
@@ -603,6 +603,7 @@ bool fstype_is_network(const char *fstype) {
b9a53a
         return STR_IN_SET(fstype,
b9a53a
                           "afs",
b9a53a
                           "cifs",
b9a53a
+                          "smb3",
b9a53a
                           "smbfs",
b9a53a
                           "sshfs",
b9a53a
                           "ncpfs",