From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/
Date: Mon, 2 Sep 2019 07:08:44 +0000 (UTC) [thread overview]
Message-ID: <1567408093.71ce315b0913d1562f8c7cfb0e018d3f9e39b60e.mattst88@gentoo> (raw)
commit: 71ce315b0913d1562f8c7cfb0e018d3f9e39b60e
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 2 06:07:43 2019 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> 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 <mattst88 <AT> 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 $!
next reply other threads:[~2019-09-02 7:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-02 7:08 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-16 19:45 [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/ Mike Gilbert
2022-09-26 12:10 Sam James
2021-04-11 15:49 David Seifert
2020-01-05 5:23 Mike Frysinger
2019-11-08 2:44 Aaron Bauman
2019-09-02 7:08 Matt Turner
2018-01-18 16:45 Mike Gilbert
2017-12-20 20:17 Thomas Deutschmann
2017-01-22 21:09 Robin H. Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1567408093.71ce315b0913d1562f8c7cfb0e018d3f9e39b60e.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox