Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for symlink tagged with

systemd is an alternative approach to SystemV and Upstart init daemons for Linux. It is intended to provide a better framework for expressing services' dependencies, allow more work to be done in parallel at system startup, and to reduce shell overhead.

3
votes
1answer
I'm trying to have systemd mount a volume by symlink. Unfortunately when I try it times out waiting for the systemd device to show up. # systemctl start mnt-ephemeral0.mount A dependency job for mnt … -ephemeral0.mount failed. See 'journalctl -xn' for details. # journalctl -xn Aug 04 17:02:09 i-c7a88499 systemd[1]: Expecting device dev-block-ec2-ephemeral0.device... Aug 04 17:03:39 i-c7a88499 …
asked Aug 4 '14 by Patrick
8
votes
2answers
I have a service with WorkingDirectory=/srv/ctr/current which is a symlink. It seems the service doesn't pick up changes in the symlink when restarted. The error log reports /srv/ctr/releases/69 as … the location but the /srv/ctr/current points to /srv/ctr/releases/72. Is there any way I can get systemd to pick up on the new directory change? …
asked Nov 9 '15 by Reed G. Law
0
votes
1answer
Enabling a systemd service to start at boot is done by enabling it. Enabling creates a symlink at a specific location. Example: $ systemctl enable rsyslog … Created symlink /etc/systemd/system/multi-user.target.wants/rsyslog.service → /lib/systemd/system/rsyslog.service. The documentation for systemctl enable states: Note that this …
asked May 27 by TheMeaningfulEngineer
0
votes
1answer
Before a daemon process is to be executed by systemd, I need to create or change the destination of a symlink. The daemon process redirects its standard output to this symlink and therewith into a … circumstances. If a symlink exists and if the file it points to also exists, everything is just fine. The bash script "makeOutfile.sh" works via terminal for testing purposes and via a systemd service start …
asked Dec 9 '18 by bejo
1
vote
1answer
I have the default systemd 60-persistent-input.rules file and I have two keyboards one on USB and on a PS2 bus. For the usb devices I get a symlink created in /dev/input/by-id with the bus and id … /platform/i8042/serio0/input/input7 U: Uniq= H: Handlers=kbd event7 B: PROP=0 B: EV=120013 B: KEY=2000000 3803078f800d001 feffffdfffefffff fffffffffffffffe B: MSC=10 B: LED=7 but there is no symlink created. Should the udev rules from systemd be creating these? …
asked Nov 5 '17 by user259006
3
votes
1answer
black is Arch Linux which uses systemd for all the house keeping. When I delete the symlink and create a new one pointing to /dev/rtc1 not surprisingly it is reset after the next reboot and I didn't find any config files or systemd-units so far. Help is much appreciated. … /dev/rtc1 but there is also /dev/rtc which is a symlink to /dev/rtc0. /dev/rtc0 is the real-time-clock within the ARM SOC on the board, /dev/rtc1 is the I2C device. At the moment I'm using scripts …
asked Dec 1 '15 by IlikePepsi
3
votes
2answers
. If systemd doesn't store the default value as the default.target symlink, where is the real value of the default target stored by systemd? … The default target returned by systemctl [user@host system]$ systemctl get-default multi-user.target differs from the value of the /usr/lib/systemd/system/default.target link: [user@host system …
asked Aug 6 '17 by petehern
2
votes
1answer
after WebSphereMQ. Since the scripts/service files come from package manager I would like to avoid editing them. Systemd does allow local configuration of Wants and Requires using symlinks to services … point) but there is no equivalent symlink based functionality for configration of After and Before. How can I cleanly define this relationship without editing files installed by rpm ? …
asked May 28 '15 by Marcin Wisnicki
0
votes
2answers
there will be a few "it depends on where your X lives" and that is okay. This can have limited (or no) portability. I just want to make sure that my plan works. That plan being: Write a service file in /usr/lib/systemd/system/ Symlink to it from /etc/systemd/system/multi-user.target.wants/ … There are lots of instructions out there for creating basic systemd service files, but they all seem (rightfully so) to instruct you to make calls to systemctl daemon-reload and systemctl enable. If …
asked Apr 2 '18 by Bruno Bronosky
3
votes
1answer
suited for scripting. I know that systemctl creates a symlink, but is that all I have to do and can I do it without 'disturbing' systemd? This seems to work, but can you confirm it? ln -s /usr/lib/systemd/system/sshd.service /etc/systemd/system/multi-user.target.wants/sshd.service … I need to enable systemd services before I'm actually booting the system (for unattended install purposes). Therefore I can't use systemctl. I could use systemd-nspawn, but I think it not that well …
asked Jun 3 '17 by rudib
0
votes
1answer
I disable Network Manager via systemctl disable NetworkManager and reboot. The boot process hangs. Via whatever means, I access the filesystem, create symlinks with ln -s /etc/systemd/system … /multi-user.target.wants/NetworkManager.service \ /lib/systemd/system/NetworkManager.service And similarly for dbus-org.freedesktop.nm-dispatcher.service. The boot process still hangs indefinitely after …
asked Oct 12 '18 by user907323
6
votes
3answers
-test.rules KERNEL=="sd?1", SUBSYSTEMS=="usb", RUN+="/opt/bin/usb-test.sh" KERNEL=="sd?1", SUBSYSTEMS=="usb", SYMLINK+="usb-test" Content of /opt/bin/usb-test.sh (The script is marked as executable … ): #!/bin/bash date >> /var/log/usb-test.log The symlink /dev/usb-test is created, but not the file /var/log/usb-test.log. This is the output of tail /var/log/syslog: Oct 30 15:24:02 raspberrypi …
asked Oct 30 '17 by relthyg
4
votes
1answer
, it shows me this error: [root@apollo system]# systemctl mask sample.service Failed to execute operation: File exists [root@apollo system]# That is because systemd is trying to create a symlink … meaning we cannot mask any unit files we create under /etc/systemd/system? I tried to move sample.service to /usr/lib/systemd/system and I was able to mask it because it was able to create a symlink under /etc/systemd/system without any hindrance. Has anybody experience this? Do you think this is a bug? …
asked Mar 15 '17 by mit13
2
votes
0answers
: KERNEL=="ttyUSB*", KERNELS=="1-1.4", NAME="ttyCOM3" I get: NAME="ttyUSB3" ignored, kernel device nodes can not be renamed; please fix it in /etc/udev/rules.d/00-ttyUSB.rules:3 a symlink is allowed … , with a rule such as: KERNEL=="ttyUSB*", KERNELS=="1-1.4", SYMLINK+="ttyCOM3" resulting in: /etc/udev/rules.d# ls -al /dev/ttyUSB0 /dev/ttyCOM* lrwxrwxrwx 1 root root 7 Oct 7 11:22 /dev …
asked Oct 7 '16 by Dave Lawrence
2
votes
0answers
I have this problem with systemd when I have some units symlinks points to some locations in some unmounted filesystems: A post about it is there : Systemd linked unit files on mounted disk fail to … load The problem is that the files in /etc/systemd are symlinks and so when systemd starts up it tries to read and parse them before any filesystem is mounted; because the filesystem isn't …
asked Oct 19 '17 by rem

15 30 50 per page