ryantimwilson / rpms / systemd

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