2,482 questions
0
votes
0
answers
50
views
How to avoid stopping all processes that started by one systemd service when OOM happens?
In my env, 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 ...
Advice
0
votes
0
replies
35
views
Early Initialization of GPU, Weston, and Hypervisor Drivers with Deferred Systemd Services & modules
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 ...
2
votes
0
answers
210
views
Why am I experiencing DNS resolution failures only in the final stage of a multi-stage Docker Compose build?
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 ...
2
votes
1
answer
90
views
Control memory of systemd sd_journal_open()?
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 ...
0
votes
2
answers
147
views
correct cleanup of spawned child processes in golang
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 ...
-2
votes
1
answer
199
views
How can I tell if lighttpd is running on Debian 13? [closed]
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 ...
1
vote
1
answer
274
views
changing the podman-auto-update.timer configuration
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 ...
0
votes
1
answer
85
views
Bash script having custom functions not running under systemd service [closed]
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/...
0
votes
1
answer
519
views
Confused as to what systemd-credentials does for me
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 ...
1
vote
1
answer
57
views
How do .NET Core services interact with Systemd to identify that service is frozen?
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 ...
0
votes
1
answer
103
views
How to persist PATH for Azure DevOps agent in VMSS using systemd or image-based methods?
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), ...
0
votes
2
answers
175
views
systemd shows script that invokes my app crashed with segfault?
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=...
-1
votes
2
answers
279
views
Systemd timers - how to get Epoch timestamps? [closed]
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 ...
1
vote
0
answers
57
views
Why won't AddressSanitizer log my DEADLYSIGNAL/bug only when LeakSanitizer is off?
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=...
-1
votes
1
answer
227
views
Java process, started via systemd, hangs on "activating"
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]
...