#Daemon

Felix Palmen :freebsd: :c64:zirias@bsd.cafe
2025-06-20

Oh boy, I have a lead! And it's NOT related to #TLS. I finally noticed another pattern: #swad only #crashed when running as a #daemon. The daemonizing wasn't the problem, but the default logging configuration attached to it: "fake async", by letting a #threadpool job do the logging.

Forcing THAT even when running in foreground, I can finally reproduce a crash. And I wouldn't be surprised if that was actually the reason for crashing "pretty quickly" with #LibreSSL (and only rarely with #OpenSSL), I mean, something going rogue in your address space can have the weirdest effects.

2025-06-08

Turbulent times.

It was necessary to explain that the three cookies on the baking tray are not collecting personal data.

reddit.com/comments/1l6atsf/re

Postscript: reddit.com/comments/1l6atsf/re ends the turbulence. Still, I do like the idea that Tux cookies might have collected data about what's in the oven.

#privacy #cookies #data #FreeBSD #FreshPorts #Tux #Beastie #Linux #daemon #demon #penguin #demonpenguin #pride #daemonpenguinpride @dvl

2025-06-01

Daily old piece 50!

From when I was going through an HDM phase and researched what my daemon would be :3

From 2020.


#eli's-art #art #digital-art #medibang #medibang-paint #illustration #original-art #animals #invertebrates #arthropods #arachnids #spiders #tarantula #daemon #daemonism #old-iece
Set of five digital flat color illustrations, four of a goliath bird eating tarantula called Reg and one of Reg and a person with olive skin and black hair who is wearing black framed glasses, a headscarf and a black muscle t-shirt. The one on the top left corner is of Reg waving at the viewer with their left pedipalp and saying "Howdy!". The one on the top right corner is a closeup of one of their legs, along with some text in blue font that says "Floofy spooder paws!". The one below it is one of Reg shuddering, squeezing their eyes shut and saying "Ewwwww socialising!". The one on the bottom left corner is one of Reg looking terrified, with their hair standing on end, saying "S-stay back!". The one on the bottom right corner is one of Reg sleeping on the person's head, with the person sitting on a chair with their arms crossed and also sleeping. On the top right corner there is some text in blue font that says "Daemon: Regulus (Reg). Goliath bird eating tarantula (theraphosa blondi). Gender: What." The background is very light yellow.

Serveur torrent | « transmission-daemon » | ARTICLE DE BLOG

peertube.blablalinux.be/w/x3eD

Where did computer daemons first show up? BSD? GNU Linux? UNIX? Multics?

CTSS at MIT on the IBM 7094
Project MAC CTSS crash dump:

#retrocomputing #vintagecomputing #daemon
#retrocomputing #vintagecomputing #vintage #data

CTSS crash dumpCTSS crash dumpCTSS crash dump
Felix Palmen :freebsd: :c64:zirias@bsd.cafe
2025-05-03

When writing a #daemon that follows best practices (handling of #detaching with a locked #pidfile, and #SIGHUP for #configuration #reload), an extremely simple "init script" will do (reliably!) for #FreeBSD's mewburn-rc. 😎

#C #coding #swad

FreeBSD "init script" for swad, basically just declaring some metadata for the mewburn rc framwork.
Felix Palmen :freebsd: :c64:zirias@bsd.cafe
2025-05-02

I *think* the #configuration #reload support for #swad is complete now (minus docs). But I'll have a lot to test, because it actually does a lot. 🙈

* Update several global properties like whether or not to resolve remote hosts, the route for the login endpoint, the directory where to look for custom resources (templates/style) ...
* Update the session creation rate limit ONLY on changes.
* Update all credentials checkers simply by re-creating them, here assuming the same name means the same semantics.
* Update all realms, versioning them (only when changed), as well as their and the global failed login rate limit, so the authenticator can know from the version whether something should be considered stale.
* Update all "servers" trying to do as little as possible on them: If port, hosts to bind to and protocol preference (IPv4/IPv6) stays the same, only enable/disable TLS if needed, and for enabled TLS, recreate the OpenSSL context to use a potentially changed certificate. Otherwise, do a "graceful shutdown" (stop listening, but keep connections alive) and create a NEW server.
* Attempt to reload any custom templates and a custom style.css from the resources dir.

Some settings are silently ignored on reload because there's no sane way to change them mid-flight, for example user/group to run as, the pidfile location, the threadpool configuration ...

All this also needs to be documented, plus a special pitfall when starting as root, but dropping privileges: Initial configuration happens while still privileged, so we can bind to low (privileged) ports, run the pam helper as root, and read files only root can read ... all of this could break on reloading the config. 🤪

#C #daemon #coding

OpenSauce :gentoo: :emacs:OpenSauce@fosstodon.org
2025-05-02

I finally got around to messing with the Emacs daemon and `emacsclient`, and *wow* this is snappy.
I feel like I've been using Emacs wrong this whole time!

#emacs #daemon #GNU #foss #OpenSource #Linux

2025-04-25

Wir haben einen Dämon in unserem Haus gefunden
Wir haben ja traditionell ein gutes Verhältnis zu unseren Dämonen. Hannya hatte sich versteckt wir haben sie aber als Familienmitglied auf genommen. Willkommen 般若!

word.undead-network.de/2025/04
#daemon #demon #eifersucht #envy #hannya #jealousy #neid #welcome #willkommen

般若般若
Daniel SuarezDanielSuarez
2025-04-19

TODAY is the day to get Get DAEMON eBook for just $1.99! This is a *Top Reads* Gold Box deal on Amazon Kindle.

*Applies to Rakuten Kobo too!

amazon.com/dp/B003QP4NPE/

kobo.com/us/en/ebook/daemon-2

2025-04-15

I curse you to read every word that ends with the letter D as a #daemon in the #Linux #systemd sense and then spend an ungodly amount of time trying to figure out what that daemon is for. Like, what do the programs rea, wor, and spen do?

What? I don’t want to suffer alone!

Felix Palmen :freebsd: :c64:zirias@bsd.cafe
2025-03-31

Trying to come up with my own little self-hosted #http #authentication #daemon to work with #nginx' "authentication request" facility ... first step done! 🥳

Now I have a subset of HTTP 1.x implemented in #C, together with a dummy handler showing nothing but a static hello-world root document.

I know it's kind of stubborn doing that in C, but hey, #coding it is great fun 🙈

github.com/Zirias/swad

Bc Clarity Carlton-MartinClarity@c.im
2025-03-22

When in wake up with songs before coffee, I KNOW it is gonna be an awesome day @BernardoKastrup #Daemon

KEXP 🎶 #NowPlaying BotKEXPMusicBot@mastodonapp.uk
2025-03-20

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst