On 3/22/24 6:30 AM, Barry Scott wrote:
On 22 Mar 2024, at 00:54, Robert McBroom via users users@lists.fedoraproject.org wrote:
looking at the status it shows preset:disabled
As I understand it preset is used somewhere in the initial installation of fedora to figure out which services should be enabled by default. After installation it's not used normally.
As a user you can symlink services into the right place in /etc/systemd/system or use the systemctl enable/disable commands to do the symlinking for you.
I don't see any entry for libvirtd in /etc/systemd/system after having started it. There is an entry in /etc/systemd/system/multi-user.target.wants pointing to /usr/lib/systemd/system/libvirtd.service which looks unchanged.
What symlink would be expected?
After a system boot
[ ~]# systemctl status libvirtd ○ libvirtd.service - libvirt legacy monolithic daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; preset: disabled) Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf Active: inactive (dead) TriggeredBy: ○ libvirtd-ro.socket ○ libvirtd.socket ○ libvirtd-admin.socket Docs: man:libvirtd(8) https://libvirt.org/ [ ~]# systemctl start libvirtd [ ~]# systemctl status libvirtd ● libvirtd.service - libvirt legacy monolithic daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; preset: disabled) Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf Active: active (running) since Sat 2024-03-23 13:06:24 EDT; 7s ago TriggeredBy: ● libvirtd-ro.socket ● libvirtd.socket ● libvirtd-admin.socket Docs: man:libvirtd(8) https://libvirt.org/ Main PID: 10683 (libvirtd) Tasks: 20 (limit: 32768) Memory: 42.1M (peak: 42.7M) CPU: 500ms CGroup: /system.slice/libvirtd.service └─10683 /usr/sbin/libvirtd --timeout 120
Mar 23 13:06:23 HPZ440.attlocal.net systemd[1]: Starting libvirtd.service - libvirt legacy monolithic daemon... Mar 23 13:06:24 HPZ440.attlocal.net systemd[1]: Started libvirtd.service - libvirt legacy monolithic daemon.