Questions tagged [systemd]

systemd is a collection of daemons, libraries and tools for system management. Ubuntu's Upstart system was replaced with systemd starting with Ubuntu 15.04.

Filter by
Sorted by
Tagged with
0
votes
1answer
12 views

How to automount NAS drive on WiFi

I have Kubuntu 20.04 which I have connected to my (wpa2 encrypted) wifi. I have the password remembered in the system, so whenever I login to KDE the computer connects to my wifi. I also have NAS on ...
0
votes
0answers
11 views

Restart TLP service without rebooting system

TLP helps make my laptop more conservative on power when on battery power, and more performance focused when on AC. The issue is that when I want to enable/disable TLP or change some settings with ...
1
vote
2answers
29 views

ubuntu 20.04 service autostart

I have a process which I start using sudo ./whatever I want to make it a service which starts automatically. Have created a .service file and put it in the /etc/systemd/system but it won't start ...
1
vote
1answer
54 views

Systemd persistent timers do not work as expected

I am having troubles with 2 new Ubuntu 20.04 installations. Both installed on laptops, one with AMD one with Intel CPU, so since problems are the same, it seems not to be HW specific. Futhermore one ...
0
votes
1answer
41 views

Failed to activate service 'org.freedesktop.systemd1': timed out

On ubuntu 16.04.6 on trying to mask a systemd service. I am seeing errors like below. systemctl mask hadoop-hdfs-zkfc.service Failed to activate service 'org.freedesktop.systemd1': timed out I am ...
2
votes
1answer
87 views
+50

Cannot increase MySQL table_open_cache in Ubuntu 20.04

I've read both of these related questions and still stuck: https://dba.stackexchange.com/questions/86987/mysql-open-files-limit-cannot-change-this-variable/86988#86988?newreg=...
0
votes
0answers
65 views

How to prevent random logouts on Nvidia GeForce GPU (Nouveau)?

I recently replaced my old AMD Radeon video card with a GeForce GTX 650 in a PC with an AMD CPU. The card seems to work fine, however, since the replacement, Xubuntu 18.04 gets seemingly random ...
0
votes
1answer
30 views

Ubuntu 20.04 syslog warnings on suspend

Recently I've noticed that when I suspend my laptop it shows what I think to be a systemd window (could be a TTY, I'm not sure)- juts a black screen with a coursor flickering. The problem is that ...
1
vote
1answer
21 views

How can I separate UNITs in systemd & service

I wanna register 3 devices(they are USB CAN) and 1 USB to auto-run as soon as turn on my device with systemd & service in Linux(Ubuntu). I'm using Jetson nano board of Nvidia with Ubuntu 18.04 ...
0
votes
0answers
54 views

Systemd Timer Not Running Automatically After a Reboot

Courtesy of @meuh, I managed to get Ubuntu to automatically switch between the "light" Window Theme and the "dark" Window Theme (see over here)... But for some reason, systemd does not seem to be ...
0
votes
0answers
23 views

How to get script to 'always launch' on device connect?

I'm trying to run a script when a device is connected. My udev and systemd files are loaded and triggered, but will only launch the script a single time. If I disconnect and reconnect the device, the ...
0
votes
0answers
39 views

Make bootup of Ubuntu 20.04 faster

I am running Ubuntu 20.04 with 4 Gb memory (dual boot with Windows 10) in a Dell Vostro 2520 laptop (i3 - 3rd gen). The bootup for the ubuntu takes up quite a bit of my time and hence I was looking I ...
0
votes
1answer
88 views

Help with creating Systemd Timers to Automate Window Theme Changes

I am trying to get Ubuntu 20.04 LTS ("Focal Fossa") to automatically switch to the "light" Window Theme at 0600 (6AM) every morning, and the "dark" Window Theme at 1800 (6PM) every night. The ...
2
votes
2answers
67 views

Docker install failing on Ubuntu 19.10

I used to have an old version of docker on my Ubuntu Server 19.10 and it worked just fine. I have removed this old docker install and tried to install the most current version using the guide on https:...
0
votes
0answers
43 views

Kubuntu 20.04, how to set a service. Start up and shutdown

I need to set up a service for the software for my Upsilon 2000 UPS. The app is in /etc/upsilon/upsilon and commands would be /etc/upsilon/upsilon start /etc/upsilon/upsilon stop How do I run one in ...
0
votes
1answer
12 views

How to setup my systemd service ExecStart correctly?

