Hi everyone

I'm currently working on Ubuntu integration of Rivendell, which means dealing with systemd, pulseaudio and so on...

In order to make caed use pulse alsa plugin, or even jackd, one solution is to log in as root, which is evil.

The other solution would be to run caed as the logged in user. This is due to the fact that pulseaudio and jackd daemons are (normally) only accessible by the same user as the one that launched them. This is what I tried with this procedure :

---8<---

sudo systemctl edit rivendell

[Service]
User=radio

--->8---

then I start Rivendell with `systemctl start rivendell.service`, which usually succeed mostly. But caed and/or rdcatchd crash.

I have core dumps but not analyzed it yet. No evidence could be found in logs. I'll try to dig deeper and let you know if I can find something but I'm interested in your feedback if you can reproduce it on another system (centos for instance...).

As far as you know, is there something in rdservice and its children which definitely need root rights (shared memory or something like this) ?

Or maybe it could be possible to run rdservice as root, and it could launch caed as another user ? I think this was done for pypad components at a certain time (this has been rollbacked IIRC)

Thanks for your feedback

Best Regards

Florent


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to