From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 90C3D138334 for ; Mon, 2 Sep 2019 07:08:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D98E3E0883; Mon, 2 Sep 2019 07:08:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BEF60E0883 for ; Mon, 2 Sep 2019 07:08:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D86A834AA09 for ; Mon, 2 Sep 2019 07:08:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2D71781 for ; Mon, 2 Sep 2019 07:08:44 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1567408093.71ce315b0913d1562f8c7cfb0e018d3f9e39b60e.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/nfs-utils/files/nfs.initd X-VCS-Directories: net-fs/nfs-utils/files/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 71ce315b0913d1562f8c7cfb0e018d3f9e39b60e X-VCS-Branch: master Date: Mon, 2 Sep 2019 07:08:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 14d7c52d-8c55-428a-86fb-fff95c5a60ec X-Archives-Hash: 0cd22d3a58fd97cb3a88d3c09bb7a8b8 commit: 71ce315b0913d1562f8c7cfb0e018d3f9e39b60e Author: Matt Turner gentoo org> AuthorDate: Mon Sep 2 06:07:43 2019 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Sep 2 07:08:13 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ce315b net-fs/nfs-utils: Handle quoted export directories exports(5) says Blank lines are ignored. A pound sign ("#") introduces a comment to the end of the line. Entries may be continued across newlines using a backslash. If an export name contains spaces it should be quoted using double quotes. You can also specify spaces or other unusual character in the export name using a backslash followed by the character code as three octal digits. Thus, allow an optional single double-quote character before the /. Closes: https://bugs.gentoo.org/675648 Signed-off-by: Matt Turner gentoo.org> net-fs/nfs-utils/files/nfs.initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/nfs-utils/files/nfs.initd b/net-fs/nfs-utils/files/nfs.initd index bf599021c9a..59120629be3 100644 --- a/net-fs/nfs-utils/files/nfs.initd +++ b/net-fs/nfs-utils/files/nfs.initd @@ -84,7 +84,7 @@ start() { # Exportfs likes to hang if networking isn't working. # If that's the case, then try to kill it so the # bootup process can continue. - if grep -qs '^[[:space:]]*/' /etc/exports /etc/exports.d/*.exports ; then + if grep -qs '^[[:space:]]*"\?/' /etc/exports /etc/exports.d/*.exports ; then ebegin "Exporting NFS directories" ${exportfs} -r & waitfor_exportfs $!