Questions tagged [systemd]
Systemd is an init system developed for use on GNU/Linux, generally replacing the old SysV daemon.
26
questions with no upvoted or accepted answers
2
votes
0answers
42 views
Plymouth bootsplash starting too late
I've set up a Plymouth bootsplash inside an initramfs on Raspbian buster. (It's using something similar but not identical to the raspi-config RO overlay.) But I've noticed that there's a ...
1
vote
0answers
44 views
Starting Python program on boot starts but buttons do not work
Latest Raspbian on a pi zero w...
I'm newish and still learning. I have a simple python program that connects to i2c lcd display that will control credits on a home arcade machine. So a momentary ...
1
vote
0answers
94 views
ssh.service keeps restating forever
On my rpi machine
pi@pi2 ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.9 (stretch)
Release: 9.9
Codename: stretch
I ...
1
vote
0answers
28 views
Full-disc encrypting Pi causes unpredictable network interface naming to stop
Today I setup a Pi 3B+ with the latest Raspbian Stretch image and recognized a strange behavior:
When initially looking at the network interfaces, the unpredictable network-interface naming was ...
1
vote
0answers
461 views
Captive Portal using systemd raspbian stretch
I am trying to setup a captive portal on my raspbian stretch access point connecting to my node server.
Currently using systemd to set up my network so I can ssh into my pi and use it as a access ...
1
vote
0answers
667 views
USB mount not able to auto mount external drive due to MTP error
I'm trying to auto mount external hard drives to raspberry pi B+ (raspbian stretch lite image) using usbmount (link). But auto mount fails with the below error saying the device is not MTP. Unlike ...
1
vote
0answers
408 views
How to run a script (when usb memory is plugged) automatically in Jessie?
Previously, I used udev rule to run a script when a USB flash memory was plugged in. The following was the content of /etc/udev/rules.d/10-usbstick.rules file:
ACTION=="add", SUBSYSTEM=="block", ...
0
votes
0answers
26 views
Python script not playing audio when run through systemd
After trying every possible solution online I am posting this question. I have a python script that runs on boot with the help of systemd. Everything worked fine till I installed a fresh raspian ...
0
votes
0answers
29 views
Check if Raspivid service is running?
I am creating a program the requires the following:
Check if raspivid is currently running.
Check if its running out of a services file.
if it is running out of a specific file, determine which ...
0
votes
0answers
22 views
Folder `/run/user/$(id -u)` does not exist
I am running raspian (Linux raspberrypi 5.4.51-v7+) on a headless raspberry pi (3B+), and I have just realized that my unprivileged user (uid 1001) does not get its /run/user/1001/ folder at boot.
...
0
votes
0answers
11 views
rslsync crashing continously
For quite some time I had rslsync up and running on a Raspberry Pi Model 1 until recently, rslsync started crashing & the Raspbian OS stopped to receive updates. So I chose to set it up again, ...
0
votes
0answers
43 views
SSH tunnel immediately gets closed - systemd
I have made a systemd service called rtunnel.service. It should create a ssh tunnel as the pi boots up but it gets closed immediately. Can somebody explain whats my problem here. Please can somebody ...
0
votes
0answers
34 views
How to allow other admin to manage systemctl
I have a pi 4b.
I added a new admin as explained in https://www.raspberrypi.org/documentation/configuration/security.md, it has access to all those groups.
I locked the pi user:
sudo usermod --lock ...
0
votes
0answers
61 views
pulseaudio server RP3 can't play audio from network client and local client at the same time
I have a Raspberry Pi 3 B connected to my speakers through a usb soundinterface. It's also connected via usb midi to a masterkeyboard which I use to play piano and doesn't have it's own speakers. On ...
0
votes
1answer
2k views
Bluetooth service being skipped
I'm attempting to use a HC-06 bluetooth module on a raspberry pi zero (not w). I have it wired correctly and have used it before on older versions of raspbian, but I decided to update to the lastest ...
0
votes
1answer
720 views
DHCP configuration in systemd
Currently, I have configured access point using hostapd and using systemd for configure the network ap0 (access point device).
the access point configured automatically to use DHCP server.
my ...
0
votes
0answers
372 views
/sbin/init exists but couldn't execute it (error -13); systemd is a directory
My Rpi fails to boot. I get /sbin/init exists but couldn't execute it (error -13).
Following the symlink leads to /lib/systemd/systemd. However it seems to be a directory rather than a executable.
...
0
votes
0answers
133 views
SystemD running script before device driver loaded
We've a few Pi's, model 2, 3B+ and Zero W all running default Raspbian and with the latest firmware updates as of 25 March '19. All of these have an Infineon TPM 2.0 board attached to the gpio pins ...
0
votes
1answer
120 views
Why is my systemd script not working, while reboot pi my app not receiving signal(SIGTERM, SIGINT )
[Unit]
Description=+++++++++++App start/stop+++++++++++++++++
After=network.target
[Service]
User=root
Group=root
StandardOutput=null
ExecStart=/usr/local/bin/app_start > /dev/null
Restart=always
...
0
votes
1answer
824 views
Wpa_supplicant with openwrt router ācould not read SSID from driverā
Arch Linux ARM was installed successfully on a Raspberry Pi3 which will be added to a small network. The first attempt at setting up wifi on the Pi3 failed, showing alarm wpa_supplicant[323]: wlan0: ...
0
votes
0answers
54 views
Is there a way to automatically activate a script when g_mass_storage reads or writes
I'm using the g_mass_storage on the raspberry pi. Is there any way to trigger a script when the host writes to the pi?
Everywhere I've looked has talked about using triggers based upon usb mounting
0
votes
1answer
495 views
Trying to setup a node.js script as a system service
I am trying to setup a node.js based telegram bot to run as a system service but get Access Denied error every time I try to execute it.
Here is the .service file I have created.
[Unit]
Description=...
0
votes
0answers
705 views
Raspbian Lite: xinit at boot as soon as possible
Yes, another question on 'How to start the x server at boot' . I am new to linux admin things so I don't know how to do it correctly. I am using Raspbian Lite which does not include any graphical ...
0
votes
1answer
219 views
Installed Ubuntu 16.04 LTS 'classic', no .config directory for users
I've installed Ubuntu 16.04 LTS 'classic' on my Pi 3, and am using the CLI which is a struggle but bearable. I've created a user, and subsequent instructions involve configuring a startup daemon in ...
0
votes
0answers
5k views
How to load modules on startup?
I have bought a touch LCD from waveshare and am trying to set it up. I have changed my config.txt to enable SPI and set up the touch device:
...
dtparam=spi=on
dtoverlay=ads7846,cs=1,penirq=17,...
-1
votes
1answer
152 views
compiling systemd with kdbus miraclecast
I am trying to compile systemd with the kdbus using the PKGBUILD of this following documentation.(https://github.com/albfan/miraclecast/issues/61). I don't quite understand how this is done. I am ...