Consider smb3 as remote filesystem
authorKenneth D'souza <kdsouza@redhat.com>
Mon, 30 Sep 2019 10:31:21 +0000 (16:01 +0530)
committerMichael Biebl <biebl@debian.org>
Fri, 15 Nov 2019 21:01:17 +0000 (21:01 +0000)
Currently systemd will treat smb3 as local filesystem and cause
can't boot failures. Add smb3 to the list of remote filesystems
to fix this issue.

Signed-off-by: Kenneth D'souza <kdsouza@redhat.com>
(cherry picked from commit ff7d6a740b0c6fa3be63d3908a0858730a0837c5)
(cherry picked from commit 19a43dc38a136d2e95ae79ee1cd28335557216b9)

Gbp-Pq: Name Consider-smb3-as-remote-filesystem.patch

src/basic/mountpoint-util.c

index cb8ddccecde63304d55f9bf4b8a040002651977b..74cf139aaf52de64ffcd5924ddf35659d1daa92f 100644 (file)
@@ -298,6 +298,7 @@ bool fstype_is_network(const char *fstype) {
         return STR_IN_SET(fstype,
                           "afs",
                           "cifs",
+                          "smb3",
                           "smbfs",
                           "sshfs",
                           "ncpfs",