[Slackbuilds-users] [PATCH] spice-vdagentd isn't running
Dio Putra
dioput12 at gmail.com
Thu Oct 21 02:40:14 UTC 2021
It really bother me when using Slackware VM and I can't use
spice-vdagent anymore, well until I look at this answer:
https://askubuntu.com/a/1298868
Here the result and patch. Ponce, may you put this in the next batch
of spice-vdagent package? Thank you.
# ls -l /etc/rc.d/rc.spice-vdagent*
-rwxr-xr-x 1 root root 1360 Oct 21 09:05 /etc/rc.d/rc.spice-vdagent*
-rwxr-xr-x 1 root root 1404 Oct 21 08:11 /etc/rc.d/rc.spice-vdagent.new*
-rwxr-xr-x 1 root root 1360 Oct 21 08:11 /etc/rc.d/rc.spice-vdagent.orig*
# sh /etc/rc.d/rc.spice-vdagent start
Starting spice-vdagentd:
# sh /etc/rc.d/rc.spice-vdagent stop
spice-vdagentd not running
# echo $?
1
# sh /etc/rc.d/rc.spice-vdagent.new start
Starting spice-vdagentd:
# sh /etc/rc.d/rc.spice-vdagent.new stop
Stopping spice-vdagentd:
# echo $?
0
# diff -aruN /etc/rc.d/rc.spice-vdagent.{orig,new}
--- /etc/rc.d/rc.spice-vdagent.orig 2021-10-21 08:11:14.462000000 +0700
+++ /etc/rc.d/rc.spice-vdagent.new 2021-10-21 08:11:54.457000000 +0700
@@ -20,6 +20,7 @@
/sbin/modprobe uinput > /dev/null 2>&1
# In case the previous running vdagentd crashed
/usr/bin/rm -f /var/run/spice-vdagentd/spice-vdagent-sock
+ /usr/bin/mkdir -p /var/run/spice-vdagentd
/usr/bin/echo "Starting $prog: "
$exec -s $port
retval=$?
More information about the SlackBuilds-users
mailing list