photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

244
active users

#systemd

11 posts9 participants1 post today

Hmm am I the only one who think this doesn't make much sense?

On one side, I have to make changes to network configuration using the ip utility. But then to make them persistent, I have to play with systemd-networkd stuff. The problem's that I have to learn two things. Why not have a system with which you could configure your network through the same CLI tool using the same syntax?

Not that I want to join the anti systemd train. I haven't tweaked my PC at this level before. But recently I'm doing so and I wished I didn't have to spend few hours to get the thing working. Maybe it could be good if there was a system with which you could configure networking stuff on boot using the same ip utility?

Or maybe I'm doing it the wrong way and there is a way to make changes done with ip persistent?

Any enlightening comment is welcome!

#systemd#Linux#FOSS

TIL `systemd-analyze security` shows your services with emojis and makes unit names clickable so you can pop open their configs right from the terminal. Who knew Linux came with built‑in emoji judges?

#Linux#systemd#FOSS

»Oook, ich mach kurz nen cronjob«
Cronjob läuft nicht
»Is ja gut, ich mach’s richtig und nehm nen systemd timer«
Timer läuft.

Danach seh ich ne Mail von cron, dass der Programmname nicht gefunden wurde. Habe $PATH vergessen…

Whatever, der #systemd timer lief natürlich einfach sofort. Ich sollte nicht dieser Versuchung erliegen, dass es mit diesem legacy-Zeug schneller geht. Tut's nicht. Und Systemd ist toll!

Meine Diaspora-Migration von Debian 11 auf Debian 12 verlief eigentlich reibungslos. Nach einem Datenbank-Update konnte ich das Skript problemlos starten.

Was nicht mehr funktioniert, ist das systemd-Startskript, wenn der Parameter "-lc" in der Zeile enthalten ist:

ExecStart=/bin/bash -lc "script/server"

Ohne diesen Parameter funktioniert es einwandfrei. Zumindest dachte ich das die letzten vier Tage nach dem Update.

Heute Morgen stellte ich jedoch fest, dass Diaspora (seit meinem Beitrag gestern Abend) „hing“. Es wurden keine neuen Beiträge abgerufen und der letzte Beitrag nicht gesendet.

Nach einem manuellen Neustart scheint Diaspora wieder reibungslos zu laufen.

Jetzt frage ich mich jedoch, ob dieser „Hänger“ mit dem oben genannten Parameter zusammenhängt, was er eigentlich bedeutet und ob es einen „Ersatzparameter“ für Debian 12 gibt.

The #ubuntu login loop that I encountered about a month ago is caused by specifying dependencies in a systemd automount file.

The visible symptom is a GDM login loop.

Another symptom is that /tmp/.X11-unix and /tmp/.ICE-unix will be owned gdm/gdm, instead of root/root. Changing the ownership to root/root fixes the login loop, but it returns after the next reboot.

All the gory details are spelled out here.

bugzilla.redhat.com/show_bug.c

bugzilla.redhat.com2084153 – gnome-shell crashes on login because "/tmp/.X11-unix" has the wrong ownership

I like to use #run0 instead of #sudo, but encounter problems, when having more than one user in the sudo group:

1. Minor, but annoying: On the shell, I always must choose which identity should be used. Can't it just assume the current login?

2. Opening a file in #Emacs with the run0 #TRAMP method hangs. Probably identity selection does not work in Emacs? Again, it would be cool, if it just took my current uid as default.

Any idea how to fix that? TIA!

i started to understand the reasoning behind #systemd a lot more when i remembered that some people administer not just one or two (or even a dozen) linux machines, but have networks with hundreds, if not thousands, of them, and the technical/maintenance costs of any hacks that one might otherwise accept on a more traditional system multiply to become quite serious issues at that point

Replied in thread

#Ansible and #Podman work quite well together, and there are well-supported modules for Podman pods, networks, containers, #SystemD unit creation, etc.

docs.ansible.com/ansible/lates

Not sure what you mean by “doing custom script for every service”, @fedefricoo? It seems that with or without Ansible you need to explicitly specify your custom configuration for every service, so that doesn't seem to be anything special to doing it with Ansible?

docs.ansible.comContainers.Podman — Ansible Community Documentation

Manage Linux Systemd Services Easily With Systemd-manager-tui

“Managing services on a Linux system often means typing long systemctl commands or digging through logs with journalctl. But what if you could do all that from a single, easy-to-use terminal interface? That’s where systemd-manager-tui comes in.”

...continues

See gadgeteer.co.za/manage-linux-s

Terminal interface displaying system unit statuses on Debian, highlighting active services and their states with shortcut keys listed below.
GadgeteerZA · Manage Linux Systemd Services Easily With Systemd-manager-tui"Managing services on a Linux system often means typing long systemctl commands or digging through logs with journalctl. But what if you could do all that
Replied in thread

I'm trying to figure out setting up an email (SMTP) service on my little hosted machines, so I don't need to rely on any particular mail provider.

Which leads me to thinking I really like how #Podman can generate #SystemD units to automatically manage the service containers.

And that has led me to the conclusion I probably should wait for #Debian Trixie release next month, when I can migrate past Podman 4.3.

How do you manage SMTP service for yours, @mike?

I'm sorry, but #Wayland and #Systemd are BOTH abstraction engines with boundary issues.

They even struggle against each other for control.

It's like 2 imperial bureaucrats struggling for jurisdiction over all they can with marketing minions chanting "Order", "Security", "Unity".

Predictability certainly isn't a goal, nor granular access and control.

The people will soon be answering, what's Unix? This is Linux.