#858985 wireshark: Does not read global configs from /etc

Package:
wireshark
Source:
wireshark
Description:
network traffic analyzer - meta-package
Submitter:
Alexander GQ Gerasiov
Date:
2023-07-15 08:48:04 UTC
Severity:
normal
Tags:
#858985#5
Date:
2017-03-29 10:23:24 UTC
From:
To:
There are some configuration files in /etc/wireshark, but wireshark itself ignores it.

Here goes strace:

egrep '(preferences|wireshark.conf|init.lua)' /tmp/ws.open
4872  open("/usr/share/wireshark/init.lua", O_RDONLY) = 25
4872  open("/usr/share/wireshark/preferences", O_RDONLY) = -1 ENOENT (No such file or directory)
4872  open("/usr/share/wireshark/wireshark.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
4872  open("/home/gq/.wireshark/preferences", O_RDONLY) = 25

#858985#10
Date:
2023-07-15 08:45:22 UTC
From:
To:
Hi Alexander,

2017-03-29 12:23 GMT+02:00 Alexander GQ Gerasiov <gq@debian.org>:

$ ls /etc/wireshark/
init.lua
$ ls -alh /usr/share/wireshark/init.lua
lrwxrwxrwx 1 root root 23 Mar  9 08:33 /usr/share/wireshark/init.lua
-> /etc/wireshark/init.lua

init.lua is the only shipped global config file and it is read.
I guess you mean if you create such files they are not read.

Cheers,
Balint