[fedfs-utils] [PATCH] contrib: add a systemd service file for rpc.fedfsd

Jeff Layton jlayton at redhat.com
Mon Nov 7 18:08:09 PST 2011


On Mon, 7 Nov 2011 16:33:48 -0500
Chuck Lever <chuck.lever at oracle.com> wrote:

> 
> On Nov 4, 2011, at 8:40 PM, Jeff Layton wrote:
> 
> > On Fri, 4 Nov 2011 19:28:21 -0400
> > Chuck Lever <chuck.lever at oracle.com> wrote:
> > 
> >> Hi Jeff-
> >> 
> >> This looks OK, at first glance.  I'll drop it into 0.8 after check-in testing.
> >> 
> >> I'm not especially familiar with systemd.  Can you explain (just briefly here in e-mail) what the settings in rpcfedfsd.service do?  How would I use this file on my Fedora 15 system instead of the contrib/init-scripts/rpcfedfsd script?
> >> 
> >> Maybe we should have a contrib/README to explain what these things are for.
> >> 
> > 
> > I pretty much "borrowed" it from the example here:
> > 
> >    http://0pointer.de/blog/projects/systemd-for-admins-3.html
> > 
> > and it has a description of all the fields.
> > 
> > It works, but we might want to do some tweaking of this file eventually
> > -- maybe add a /etc/sysconfig/fedfs file where we can do things like
> > set command line arguments, etc...
> 
> My rpcfedfsd init script already looks in /etc/sysconfig/nfs.  That can be changed, though.  I guess we want fedfs to be rather more independent of NFS.
> 

Yes, I meant to mention that when I looked at the script.
/etc/sysconfig/nfs is shipped as part of the nfs-utils package
in Fedora and RHEL. We really want a separate file
here. /etc/sysconfig/fedfs would be more appropriate.

> > The systemd manpages are pretty comprehensive. A readme might not be a
> > bad idea, but systemd is still a bit of a moving target. I wouldn't
> > try to do much more than to tell people that it's for systemd and to
> > look to its documentation on how to use it.
> 
> OK.  I'll see what I can do.
> 


-- 
Jeff Layton <jlayton at redhat.com>



More information about the fedfs-utils-devel mailing list