bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

254
active users

#systemd

3 posts3 participants0 posts today

Ok #Linux nerds and neckbeards. Why does #Systemd list this (when using completion) even tho it's not existed for 10yrs on my system, is nowhere, and doesn't come up in list-units/list-unit-files.

Again, this file or pkg doesn't exist anywhere on my system and hasn't for 10 yrs. Maybe just a side effect of having a 10yr old install 👴

If I write systemctl status --all in the terminal I can see some writing about old units like "Unit ntpsec.service could not be found." or something like that.
So the question is, where does #systemd get it from? I haven't had ntpsec for a long time.
and there are no unit files left in the system, but for some reason systemd remembers them and searches for them for some reason, and throws an error.

Replied to KaiXin
I believe you could let #NetworkManager set /etc/resolv.conf with data it receives from DHCP for each connection. Removing the symlink, or pointing it to /run/NetworkManager/no-stub-resolv.conf, and then systemctl restart NetworkManager.service would do it. Maybe you also have to change /etc/NetworkManager/NetworkManager.conf before that. For details, see NetworkManager.conf manual page on options dns and rc-manager.

#Debian #systemd
manpages.debian.orgNetworkManager.conf(5) — network-manager — Debian unstable — Debian Manpages

I just found this website about systemd: systemd-by-example.com/

It's a teaching website and playground to learn how to do dependency management with systemd units.

You can follow the instructions locally with a podman container or play with how the example systemd units interact on the website.

systemd-by-example.comsystemd by example - the systemd playground
More from Sebastian Jambor

makadamia:~ # mount -o bind / /mnt
makadamia:~ # mount -o bind / /mnt
Broadcast message from systemd-journald@makadamia (Sat 2025-04-05 22:32:53 CEST):

#systemd[1]: Caught <ABRT>, from our own process.

Broadcast message from systemd-journald@makadamia (Sat 2025-04-05 22:32:53 CEST):

systemd[1]: Freezing execution.

@pid_eins I can imagine why it happens. But is it expected? Or should it be handled more gracefully?

I might as well be the first few to be affected the recently dropped systemd-resolved.service in #Debian. I daily use #Debian sid and as a part of today's update, systemd-resolved.service was removed. I had to systemctl restart systemd-resolved.service every time I use VPN to connect to workplace network, which stopped working after the removal, reporting DNS resolution failure. I had to remove the softlinked /etc/resolv.conf to /run/systemd/resolve/resolv.conf and manually add some entries according to the content of /run/systemd/resolve/resolv.conf and restart network services. Thank god /run/systemd/resolve/resolv.conf was still there. #FOSS #systemd