`runtime stderr: creating `/etc/crowdsec/acquis.d`: openat2 `etc/crowdsec/acquis.d`: No such file or
Hi! I'm trying to setup through docker but I'm getting the following error message:
I'm using NixOS so the config is written in
nix
but I hope it's fine:
4 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve
© Created By WhyAydan for CrowdSec ❤️
I dont use nixos so I dont know how much I can help, but inside the container in the
init
script that is when the acquis.d
folder is copied across so I dont know if crun
is complaining about the host side or the container side as typically most container system creates a blank directory if the directory does not exist on the host side.hm... in my case I've already created the directory because I've already added some things acquisitions
But I'm confused why the docker container tries to access
etc/crowdsec/acquis.d
instead of /etc/crowdsec/acquis.d
ok, if I'm seeing that right, a acquis.yaml
is required
at least I'm getting a fatal error if there's no such file
but the acquis.yaml file is allowed to be empty
interesting behaviour
ok, I think I found the issue: I somehow mixed up the volumes...Resolving
runtime stderr: creating
/etc/crowdsec/acquis.d: openat2
etc/crowdsec/acquis.d: No such file or
This has now been resolved. If you think this is a mistake please run
/unresolve`