Comments (4)
Fixed in fdns, need to port it to firetools. There is an up to 10s delay until the monitor detects fdns went down.
from fdns.
@startx2017 Thanks for the work on this. The monitor now makes much more sense. But /dev/shm/fdns.stats still stays present after fdns stop (at least on Arch Linux, haven't tested Ubuntu yet). Maybe that's the 'new' intended behaviour? As stated above it can be easily cleaned up in the systemd service via a simple ExecStopPost command. But users that don't use the systemd service will have to take some other action.
from fdns.
But /dev/shm/fdns.stats still stays present after fdns stop
If the user does a "sudo pkill fdns" we get a chance to remove the file by intercepting the signal before the process gets killed. However if the kernel decides to kill the process (equivelent to kill -9), the process will just be killed without receiving a signal first.
I'll bring in the signal part, but let's put in ExecStopPost also, is like a best effort.
from fdns.
... let's put in ExecStopPost also, is like a best effort
Done in bd89850. We can adjust the ExecStopPost command later when the signal part is implemented. Although 'rm -f /dev/shm/fdns-stats' does the job for now, it would be cleaner to have something like '/usr/bin/fdns --clear-stats'. Just a thought...
from fdns.
Related Issues (20)
- Update service ports for Quad9 DNS services HOT 1
- FDNS available for other platform ? HOT 5
- build from git master broken HOT 2
- Enhancement picking fastest proxy in the list -not only closest HOT 8
- Failed to start Firejail DoH Proxy Server on Raspberry PI (boot) HOT 8
- Fedora: "Failed to enable unit: Unit file fdns.service does not exist." HOT 4
- fdns and network sandbox - how to get them work together ? HOT 4
- fdns resolver processes getting killed by seccomp - syscall 270 (pselect6) HOT 6
- fdns too many in-addr.arpa (PTR), dropped
- linux mint 21
- creative commons redirects to a domain listed in adblocker
- Add support for libssl 3?
- fdns resolver process 0 killed by seccomp - syscall 11 (munmap) HOT 1
- How to report false positives? HOT 1
- warning: 'ERR_load_BIO_strings' is deprecated: Since OpenSSL 3.0
- fdns does not properly whitelist websites with an electron app HOT 4
- Latest coinblocker list update contains invalid entrees HOT 1
- Removal of blocklist HOT 4
- tests cannot be run in buildroot HOT 1
- Re-enable systemd service file installation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fdns.