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.
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to