-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install fails with permission denied error #22
Comments
As the log showed the error, it is related to the zeekctl which does not have write permission. And in this case, the zeek package for pfSense will not work too. Related to #23 #24 #25 . |
What details do you need? |
What's the version of your pfSense box? |
Newest stable release, 2.5.1
…On Tue, Apr 27, 2021, 1:46 AM Prosper DOKO ***@***.***> wrote:
What's the version of your pfSense box?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFBDG6PVTQHOSZ44NKB7DDTKZ2WZANCNFSM43PEASHA>
.
|
What’s the status on this fix? I’m still running into it |
Yes, I'm running into it too, the Zeek version has changed but the bug is
still there.
Il giorno sab 26 giu 2021 alle ore 18:45 mymrrobot ***@***.***>
ha scritto:
… What’s the status on this fix? I’m still running into it
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANJ5ZVG6ZXWIRZ5CVJWJBTDTUX7ZZANCNFSM43PEASHA>
.
--
*Valerio Bellizzomi*
*System Experiments Laboratory*
Via Marilyn Monroe, 47 - 00128 Roma
Mob. +39 371 1428964
Tel. +39 06 5080770
*“Le informazioni contenute nella presente comunicazione e i relativi
allegati contenuti in questo messaggio sono strettamente riservati ed
esclusivamente indirizzate al destinatario indicato. Vogliate tener
presente che qualsiasi uso, riproduzione o divulgazione di questo messaggio
è vietata. Se questa comunicazione Vi è pervenuta per errore, siete pregati
di informare il mittente rispondendo a questa mail. La diffusione,
distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi
soggetto diverso dal destinatario è proibita, sia ai sensi dell’art. 616
c.p. , che ai sensi del Regolamento UE 679/2016.”*
|
It has been fixed now. |
Nope... Still happens on pfSense 2.5.2. Checking integrity... done (0 conflicting)
|
Are you connected as a root user when installing the package? |
Yes I am. |
What is the version of your pfSense box? |
2.5.2 freshly installed |
Okay. I will check. |
Still an issue today. with open(fname, "r") as f: pfSense-pkg-zeek: 3.0.6.3 |
Yeah, this does not work. The dev keeps saying it is fixed but everyone
keeps reporting the exact same issue. It does not work.
…On Thu, Sep 16, 2021 at 8:42 AM Albert Zsigovits ***@***.***> wrote:
Still an issue today.
with open(fname, "r") as f:
PermissionError: [Errno 13] Permission denied: '/usr/local/etc/zeekctl.cfg'
[7/7] Installing pfSense-pkg-zeek-3.0.6_3...
[7/7] Extracting pfSense-pkg-zeek-3.0.6_3: ......... done
pfSense-pkg-zeek: 3.0.6.3
zeek: 4.0.2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFBDG7SWPSMUPSB2ZNJHYDUCIF5NANCNFSM43PEASHA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I've got Zeek running on pfSense 2.5.2 after running into many of the issues described in this thread and others.
Zeek also uses networks.cfg, but I didn't have to rename it. I'm not sure what the issue is, but the system seems to have problems writing to the files deployed by the package. I initially tried modifying the files permissions, but that didn't have any effect. After renaming the old files and letting the GUI PHP code write new files, I can't see any difference in ownership or permissions. |
New packages to be INSTALLED:
bash: 5.1.4 [pfSense]
ipsumdump: 1.86 [pfSense]
lbl-cf: 1.2.5 [pfSense]
lbl-hf: 1.9 [pfSense]
pfSense-pkg-zeek: 3.0.6_1 [pfSense]
zeek: 3.0.12_2 [pfSense]
Number of packages to be installed: 6
The process will require 73 MiB more space.
11 MiB to be downloaded.
[1/6] Fetching pfSense-pkg-zeek-3.0.6_1.txz: ... done
[2/6] Fetching zeek-3.0.12_2.txz: .......... done
[3/6] Fetching lbl-hf-1.9.txz: ... done
[4/6] Fetching lbl-cf-1.2.5.txz: . done
[5/6] Fetching bash-5.1.4.txz: .......... done
[6/6] Fetching ipsumdump-1.86.txz: .......... done
Checking integrity... done (0 conflicting)
[1/6] Installing lbl-hf-1.9...
[1/6] Extracting lbl-hf-1.9: ..... done
[2/6] Installing lbl-cf-1.2.5...
[2/6] Extracting lbl-cf-1.2.5: ..... done
[3/6] Installing bash-5.1.4...
[3/6] Extracting bash-5.1.4: .......... done
[4/6] Installing ipsumdump-1.86...
[4/6] Extracting ipsumdump-1.86: ......... done
[5/6] Installing zeek-3.0.12_2...
===> Creating groups.
Creating group 'zeek' with gid '782'.
===> Creating users
Creating user 'zeek' with uid '782'.
[5/6] Extracting zeek-3.0.12_2: .......... done
Traceback (most recent call last):
File "/usr/local/bin/zeekctl", line 810, in
sys.exit(main())
File "/usr/local/bin/zeekctl", line 777, in main
loop = ZeekCtlCmdLoop(ZeekCtl, interactive, cmd)
File "/usr/local/bin/zeekctl", line 25, in init
self.zeekctl = zeekctl_class(ui=self)
File "/usr/local/lib/zeekctl/ZeekControl/zeekctl.py", line 69, in init
self.config = config.Configuration(self.zeekbase, cfgfile, zeekscriptdir, self.ui, state)
File "/usr/local/lib/zeekctl/ZeekControl/config.py", line 70, in init
self.config = self._read_config(cfgfile)
File "/usr/local/lib/zeekctl/ZeekControl/config.py", line 588, in _read_config
with open(fname, "r") as f:
PermissionError: [Errno 13] Permission denied: '/usr/local/etc/zeekctl.cfg'
[6/6] Installing pfSense-pkg-zeek-3.0.6_1...
[6/6] Extracting pfSense-pkg-zeek-3.0.6_1: ......... done
Saving updated package information...
done.
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...done.
Executing custom_php_resync_config_command()...done.
Menu items... done.
Services... done.
Writing configuration... done.
Message from zeek-3.0.12_2:
--
The rc.d script now honors the zeek_user rc.d variable. To run as
a user other than root (the default) you need to make a few changes.
For example to run as the user zeek, add this to /etc/rc.conf:
Add this to /etc/devfs.conf:
And add zeek to the bpf group:
and restart the devfs service:
or reboot.
If the interface defined in node.cfg is configured for NIC checksum
offloading (the default when this feature is supported by the
hardware) you will want to set ignore_checksums in site/local.zeek:
=====
Message from pfSense-pkg-zeek-3.0.6_1:
--
Please visit Services > Zeek NSM menu to configure the package.
The text was updated successfully, but these errors were encountered: