I was talking about the file /etc/sysconfig/ganesha. In SUSE packaging, 
generally service file is expected to be same as package name. So, to 
use "ganesha" is a bit problematic.

Other than that, I think only logs are using the name "ganesha". As 
discussed in last concall, the only issue with changing names would be 
with backward compatibility, where users are already using the older 
files. I can also look into it, but I am not expert with packaging.

Do we plan to do it anytime soon?

Thanks,
Supriti
On 05/16/2017 05:30 PM, Daniel Gryniewicz wrote:
> I think Supriti is talking about the sysconfig file, which is installed
> by nfs-ganesha.spec-in.cmake as /etc/sysconfig/ganesha
>
> Daniel
>
> On 05/16/2017 10:45 AM, Kaleb S. KEITHLEY wrote:
>> 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
>>
>
> ------------------------------------------------------------------------------
> 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