All Questions
29
questions
1
vote
1
answer
19
views
drmModePageFlip() is failing when process started by systemd service
I created one Linux(STM32MP157 Olinuxino) application which uses DRM and OpenGL libs. The app is running without any issues when started from terminal. My application calls drmModePageFlip() twice ...
1
vote
1
answer
53
views
Is systemd viable for embedded when storage is not a concern?
Excuse me if this is a dumb question. I've been experimenting with this old nas box i bought, cross compiling anything and everything i could get my hands on. And now i want to take it a step further ...
0
votes
1
answer
168
views
shutdown now extremely slow due to service with DefaultDependencies=no
I have an embedded Linux system that takes a really long time to shutdown when a specific service that I've made is running. It needs to start running as soon as possible thats why it has the ...
1
vote
0
answers
163
views
Is it possible to specify sleep mode "freeze, mem, suspend and etc." using systemctl?
As far as i know we can know we can check which low power configurations are available for our Linux computer by reading /sys/power/state file. We can turn low power mode by writing one of this ...
1
vote
1
answer
721
views
Mounting OverlayFS in fstab at startup
Is It possible to Mount OverlayFS from external partition in fstab and benefit from systemd services extensions at startup ? Thus overlay directory tree will add new systemd services configuration ...
1
vote
1
answer
81
views
Where to place config file created by systemd
I have a systemd service running on a Raspberry Pi that reads the configuration from EEPROM and converts it into the .env format. This allows other programs to easily parse the configuration later on.
...
0
votes
1
answer
3k
views
Managing systemd services on read-only filesystem
I am looking for strategies how to manage enabling and disabling of systemd services on a read-only filesystem. It's not possible as the multi-user.target.wants directory contents get modified.
...
0
votes
1
answer
609
views
How Yocto embeds systemd in end project?
How can I customize systemd source code? When I do bitbake, systemd appears in my end project, but I cannot find any source files of it in my local directories. I want to track down unit files ...
1
vote
1
answer
183
views
systemd debug (embedded case)
How to trace systemd unit files, to be specific, device unit files? I use 3.18 version of linux kernel. On my board after systemd has started, (mypartition).device runs and, I suppose, remounts the ...
0
votes
0
answers
923
views
timedatectl: problem with NTP returning localtime instead of UTC time
On my embedded Linux, I have a problem with time zones:
I'm trying to keep the UTC time in the RTC of the device. But somehow, timedatectl keeps adjusting time to the local time and not the UTC time, ...
1
vote
1
answer
856
views
"systemd-tmpfiles-setup.service" slow on read-only filesystem
On a headless embedded computer (booting on a read-only filesystem), I see that systemd-tmpfiles-setup.service is rather slow, and prevents other services to start earlier (I checked with systemctl ...
0
votes
1
answer
102
views
What happens when I turn my ethernet off? What steps does the OS perform once I turn the ethernet OFF?
I want to know what actually happens once I turn my ethernet OFF.
What does the OS do on a network layer?
Does it flush the routing table or anything like that.
3
votes
2
answers
821
views
What if I have a bad (static, low entropy) random-seed in systemd?
On embedded systems, read-only filesystems are common. Read-only means that /var/lib/systemd/random-seed cannot be updated on reboot, and is probably a clone of another device's random-seed.
Does this ...
1
vote
2
answers
1k
views
Sytemd : How to set the SYSTEMD_UNIT_PATH variable
I'm working on an embedded linux based on yocto. The system is mounted as read only, and I want to manage applications installed by opkg in a data partition with systemd.
In order to do that, I've ...
1
vote
1
answer
669
views
Cannot add systemd-analyze to Buildroot image
I decided to use systemd in my embedded linux system to be able to use systemd-analyze tool. I can add both systemd and systemd-analyze in my config, but after runing my system on Raspberry Pi 4, I ...