should file ncrack-services go to /etc?

Till Maas opensource at till.name
Mon Sep 21 21:24:31 UTC 2009


On Mon, Sep 21, 2009 at 04:58:32PM -0400, Casey Dahlin wrote:
> On 09/21/2009 04:04 PM, Till Maas wrote:
> > On Mon, Sep 21, 2009 at 08:47:24PM +0200, Martin Gieseking wrote:
> > 
> >> during the review of ncrack  
> >> (https://bugzilla.redhat.com/show_bug.cgi?id=523199) I noticed that the  
> >> file ncrack-services is placed in /usr/share/ncrack by default. Since it  
> >> is a kind of configuration file that contains mappings between port  
> >> numbers and protocol names (similar to /etc/services), I'm not sure  
> >> whether the location /usr/share/ncrack is OK or whether it's required to  
> >> move it to /etc. Here's its content:
> > 
> > Imho it does not need to be moved to /etc, because it should only be
> > edited by experienced users and then the user can specify a the edited
> > file at the commandline.
> > 
> 
> Neither of which are factors considered by the FHS.

Since the file is not meant to be edited, it is not a host-specific
config file, but a package version specific config file, which is
managed by upstream and not by the user. So from the users point of
view, it's more a data file than a config file.

Btw. as far as I understand the program, if the config file is changed,
then an addional module, which is written in C++, that covers the new
service needs to be added, too.

Regards
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090921/e76eb3ac/attachment.sig>


More information about the fedora-devel-list mailing list