On 13/07/2021 06:34, ToddAndMargo via users wrote:
On 7/12/21 2:36 PM, Ed Greshko wrote:
There is no need to enable it.  I've never enabled it.

You never had to as the rpm post install script takes
care of it for you

To see if yours is enabled, do a

$ ls -al /etc/systemd/system/spice-vdagentd.target.wants/spice-vdagentd.service

lrwxrwxrwx. 1 root root 46 Nov  5  2017 
/etc/systemd/system/spice-vdagentd.target.wants/spice-vdagentd.service -> 
/usr/lib/systemd/system/spice-vdagentd.service

NOPE

[egreshko@f34k2 ~]$ ls -al 
/etc/systemd/system/spice-vdagentd.target.wants/spice-vdagentd.service
ls: cannot access 
'/etc/systemd/system/spice-vdagentd.target.wants/spice-vdagentd.service': No 
such file or directory

And yet....

[egreshko@f34k2 ~]$ systemctl --no-pager status spice-vdagentd.service
○ spice-vdagentd.service - Agent daemon for Spice guests
     Loaded: loaded (/usr/lib/systemd/system/spice-vdagentd.service; indirect; 
vendor preset: enabled)
     Active: inactive (dead)
TriggeredBy: ● spice-vdagentd.socket

Notice the word "enabled"?  And notice that it is triggered by the socket?

And also,  notice the socket is listening?  That, is the most important item.

[egreshko@f34k2 ~]$ systemctl --no-pager -l status spice-vdagentd.socket
● spice-vdagentd.socket - Activation socket for spice guest agent daemon
     Loaded: loaded (/usr/lib/systemd/system/spice-vdagentd.socket; static)
     Active: active (listening) since Tue 2021-07-13 07:40:04 CST; 5min ago
   Triggers: ● spice-vdagentd.service
     Listen: /run/spice-vdagentd/spice-vdagent-sock (Stream)
     CGroup: /system.slice/spice-vdagentd.socket

Jul 13 07:40:04 f34k2.greshko.com systemd[1]: Listening on Activation socket 
for spice guest agent daemon.




# systemctl enable spice-vdagentd

I asked you to reboot and show the status as I've shown above.  I did not, and I don't 
care about your "enable"
try.

If you're not willing to do that.  I'm not willing to continue.

Simple, straight forward.

--
Remind me to ignore comments which aren't germane to the thread.

_______________________________________________
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 on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to