On 05/16/2017 10:15 AM, Supriti Singh wrote:
> I have another question. Why are we using the name "ganesha" and not the 
> package name "nfs-ganesha" for the service file.
> It may happen that there is another package named "ganesha" (not yet but 
> a possibility).
> Also, it will be better to have uniform name.

Hi,

Certainly.

The nfs-ganesha.spec-in.cmake in the next and 2.4-stable branches 
installs .../src/scripts/systemd/nfs-ganesha.service as nfs-ganesha.service.

And all Fedora, CentOS Storage SIG, and Red Hat products use 
nfs-ganesha.service as well. I haven't yet gotten to building community 
packages of nfs-ganesha for SLES12 and Leap42 in the OpenSuSE Build 
Service, but when I get to it, it'll be nfs-ganesha.service there too.

Apart from the daemon being (/usr/bin/)ganesha.nfsd I believe we're 
consistently using nfs-ganesha everywhere.

However you got to a state where you're not using nfs-ganesha.service, I 
think it's safe to change it to nfs-ganesha.service.

(It would be nice to have cmake generate Makefiles that install the 
init.d or systemd files, rather than having the install logic in the 
.spec file.)

> 
> 
> ------
> Supriti Singh
> SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
> HRB 21284 (AG Nürnberg)
> 
>>>> "Supriti Singh" <supriti.si...@suse.com> 05/05/17 9:44 PM >>>
> It seems my spec file was not correct. Hence, nfs-ganesha service was 
> not getting installed as ganesha at /etc/sysconfig.
> It was a bit confusing because of two different names: nfs-ganesha and 
> ganesha.
> 
> 
> ------
> Supriti Singh
> SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
> HRB 21284 (AG Nürnberg)
> 
>>>> Daniel Gryniewicz <d...@redhat.com> 05/05/17 9:25 PM >>>
> FWIW, we should probably rename scrips/sysconfig/nfs-ganesha to
> scripts/sysconfig/ganesha, since the .spec file renames it on install,
> and it bit someone here trying to generate .debs.
> 
> Daniel
> 
> On 05/05/2017 10:44 AM, Soumya Koduri wrote:
>>
>>
>> On 05/05/2017 07:04 PM, Supriti Singh wrote:
>>> Hello,
>>>
>>> In the file scripts/systemd/nfs-ganesh.service the EnviromentFile
>>> expected is named "ganesha". But the file in systemd/sysconfig is named
>>> "nfs-ganesha". Is it intentional?
>>>
>>
>> yes. That file gets generated at runtime by nfs-ganesha-config.service
>> -> /usr/libexec/ganesha/nfs-ganesha-config.sh
>>
>> Thanks,
>> Soumya
>>
>>> Thanks,
>>> Supriti
>>>
>>> ------
>>> Supriti Singh
>>> SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
>>> HRB 21284 (AG Nürnberg)
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>
>>>
>>>
>>> _______________________________________________
>>> Nfs-ganesha-devel mailing list
>>> Nfs-ganesha-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Nfs-ganesha-devel mailing list
>> Nfs-ganesha-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>>
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Nfs-ganesha-devel mailing list
> Nfs-ganesha-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Nfs-ganesha-devel mailing list
> Nfs-ganesha-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to