Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

In my evn, some child processes are started by one systemd service, if there is something wrong with one child process and OOM is triggered by it, all the processes (all the child processes and the ...
vfivept's user avatar
  • 35
Advice
0 votes
0 replies
25 views

how to configure systemd to load essential graphics and virtualization modules early in the boot process, while deferring non-critical services & modules for manual activation later. called gpu ...
Malin Shaik's user avatar
2 votes
0 answers
98 views

I am working on a custom deployment of some open source software where some of the code needs to be modified to provide a couple additional features that are not present, so I'm working on making ...
jhyry's user avatar
  • 61
2 votes
1 answer
79 views

When I use sd_journal_open() the process balloons in memory depending on the O/S and the flags used to open the journal. I wrote a test that does nothing more than open the journal and idle in order ...
MeSteve's user avatar
  • 33
1 vote
2 answers
123 views

I am working on a project in go (which I am not very familiar with), that runs as a systemd process and spawns child processes, but whenever the systemd service is restarted, I see warnings (sometimes ...
thiago's user avatar
  • 450
-2 votes
1 answer
167 views

My task was to port debian12 to debian13. In debian13 I noticed that the website was behaving differently with Perl v5.40.1. I found out that the following line returns different values on different ...
Namal's user avatar
  • 289
1 vote
1 answer
161 views

I am trying to implement a system where I will be using podman quadlets and systemd for maintaining the service. What I tried Enabled the podman auto timer and verified Edited the podman auto timer ...
night_owl's user avatar
0 votes
1 answer
82 views

I have this script to get images from a webcam & process them via RKNN NPU #!/bin/bash # Define the temporary directory for images TEMP_DIR="/media/32GB/pics" # Define the resize/...
nightcrawler's user avatar
0 votes
1 answer
318 views

I'm refreshing the setup scripts for some home service, for a couple of years now we have had systemd-creds to manage secrets for our services. I'm missing something obvious about what benefit this ...
Richard Huxton's user avatar
1 vote
1 answer
44 views

I developed a .NET 6.0 service that executes functions that execute in a fixed interval of time. I used timers to start functions. But I detect sometimes that the service stops to execute this ...
FelipeFonsecabh's user avatar
0 votes
1 answer
84 views

I'm running an Azure DevOps pipeline using agents deployed via a VMSS (Virtual Machine Scale Set) based on a custom Packer image. This image includes Polyspace tools (like Code Prover and Bug Finder), ...
user30998509's user avatar
0 votes
2 answers
120 views

I have a service that runs via a bash script over systemd. Now systemd reports that it crashed with a segfault. I tried to reconstruct the invocation pipeline: api.service [Unit] Description=API After=...
glades's user avatar
  • 5,374
-1 votes
2 answers
208 views

I am creating a shell script that needs to calculate e.g. durations between different timestamps. When shown with list-timers: systemctl list-timers my NEXT LEFT LAST ...
Albert Camu's user avatar
1 vote
0 answers
50 views

I'm having what I would consider to be a very bizarre issue with ASAN. I am working on a linux daemon that is started by systemd. My ASAN flags look like this: Environment=ASAN_OPTIONS=abort_on_error=...
the_endian's user avatar
  • 2,567
-1 votes
1 answer
167 views

I have a Java application, which I want to start as systemd process. Systemd unit file looks like: root@server:~# systemctl cat somejava.service # /lib/systemd/system/somejava.service [Unit] ...
Mak S's user avatar
  • 47
0 votes
1 answer
270 views

I built a raspberry pi 5 image for my raspberry pi 5, using only the base image found in meta-raspberrypi/conf/machine/raspberrypi5.conf, which I modified a bit to include some modules, one of which ...
minimus_maximus's user avatar
0 votes
1 answer
61 views

I'm trying to do the following with systemd, but it is failing: EnvironmentFile=/mypath/%i/environ ExecStart=/mypath/bin/start.sh %i ExecStop=/mypath/bin/stop.sh %i User=${USER} I want to define $...
olddirewolf's user avatar
3 votes
1 answer
132 views

I have a microcontroller running Linux distro based on Debian. I have a Nextion screen connected to it via UART on /dev/ttyMOD1 port, I have a script which uses stty and gets data from screen using ...
Planeptunia's user avatar
2 votes
3 answers
203 views

I would like to move on a Linux host for all users the systemd user unit directory. The native user unit directories under ${HOME}/.config/systemd/user are not accessible to systemd due to various ...
THX's user avatar
  • 593
1 vote
0 answers
57 views

I have downloaded the sources of systemd: https://github.com/systemd/systemd and am trying to configure Eclipse to eliminate the errors in the source files and to be able to navigate between functions ...
Tears4fears's user avatar
0 votes
0 answers
74 views

I never really needed to use socket before and just out of curiosity I tried to write a python script as server and another as client. It worked and there is no issue there. In next step, I tried to ...
khoshahmad's user avatar
0 votes
0 answers
62 views

I know I am supposed to ask ROS2 questions on robot stack exchange. I did, no one has answered, and no one gave a working answer in the linux one either. As the title states I am trying to run two ...
John Miller's user avatar
0 votes
1 answer
80 views

After a reboot Tomcat didn't start due to a existing PID file: /opt/tomcat/bin # ./version.sh Using CATALINA_BASE: /opt/tomcat Using CATALINA_HOME: /opt/tomcat Using CATALINA_TMPDIR: /opt/tomcat/...
maniac_on_moon's user avatar
0 votes
2 answers
112 views

I am trying to make a local machine restart to the new version control build of my java application. Let me run you through the flow: .jar file is uploaded via ssh to a directory a service is running ...
VicVerevita's user avatar
0 votes
1 answer
90 views

I have a .NET8 app which I want to run as a systemd service in Ubuntu. I have created a dummy service and a unit file. When I run the service through systemctl, it is not sending the notification to ...
Vikram's user avatar
  • 606
0 votes
0 answers
118 views

Following the example described here, I created the .path and the .service thus: [Unit] Description=Watch for Foo in %i [Install] WantedBy=multi-user.target [Path] PathChanged=/tmp/%i.dbstatus and ...
Mikhail T.'s user avatar
  • 4,266
0 votes
1 answer
228 views

While trying to implement resource limitation (Debian 12) for all users except root user i faced that user-0.slice MemoryMax does not override user.slice MemoryMax parameter. root@:/etc/systemd/system....
Ignatella's user avatar
0 votes
1 answer
68 views

I don't want the service to stop when using systemctl stop service if certain conditions apply. Is there a way to check beforehand and then just return an errorcode? I wrote a custom script for ...
MAGaddress's user avatar
1 vote
0 answers
106 views

I’m trying to access the org.PulseAudio.Core1 D-Bus interface, but it doesn’t seem to be exposed properly. I’m running PulseAudio as a systemd user service, and while PulseAudio itself is working fine,...
cookieforu's user avatar
1 vote
0 answers
46 views

I have a service file foo.service that is configured to auto-start after a target init_done.target. [Unit] After=init_done.target ... [Install] WantedBy=multi-user.arget If I run systemctl stop foo....
Ken Lin's user avatar
  • 1,035
0 votes
1 answer
407 views

On my Yocto based Linux distribution I have installed an instance of Redis 6.0.5 which use AOF persistence policy. Because I'm having some problems with this instance of Redis Server I have checked ...
User051209's user avatar
  • 2,658
0 votes
1 answer
74 views

We have an API that was originally written using the ASP.NET MVC framework and hosted on Windows Server. We have now ported it to an ASP.NET Core 8 Web API, and want to host on Linux (Oracle Linux 9). ...
Adam's user avatar
  • 6,812
1 vote
1 answer
55 views

I'm following this (very good) DigitalOcean tutorial on how to serve a Flask app using Gunicorn, but cannot get Systemd to run with myproject.service. I've created a python environment (venv), pip ...
Doug Conran's user avatar
0 votes
0 answers
94 views

My ASP.NET Core 9 MVC application runs as a service in Debian and logs into a journal. Program.cs: using Microsoft.Extensions.Hosting.Systemd; var builder = WebApplication.CreateBuilder(args); // ...
Andrus's user avatar
  • 28.2k
0 votes
1 answer
372 views

I am forced/bound to use python 2.7. I have created a systemd timer (and system.service of course) where the timer should run (24/7) every 2.5 hours past the hour. So starting at 00.00, 02:30, 05:00, ...
ni_hao's user avatar
  • 438
1 vote
1 answer
108 views

When I call systemd-run "--user" "--pipe" "echo" "hello" I get the expected output "hello" (plus some systemd unit info) without a password popup. But ...
xaxazak's user avatar
  • 998
-1 votes
1 answer
199 views

The problem: On Ubuntu 24.04 i use the command: systemd-cryptenroll \ --tpm2-device=auto \ --tpm2-pcrs=0:sha256=60d6401905da60ba1610c36a6c7e21e4f6fb75750e0bcc80049d29eb7c01d8a4 \ --tpm2-pcrs=1:sha256=...
TR-eenet's user avatar
1 vote
1 answer
273 views

$ sudo -u backup_agent keyctl add user LUKS_PASSWORD "your-secure-password" @u 1013632990 $ sudo -u backup_agent keyctl list @u 1 key in keyring: 1013632990: --alswrv 110 110 user: ...
psandor's user avatar
  • 55
1 vote
0 answers
176 views

Take the initial unit (which is a failure unit for another service) /usr/lib/systemd/system/[email protected] [Unit] Description=Failed Unit for %i Conflicts=some-unit.target [Service] Type=Oneshot ...
IncredibleStorm's user avatar
0 votes
1 answer
755 views

I have an app that I need to open on boot to kiosk mode in chromium. The script works fine when run manually but through systemd the webcam is blank and never asks for any permissions. I have tried ...
Husk Rekoms's user avatar
0 votes
1 answer
69 views

I have a Spring Boot project that runs fine on my remote Ubuntu server (22.04) when run from the command line (via ssh). In this project, I am providing an H2 database location in the application....
Phil Freihofner's user avatar
1 vote
1 answer
161 views

Context I'm developing an application that performs dbus calls to manage systemd units. To get an idea for the calls, I'm writing a small shell script that should detect a failed unit like systemctl: ...
Mo_'s user avatar
  • 2,080
3 votes
0 answers
282 views

I am using the sdbus-cpp library to test how to create a service and access it's methods and signals through a D-Bus client. The library provides an example of this that I tested and worked for me. ...
user2952272's user avatar
4 votes
2 answers
258 views

I want to get a ID_MODEL and ID_VENDOR properties of a USB device in Linux. I know its /dev/bus/usb/xxx/yyy path. I can do it with this code that depends on systemd (cc -lsystemd test.c): #include <...
Rungela's user avatar
  • 43
0 votes
1 answer
95 views

While creating a systemd service in linux, I could specify a WorkingDirectory in the service unit file. Is there any way to configure the working directory for a Windows service as well. I have some ...
Amit Rastogi's user avatar
-1 votes
2 answers
182 views

With following steps, I tried to trigger OOM on systemd service, but failed, what is missed? Thanks very much in advance for any suggestions :) Build a binary which will ask for 3G memory total (30 ...
Guanghan's user avatar
-1 votes
1 answer
97 views

I need to install a systemd service into my own image, but it is failing with following errors: *ERROR: hellosystemd-1.00-r0 do_package: Didn't find service unit 'hello.service', specified in ...
user2477865's user avatar
0 votes
1 answer
92 views

Since I upgraded my system from Ubuntu 22.04.5 LTS to Ubuntu 24.10, with new motherboard,cpu,nvme, using both kernel 6.11.7, the systemd DVB frontend device targets are not created. Besides this, ...
Angela Schmid's user avatar
1 vote
0 answers
62 views

I am trying to detect if java app running as systemd service is operating inside lxc container from app itself through java code. checking /proc/self/cgroup file for “lxc” string works if app is not ...
lastpeony4's user avatar
0 votes
1 answer
69 views

I have been using monit to monitor my Rails application for several years. It has worked very well for me. Currently, when I try to setup the same configuration on the latest Ubuntu LTS (24.04.1) I am ...
brahmana's user avatar
  • 1,326

1
2 3 4 5
50