[systemd-devel] Still confused with socket activation
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Tue Feb 2 09:43:37 UTC 2021
Hi!
Having:
---
# /usr/lib/systemd/system/virtlockd.service
[Unit]
Description=Virtual machine lock manager
Requires=virtlockd.socket
Requires=virtlockd-admin.socket
Before=libvirtd.service
...
---
How would I start both sockets successfully unter program control?
If I start one socket, I cannot start the other without an error (as libvirtd.service is running already, see my earlier message from last week).
If I mask the socket units, I cannot start the libvirtd.service.
So would I disable the socket units and start libvirtd.service?
Unfortunately if someone (update when vendor-preset is enabled) re-enables the socket units, it would break things, so I tried to mask them, but that failed, too.
error: Could not issue start for prm_virtlockd: Unit virtlockd.socket is masked.
Regards,
Ulrich
More information about the systemd-devel
mailing list