On 13/07/2021 13:44, ToddAndMargo via users wrote:
Hi Ed, I see the set up for the service and the socket. What I am trying to figure out is why the socket is not being triggered to start the service.
Let me try this again. Every thing below looks as it should. At boot time, the spice-vdagentd.service is supposed to be *DEAD*. I showed you that to be the case in my previous post. It shows *DEAD*. That is NORMAL. That is The Way it Should be! Then when /usr/bin/spice-vdagent is run. (no d at the end) it will connect to the socket /run/spice-vdagentd/spice-vdagent-sock this then *triggers* spice-vdagentd. And that then runs. I showed all of that in my previous post. And, I mentioned 2 says to get /usr/bin/spice-vdagent to run on login. Why it didn't for you, I cannot comment without knowing the status after login.
-T # cat /usr/lib/systemd/system/spice-vdagentd.service [Unit] Description=Agent daemon for Spice guests After=dbus.target Requires=spice-vdagentd.socket [Service] Type=forking EnvironmentFile=-/etc/sysconfig/spice-vdagentd ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS PIDFile=/run/spice-vdagentd/spice-vdagentd.pid PrivateTmp=true Restart=on-failure [Install] Also=spice-vdagentd.socket # cat /usr/lib/systemd/system/spice-vdagentd.socket [Unit] Description=Activation socket for spice guest agent daemon [Socket] ListenStream=/run/spice-vdagentd/spice-vdagent-sock $ systemctl status spice-vdagentd.service ○ spice-vdagentd.service - Agent daemon for Spice guests Loaded: loaded (/usr/lib/systemd/system/spice-vdagentd.service; indire> Active: inactive (dead) TriggeredBy: ● spice-vdagentd.socket $ systemctl 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 Mon 2021-07-12 22:35:53 PDT; 1min 36s> Triggers: ● spice-vdagentd.service Listen: /run/spice-vdagentd/spice-vdagent-sock (Stream) CGroup: /system.slice/spice-vdagentd.socket _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
-- Remind me to ignore comments which aren't germane to the thread. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure