linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Henrique Martins <linux@martins.cc>
To: Steve Dickson <SteveD@redhat.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: nfs-utils.spec patch
Date: Thu, 14 Aug 2014 07:13:45 -0700	[thread overview]
Message-ID: <30079.1408025625@monster.martins.cc> (raw)
In-Reply-To: <53EC7F12.7000608@RedHat.com>

>> but maybe there should be some debate whether to ignore
>> exportfs errors when starting nfs as the default, which
>> just requires adding a couple of '-' to the systemd
>> service file.

> What would be the reasoning? If there is nothing exported
> why come up cleanly?

The "reasoning" is why I filed:
  https://bugzilla.redhat.com/show_bug.cgi?id=1115179
and explained "it" in comment #2
  https://bugzilla.redhat.com/show_bug.cgi?id=1115179#c2

I have a few machines in a laptop's /etc/exports, some only
resolve when I'm connected to the net at work, some only
resolve when I'm connected to the net at home.  With the
default service file nfs always fails to start...

>> A more complicated approach (would require code changes as
>> opposed to configuration changes) would be to not error out
>> if there is at least one exported mount point.

> More complexity than needed... IMHO...

... and thus the need for the complexity to make it clean,
i.e. as long as there is a machine on the particular net I'm
connected to, that can nfs mount the laptop, nfs server
should start and not require me to do some manual editing of
/etc/exports, or write a script to take care of that.

-- Henrique

      reply	other threads:[~2014-08-14 14:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-1115179-43722@bugzilla.redhat.com>
     [not found] ` <bug-1115179-43722-GPTO0t3XWU@bugzilla.redhat.com>
2014-08-03 14:34   ` nfs-utils.spec patch Henrique Martins
2014-08-13 13:59     ` Steve Dickson
2014-08-13 15:08       ` Henrique Martins
2014-08-14  9:19         ` Steve Dickson
2014-08-14 14:13           ` Henrique Martins [this message]

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=30079.1408025625@monster.martins.cc \
    --to=linux@martins.cc \
    --cc=SteveD@redhat.com \
    --cc=linux-nfs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).