I use "media-libs/alsa-oss" to share "/dev/dsp" between several instances of VMware Workstation. After each [re]installation of "media-libs/alsa-oss" I have to manually add suid bit to "/usr/lib/libaoss.so.0.0.0" file to make it work with "/opt/vmware/workstation/lib/vmware/bin/vmware-vmx" which already has suid bit. This is necessary because non-suid library can't be preloaded for suid application. Reproducible: Always Steps to Reproduce: Use VMware workstation to start 2 virtual machines both using "/dev/dsp" for sound output. Actual Results: Second virtual machine complains that "/dev/dsp" is busy.
Sorry but I don't think maintainers will want to add suid bit just because some particular suid application wants to use it; this library normally works fine without suid, and distro-wide default settings should not add setuid bit unless it's crucial to normal operation. It could be pretty annoying to try to figure out that you need to add the setuid bit to make vmware happy however, so maybe there could be an info message during vmware installs that warn the user about adding setuid bit.
Is this still a problem today?
(In reply to Andreas K. Hüttel from comment #2) > Is this still a problem today? New VMware Workstation has native ALSA support and "media-libs/alsa-oss" isn't necessary any more.