Wireshark-bugs: [Wireshark-bugs] [Bug 2339] New: editable files, like init.lua, should be in sys

Date: Fri, 7 Mar 2008 15:46:43 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2339

           Summary: editable files, like init.lua, should be in sysconfdir
           Product: Wireshark
           Version: 0.99.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pva@xxxxxxxxxx


Build Information:
TShark 0.99.8

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.14.6, with libpcap 0.9.8, with libz 1.2.3, with libpcre
7.6, with SMI 0.4.7, with ADNS, with Lua 5.1, with GnuTLS 2.2.2, with Gcrypt
1.4.0, with MIT Kerberos.

Running on Linux 2.6.24-ovz002-r1, with libpcap version 0.9.8.

Built using gcc 4.2.3 (Gentoo 4.2.3 p1.0).
--

To enable lua plugin user have to edit init.lua inside pkgdatadir (see
epan/wslua/Makefile.am: dist_pkgdata_DATA = init.lua ...) but that is wrong
from the point of FHS:

http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA

The best place for such files is sysconfdir. 

Also speaking about lua it's better if local settings inside ~/.wireshark
override system defaults.

Thank you.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.