• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

systemd

  1. 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...
  2. 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...
  3. 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?
  4. 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...
  5. 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!
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. JohnnyRobot

    Python Script Spawned by Cron or Systemd doesn't write files..?

    Hi all, I'm not really sure where this question should go. I'm not even sure if it's a Linux issue or a Python issue. I've written a Raspberry Pi application (Ubuntu Mate) that's essentially a timed camera. Every 30 seconds, it snaps an image and writes it to disk. When I start the...
  17. CptCharis

    dhcp, netctl & systemd

    Hello everybody !!! I have a difficulty to understand differences between dhcp, netctl and systemd, when I tried to set up static ip into my Arch installation. Googling around I found three ways to set up static ip into Arch Linux. Let's say differences between systemd and other two is more...
  18. J

    Safe to install systemd system and service manager

    I am a novice user and my system is running well. Is it safe to install systemd system and service manager update ?
  19. I

    Problem with systemctl --root= option in RHEL/CentOS 7

    It is my understanding that --root= option in systemctl command is used to explicitly specify an alternate root path to find the service unit files. On RHEL/CentOS 7, the following error occurs when attempting to use the above mentioned systemctl option: [root@server-02 system]# systemctl...
  20. A

    Journalctl. What kind of journald setting is more correct?

    journald allows you to configure yourself through a configuration file or command line. Configuration file: SystemMaxUse = - the maximum amount that logs can occupy on the disk; SystemKeepFree = - the amount of free space that should remain on the disk after saving logs; SystemMaxFileSize = -...
Top