-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
Freeze on xfce4-startup #982
Comments
Hi @christianhauff , This issue will be probably caused by localhost connections being blocked. Could you save the following rule under {
"created": "2023-07-05T10:46:47.904024069+01:00",
"updated": "2023-07-05T10:46:47.921828104+01:00",
"name": "000-aallow-localhost",
"enabled": true,
"precedence": true,
"action": "allow",
"duration": "always",
"operator": {
"type": "regexp",
"operand": "dest.ip",
"sensitive": false,
"data": "^(127\\.0\\.0\\.1|::1)$",
"list": []
}
} |
Thank you, that solved it! There was an allow-event logged now, |
that's a wise decision :) There're certain binaries that communicate in localhost: xbrlapi, dirmngr, kwin, kdeinit5, and some others. Some are part of the Xorg/Desktop Environments and causes these issues. We've been recently discussing if distributing by default a rule to allow localhost connections: #965 I think it's time to do it. |
I guess there are also situations where you don't want a program to communicate with a specific localhost port, so allowing localhost in general is probably also not the best solution, but that's a discussion for the issue you referred to... |
I am running opensnitch on manjaro with xfce4, and in the past it has been working without a problem. One day when booting my system, I entered my password on the login screen of xfce, my desktop background appears and then nothing happens anymore, no matter how long you wait.
I bootet into a live-system, entered chroot and studied the logs. Unfortunately, that's a few months ago, and I can't tell anymore what led me to assume that opensnitchd is responsible, but I disabled the systemctl-service for it and after that, my xfce started without any problems.
Since then, I always started the opensnitchd-service manually on every startup (with
sudo systemctl start opensnitchd.service
) and that was running without any issues, when I tried enabeling it on startup again today, the issue occured again, service enabled on startup -> xfce freezes after login, live system, chroot, disable service, reboot -> everything works again.In my journalctl is nothing but the
Starting opensnitch-daemon v1.5.8
andLoading rules from /etc/opensnitchd/rules ...
There is nothing of interest in
/var/log/opensnitchd.log
eitherI am running Manjaro Linux with xfce4, Kernel Version 6.1.31-2-MANJARO (I changed the kernel since the problem initially occured and it is still present).
Steps to reproduce the behavior:
sudo systemctl enable opensnitchd.service
reboot
Maybe anyone has an idea on how to debug that issue
The text was updated successfully, but these errors were encountered: