On 03/27/2012 02:40 PM, Mr Dash Four wrote:
> 
>>>>> You've lost me! In that Fedora rc file, you have 
>>>>> "SYSCONFFILE=sysconfig", which gets installed in $SYSCONFDIR, so the 
>>>>> whole file name, including the path is /etc/sysconfig/sysconfig (made of 
>>>>> $SYSCONFDIR/$SYSCONFFILE), which I think is wrong - it should be 
>>>>> /etc/sysconfig/shorewall, hence my suggestion "SYSCONFFILE=$PRODUCT".
>>>>>     
>>>>>         
>>>> The installed filename is ALWAYS $PRODUCT; the installers don't need a
>>>> setting for that.
>>>>   
>>>>       
>>> OK, lets start again - what is the purpose of $SYSCONFFILE then? I 
>>> always thought that it is the name of the file which gets installed in 
>>> $SYSCONFDIR, isn't that so?
>>>
>>>     
>>
>> Yes. Debian ALWAYS requires such a file and all products except
>> Shorewall-core include a default.debian file. In Shorewall-init, Redhat
>> also requires such a file which is different from the Debian one.
>>   
> I have no objections to exclude the use of that file (well, I do, but 
> hear me out), I have objections to its name - according to the Fedora 
> rc, this file would be called "sysconfig" and will be installed in 
> /etc/sysconfig, so the whole path would be /etc/sysconfig/sysconfig, 
> which is, quite frankly ridiculous! The default value of SYSCONFFILE 
> should be either plain old "shorewall" or "$PRODUCT", but definitely not 
> "sysconfig", so that, when installed the whole path would be 
> /etc/sysconfig/shorewall or /etc/sysconfig/$PRODUCT. Do you understand now?

I understand -- you don't.

On Fedora, the file ./sysconfig will be installed as
/etc/sysconfig/$PRODUCT. On Debian, the file default.debian will be
installed as /etc/default/$PRODUCT (SYSCONFDIR = /etc/default on Debian).

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to