Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: IPTSD and Runit (Read 545 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

IPTSD and Runit

Hi, has anyone installed the iptsd touchscreen with runit?

New Artix install on a Surface Pro 7 including the SP-specific kernal. It all works as expected but I can't get runit to start the touchscreen service.
Followed the example here: https://forum.artixlinux.org/index.php/topic,3407.msg22101.html#msg22101.
It can be started manually but only as root, 'permission denied' as user.

Could anyone point me in a direction to find the problem?

Re: IPTSD and Runit

Reply #1
Where exactly are you stuck?

Re: IPTSD and Runit

Reply #2
Thanks for the response!
I've set up a service as described in the link but it doesn't start on it's own. I don't know where to go from there. Is there a bootlog for runit that might give a clue as to why it fails?

Re: IPTSD and Runit

Reply #3
Does the iptsd executable exist in the PATH?
Have you followed @capezotte 's advice on the thread you pointed?
Is the run script executable?
Have you linked your service directory to the appropriate runsvdir?

Is there a bootlog for runit that might give a clue as to why it fails?

No but issues on runit are usually pretty simple to debug since it works in a really simple manner

Re: IPTSD and Runit

Reply #4
Yes to all the above.
iptsd lives in /usr/bin, and

ls -alF /etc/runit/sv/iptsd:
-rwxr-xr-x  1 root root   29 Aug 11 03:24 run*
lrwxrwxrwx  1 root root   18 Aug 11 03:25 service -> /run/runit/service/

cat /etc/runit/sv/iptsd/run
#!/bin/sh
exec iptsd -n 2>&1

Re: IPTSD and Runit

Reply #5
I think you got it backwards.

You're supposed to link /etc/runit/sv/iptsd to /run/runit/service (creating /run/runit/service/iptsd).

Not /run/runit/service to /etc/runit/sv/iptsd.

 

Re: IPTSD and Runit

Reply #6
Lol, works now....

Thanks so much!