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

Chuck Lever chuck.lever at oracle.com
Mon Nov 7 18:20:52 PST 2011


On Nov 7, 2011, at 9:08 PM, Jeff Layton wrote:

> 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.

I can update rpcfedfsd, but do you happen to know what is needed for the new systemd config file to use /etc/sysconfig/fedfs ?

>>> 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>

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com







More information about the fedfs-utils-devel mailing list