Open wyatt8740 opened 4 years ago
I will try to do something for next release, but its low priority.
On the other hand, a merge request is almost guaranteed to be accepted if it solves this problem.
OK, I'll try to remember to submit my changes.
This is also problem on WSL2 (Windows Subsystem for Linux) in Windows 10, though it also lacks the /dev/snd/seq kernel driver - quess rtpmidid can't be easily implemented without ALSA sequencer support (instead of sequencer device some other interface or API would be needed).
My Debian system is using
sysvinit
andelogind
. This makes the debian packages fail to install due to their reliance onsystemctl
to start and stop the software.I'd suggest checking that it exists and alerting the user that the program cannot be started automatically without systemd, or else maybe some LSB init scripts.
It looks like maybe you were attempting to do this, but at some point your postinst script got messed up. Line 27 of one of them currently reads:
if [ -e /usr
.Alternatively you could make
systemd | systemctl
a hard dependency, but I'd personally rather you didn't since it's unnecessary. I just got it working on my system by rebuilding the debian package with some tweaks topostinst
/prerm
and a little setgid/setuid trickery (hopefully safe enough) to makertpmidid
run as thertpmidid
user and create a socket file with correct permissions (rtpmidid:audio
ownership, I think).Something like:
Setting up /var/run/rtpmidid and the like would probably be left up to the user on such systems (unless a few more changes are made, anyway), so maybe that would be something to warn people about in the handling section.