systemd

  1. L

    System stopped booting due to systemd failing to start some services, can't boot into recovery mode either

    My system (linux version 6.1.0-kali9-amd64 ([email protected]) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1kali1 (2023-05-12)) stopped booting suddenly and I can't figure out the cause (have been using the system for quite some...
  2. D

    Failed to write entry to system.journal

    Hi, after fresh installation of Ubuntu 24.04.1 LTS I've encountered issues like: Failed to write entry to /var/log/journal/.../system.journal Failed to rotate /var/log/journal/.../system.journal: Read-only file system Failed to start systemd-resolved.service - Network Name Resolution...
  3. CaffeineAddict

    Solved systemd commands

    On my journey to harvest as many terminal commands as possible I'm currently looking for a complete list of systemd commands. So far I have these: sysctl systemctl networkctl timedatectl hostnamectl journalctl loginctl machinectl bluetoothctl systemd-analyze coredumpctl Where can I find a...
  4. CaffeineAddict

    Solved What if systemd timer is missed due to system being shut down?

    I see if cron job is set to run when system is shut down then it will not run: https://serverfault.com/questions/52335/job-scheduling-using-crontab-what-will-happen-when-computer-is-shutdown-during But what about systemd timers? is behavior the same or do missed timers run as soon as system is up?
  5. M

    Systemd services crashes with error: "Main process exited, code=killed, status=11/SEGV"

    Hello, I have a custom made application built in net6.0 that I run on my Raspberry Pi Compute Module 4S Rev 1.0 controllers with Raspbian GNU/Linux 10 (buster) using systemd. Every now and then, the service crashes with error "Main process exited, code=killed, status=11/SEGV". The crash...
  6. mvrk

    rsyslog / journald - el7 vs el8

    Hi, On RHEL7 (and clones) systemd package included /etc/rsyslog.d/listen.conf: $SystemLogSocketName /run/systemd/journal/syslog which makes rsyslog get the logs from journald On RHEL8 (and clones) this file is not included anymore. Does anyone knows why? I see that on EL8 rsyslog.conf now...
  7. hal_sk

    Unable to set permanent audio output (solved)

    [SOLVED, see the end] Hello, I use my Ubuntu PC with my TV using HDMI cable for video and audio. In Ubuntu I have 2 possible audio outputs to choose from: HDMI SPDIF After I select desired HDMI option it works fine until I reboot the PC. After that, output reverts to SPDIF. Ubuntu is not...
  8. CaffeineAddict

    Solved reboot system from terminal

    To reboot system from terminal the usual reboot command did it and still does it... But on a systemd machine we can also do systemctl reboot or sudo systemctl reboot to reboot system. Other than longer typing, is there a difference or preferred method?
  9. Z

    Solved After entering systemd namespace, ssh service can't bind to ssh port because address already in use

    I installed Ubuntu 22.04.3 LTS in WSL2 according to instructions here. Then I installed SSH server according to instructions here. Then I installed ubuntu-wsl2-systemd-script to enable systemd support in WSL2. During reboot of Ubuntu in WSL2, line 45-47 of enter-systemd-namespace script enters...
  10. B

    Solved Systemctl - sysctl - systemd

    Hi! I have seen many ways to manage services in Ubuntu. Such as Systemctl - sysctl - systemd - /etc/init.d scripts and so on. Some of them seem to work always, whereas some not. ¿What is the difference among them all? Thanks!
  11. M

    systemd and boot splash page (Rpi4, Bullseye)

    I have read other threads on setting up a boot splash image (or video) and removing the boot text on boot up, but have always come across issues because of the OS (Bullseye, 11, Lite) or because of deprecated packages (omxplayer, plymouth methods don't seem to work). I'm hoping someone may have...
  12. D

    systemd, journalctl, and suspend/resume (sleep/wake): marked by default in the logs? Or how to add? And scripting around suspend/resume in general?

    ( First of all, I'm not completely sure what the official terms are. I think it's "suspend"/"resume", with "sleep"/"wake" being synonyms (and I'm not sure if there are any other common synonyms). And there's other, related-but-different stuff, namely "hibernate", which is much more rarely used...
  13. Z

    Impossible to launch tightVNC at startup

    Hello ! My system : Ubuntu 22.04.2 LTS (GNU/Linux 5.19.0-32-generic x86_64) After installing Tightvnc, I scrupulously followed the instructions to fill in a service file so that my vnc server restarts every time ubuntu starts (Recommendation from this site, and many other tests...
  14. S

    Problems with OpenSSH and SystemD

    Hello, I'm getting an issue, I'm trying to setup a reverse ssh tunnel in a systemd service,tho when launching it i get an ssh 255 Excep and Host key verif failed. However when running the command in my terminal it works normally. Here is a bit of info: My ssh command /usr/bin/ssh -vvv -N -R...
  15. sujay999

    Dictionary permission denied.

    so, I today switched to zorin from ubuntu....I had a hard disk partition for backup of my files. When I tried to access the partition there was a error...I checked the permission of the dictionary....It was written "systemd-dump". I am new to linux and I don't know what to do....please help me...
  16. R

    Why is systemd preferred for lightweight distributions.

    I would like to know why being systemd free is preferred by the distribution developers of lightweight OSes. While i do understand that init and systemd are both service intiators and in most of the article and research that i have read systemd is deemed as the better alternative and is being...
  17. D

    cgroups v2 - How to move all realtime(RT) processes to "root cgroup"?

    I have a problem adding cpu controller since command gives error : sudo echo "+cpu" >> cgroup.subtree_control bash: cgroup.subtree_control: Access Denied. Therefore, I have found a solution is that I have to move all realtime(RT) processes to root cgroup as explained in cgroupv2 documents...
  18. D

    Debian 11 & cgroups v2 - How to move all realtime(RT) processes to "root cgroup"?

    I have a problem adding cpu controller since command gives error : sudo echo "+cpu" >> cgroup.subtree_control bash: cgroup.subtree_control: Access Denied. Therefore, I have found a solution is that I have to move all realtime(RT) processes to root cgroup as explained in cgroupv2 documents...
  19. hal_sk

    [Solved] Script does not run after reboot (systemd)

    Hello, I have simple script /usr/local/bin/test.sh #!/bin/bash echo $(date) >> /home/hal/Desktop/log Then I have this service file: /etc/systemd/system/test.service [Unit] Description=Test service [Service] ExecStart=/usr/local/bin/test.sh [Install] WantedBy=multi-user.target Then I run...
  20. C

    Send screen via socket problem for systemd (I think)

    server.py import socket import cv2 import struct import numpy as np from PIL import ImageGrab from time import sleep import pickle con = socket.socket(socket.AF_INET, socket.SOCK_STREAM) con.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1) con.bind(("localhost",3344)) con.listen(1) while...
Top