New answers tagged systemd
4
votes
How to automatically reload daemons after `/etc/fstab` was changed?
What are the consequences if this is not done?
That depends a bit on what's in there. But, for example, if you added (or changed) an entry that would lead to a directory being automatically mounted ...
6
votes
Accepted
How to automatically reload daemons after `/etc/fstab` was changed?
What are the consequences if this is not done?
systemd won’t be aware of the changes; whether that’s important or not depends on the nature of the changes. systemd provides a number of generators ...
2
votes
Accepted
How to install systemd-resolved on centos7 and use systemd-resolve
Unfortunately, in CentOS 7, the version of systemd is 219, which does not include a management binary like resolvectl to perform the action you want.
From what I can tell, this binary was only ...
2
votes
Mutual exclusion among a group of services
What about more complex setups?
As correctly noted by @larsks (see here) Systemd provides no built-in solution for this. Utilising flock is the correct approach. Wrapping ExecStart commands into /usr/...
1
vote
Set uid bit not recognised
Several things in Linux can prevent a SUID flag from being applied. Obviously something is different between these boots so my suggestion is to check the situation and compare both cases:
mount ...
4
votes
Set uid bit not recognised
Have systemd run the program directly, as the desired user.
Replace with the correct full path to the program. Example changed directives:
User=root
ExecStart=/usr/local/bin/fdil
Defining the user in ...
0
votes
how does switch_root command make /sbin/init in the new filesystem pid 1 process?
The execv() function (and every other function in the "exec" family) is defined as replacing the current process with the new one. Roughly what happens when a program calls the function is:
...
Top 50 recent answers are included
Related Tags
systemd × 4824linux × 637
services × 429
debian × 427
ubuntu × 301
arch-linux × 232
centos × 196
systemd-journald × 180
systemctl × 172
boot × 159
systemd-unit × 143
networking × 134
fedora × 130
systemd-timer × 124
udev × 120
mount × 109
systemd-networkd × 102
logs × 101
bash × 100
rhel × 100
sysvinit × 97
startup × 95
shutdown × 91
d-bus × 89
cgroups × 87