On Tue, Nov 01, 2016 at 08:25:26AM -0400, Stephen Gallagher wrote:
On 11/01/2016 08:15 AM, Jon Stanley wrote:
> On Tue, Nov 1, 2016 at 7:55 AM, Stephen Gallagher <sgallagh(a)redhat.com>
wrote:
>> I also spoke with David Lehman on IRC yesterday who noted that storaged is
>> looking at adding API for dealing with NFS shares. He indicated that if
there's
>> a strong desire for that, we should let them know so they can prioritize it.
>
> I honestly think that would obviate the need for any of this (other
> than the Cockpit UI to actually configure it), and would make for a
> more integrated user experience. Unfortunately, I'm not a C developer
> and could probably not provide direct code contributions to teach it
> NFS (would be more than willing to test/provide input/etc)
For the record, the Cockpit interaction is in JavaScript and the storaged API is
D-BUS (a language-agnostic protocol). So if there's anyone out there with some
JavaScript skills who would like to implement this, give a holler!
For what it's worth, I believe the Ganesha folks designed a D-BUS
interface to their userland NFS server. It might be worth looking at as
a starting point to configure knfsd as well? Frank, is this the right
reference?:
https://github.com/nfs-ganesha/nfs-ganesha/wiki/Dbusinterface
I'm not very familiar with it so don't necessarily endorse the idea, but
maybe it's worth looking into.
The tricky part about managing nfsd tends not be nfsd itself so much as
the other stuff (rpcbind, statd, mountd) that it depends on. For that
we just want to use systemd and benefit from all the debugging that's
gone into those unit files.
--b.