I'm trying to setup a service with systemd services but I'm getting an error and I can't understand what's wrong with it. [Unit] Description=Vinematik Service After=network.target ...
0
votes
0answers
37 views

how to use uswsusp s2ram with systemd on ubuntu 20.04

I want to configure uswsusp s2ram to work with systemd . s2disk already works but s2ram does not. I modified /etc/systemd/system/systemd-suspend.service.d/override.conf to looks like this: [...
0
votes
0answers
13 views

After driver install vertical monitor settings will not save after reboot

I have three monitors two of which are landscape one is vertical. After installing the nvidia driver v440.64 the vertical monitor resets itself to landscape after each reboot. First i tried to ...
0
votes
0answers
43 views

Why slow startup (boot process), and how to fix?

I know that this should be fixable, because after the fresh install, the whole boot process, from GRUB to final desktop, took maybe 5-10 seconds (and this is reasonable, given that this is an ...
0
votes
0answers
20 views

How to troubleshoot cgroups device access control in Ubuntu 18.04?

In short: I would like to figure out what prevents me to access /dev/dri/card0 from GUI session. The long story: I would like to pass GPU to lxd container, but it fails with error Error: Common ...
0
votes
0answers
19 views

Start SSH in isolated rescue.target?

I'm planning a system upgrade from Eoan to Focal on a remote machine where I only have SSH access. I've previously dealt with broken packages causing the system to boot into rescue mode, so I want to ...
0
votes
0answers
22 views

How to log port assignments and opening and closing?

I am trying to find a good/easy way to log ports assignments and opening and closing them in linux. It should log at least every 10 seconds. (So crontab is not a good option=minumum interval is 1 ...
1
vote
0answers
66 views

Ubuntu 19.10 - How to set local DNS IP for local wifi connection

I recently purchased a raspberry pi and got pi-hole running on it. Unfortunately, my router does not allow me to use the raspberry pi as the network-wide DNS server so I want my laptop (Ubuntu 19.10) ...
0
votes
0answers
28 views

synaptic package manager error (errors were encountered while processing python3 and systemd)

Details; Extracting templates from packages: 100% Preconfiguring packages ... Setting up systemd (245.4-4ubuntu3) ... cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are the same ...
0
votes
1answer
125 views

Mounting /tmp as tmpfs on Ubuntu 20.04

I'd like to mount /tmp without fstab entry using tmp.mount However on Ubuntu 20.04 LTS, it doesn't seem to work. user@user-x1:~$ systemctl status tmp.mount Unit tmp.mount could not be found. user@...
0
votes
0answers
25 views

Getting dm-event.socket error during booting of the machine

Getting following systemd error while booting up. The operation system is ubuntu 20.04LTS. This error could be preexisting (I upgraded the os 3 days back): systemd[1]: dm-event.socket: Socket ...
1
vote
1answer
39 views

systemd --user: Can I mask all (non-essential) global services?

I am trying to learn more about how my desktop environment is started, especially my user services. In my current session on Ubuntu 20.04 there are several dozen services active by default most ...
1
vote
1answer
27 views

rsyslog stopped creating pid file after upgrade from 18.04 to 20.04

After upgrading from 18.04 LTS to 20.04 LTS rsyslog stopped writing its PID into /(var/)run/rsyslogd.pid file.
2
votes
1answer
150 views

Can I use systemd-homed with 20.04?

I see that Ubuntu 20.04 Focal Fossa was released with Systemd 245, which supports systemd-homed. Has someone already tried using it? Preferably with LUKS? Is it setup during installation or what steps ...
0
votes
1answer
173 views

Failed to unmount /oldroot/dev warning during the shutdown or restart

After Upgrading from 18.04 to 20.04 I've notices several warnings during shutdown or reboot like: Failed to unmount /oldroot: Device or Resource busy Failed to unmount /oldroot/dev/pts: Device or ...
0
votes
0answers
17 views

Configuring an ISP supplied IPv6 range under systemd in Ubuntu 18.04.4 LTS on a server

I have a server with OVH. It has some IPv4 addresses, and those work as expected. I would like to start supporting IPv6 as well. They supplied me with a base config that mapped a /32 IPv4 and a /64 ...
1
vote
1answer
24 views

How to prevent systemd from starting services that have RequriedBy on a particular service and/or target

I am trying to write a simple service that just checks if a USB device is connected. Below,is the unit file's content for the service: cat /etc/systemd/system/check-usb.service [Unit] Description=...
1
vote
1answer
129 views

Error messages during boot

I recently applied some software updates to my 18.04 LTS install, and I now see the following during restart: $ cat /var/log/boot.log Scanning for Btrfs filesystems UBUNTU: clean, 700970/30883840 ...
0
votes
0answers
24 views

systemctl start does not detach

I got a machine where the settings got changed too much... We try to reanable mariadb-server. Now we got this far, that after systemctl start mariadb.service the service runns. But the terminal is ...
1
vote
0answers
62 views

How to restart a systemd socket?

Problem in a nutshell: systemd creates a socket on boot, but it is not possible to restart or recreate it without a reboot. /etc/systemd/system/gunicorn.socket [Unit] Description=gunicorn socket [...
0
votes
0answers
14 views

18.04, program hangs after 30 minutes, but I need to use it anyway

I'm thinking I can stop and restart a program every 30 minutes using systemd. PocketSphinx is my only option for a wake word detector, but it hangs after about 30 min. Should I use sleep in a shell ...
1
vote
0answers
38 views

Disabling extra tty

When I boot my system, I have 6 tty (agetty). I want to keep tt1 and disable the other ones, ie tty[2-5]. How to disable all tty but tt1? My system is a Ubuntu 18.04 which I customized to be lighter. ...
0
votes
0answers
25 views

How do I check in systemd if a service/unit is using rootwrap?

Many services of my computer, like CUPS, fwupd, pacemaker, are calling rootwrap and I want to know why. I already did a ps auxwf | grep root search and stoped the process that is using rootwrap but ...
1
vote
0answers
42 views

SystemCtl Enable Seems to Depend on File Name

I have been trying to create a service file that would let me run ElasticSearch on an Ubuntu 18.04 server. I have the following two files: -rw-r--r-- 1 root root 114 Apr 14 13:43 /lib/systemd/system/...
0
votes
2answers
33 views

Installing a config file for a new service added to systemd/system dir

Installing informix config file for service described in systemd/system - config needs to go under /etc/sysconfig - but there is no such directory. Should I create the directory, if so as root and ...
0
votes
0answers
27 views

How to disable Ubuntu loading dots during shutdown?

I've added my auto-backup script as systemd unit, that performs back up each shutdown. And now I wonder if I can disable ubuntu logo and loading dots ONLY during shutdown in order to see only TTY (...
0
votes
0answers
28 views

Systemd service cannot open display

I am using systemd service to auto-run a shell script when the system boots.the shell script is used to run a python code that code includes cv2 to use the camera and it works fine when the system ...
0
votes
1answer
117 views

Multiple EnvironmentFile(s) for systemd service file

I'm using Celery alongside Django, and because I'm running into This Problem (Gunicorn not having access to OS environment variables) I've had to set EnvironmentFile=/etc/environment within my ...
1
vote
0answers
69 views

Use VPN DNS server with openvpn under 18.04, configuration of systemd-resolved unsuccessful

I have tried for our hours to setup my DNS Resolution on a Ubuntu 18.04 with no success so far .... I have an openvpn connection that is up and running and creating interface tun1. I do have some ...
0
votes
1answer
55 views

Running rclone sync on shutdown

I wanted my cloud storage sync to be performed during system shutdown. For this purpose I use rclone with MEGA cloud storage. So, thanks for guide-writers I got the next: run_on_shutdown.service: [...
0
votes
0answers
31 views

“systemd-analyze verify” not only verify my file?

# systemd-analyze verify whatever-not-exist /lib/systemd/system/dbus.socket:4: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/...
0
votes
0answers
11 views

How can systemctl display username and log file path in systemctl status?

When I run systemctl status how can I also see by what user it is running and the path of the log file.
0
votes
0answers
46 views

Connecting to systemd activated socked: Failed with result 'service-start-limit-hit'

I'm trying to use systemd activated sockets as per http://0pointer.de/blog/projects/socket-activation.html When I try to connect to my socket I get the following: test.socket - Test Socket Loaded:...
0
votes
0answers
10 views

whats the purpose of rtkit-dameon and bolt-dameon? I

I've found these daemons on every release of Ubuntu18.04 that I've tested. Are these rougue programs I'm finding under /var/tmp affecting my system performance? I've looked under https://systemd.org....
2
votes
0answers
82 views

Starting VNC server at boot with systemd

I've a Raspberry Pi 4 with Ubuntu 18.04 server. I often control it via VNC, so I create a systemd service to start vnc4server at boot, it worked well until yesterday, now the service doesn't start. If ...

1
2 3 4 5
24