On Debian 8, I set up a script in /root to run on boot, including:

        systemctl start rivendell

...and that starts the daemons.


Rob

--
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.

On Thu, 13 Apr 2017, Lorne Tyndale wrote:

Nick,
I've run into this on Lubuntu 14.04 before, compiled from source.  What
I found is that it is definitely a permissions thing.

For me, a:

sudo -s /usr/local/bin/caed /usr/local/bin/rdcatchd /usr/local/bin/ripcd

And then a restart of the daemons did the trick - allows them to run as
the same user as rdairplay, rdpanel, jack, etc - and it all just starts
to work.

Of course you may need to change the path to wherever those 3 daemons
live (they might be in /usr/bin)

Give it a try.

Lorne Tyndale




Hello Rob and list...

I looked into permissions and find the following:
AudioOwner (from rd.conf) is nick, this is also the rivendell user.

When running, the caed and ripcd processes are root, even though I started
them manually as nick in a command shell.
rdairplay is running as nick, as well as rdlibrary.

I tried to make the 2 daemons run as nick, but then rdairplay claims it
can't start the daemons.  Put them back as root and rdairplay starts again.

Tried to make rdairplay run as root and still the same issue, it won't
execute macros.  Loading up rdlibrary as nick and the macros run.

If I run the commands that the one set of macros should execute in a shell,
they work properly when logged in as root or nick.

I'm puzzled... to me it feels like rdairplay just isn't executing macros
carts, even though they are being logged in ripcd.log.


On Wed, Apr 12, 2017 at 3:37 AM, Rob Landry <[email protected]> wrote:

> On Tue, 11 Apr 2017, Nick Vanderest wrote:
>
> I can not make any macros carts execute from RDPANEL or the sound panel in
>> RDAIRPLAY.  It will play audio, but not macros or execute a shell command
>> or script.
>>
>
> That sounds like a permissions problem. Rivendell is probably not running
> as the user you are logged in as, but as 'rivendell' or some such.
>
> If I run the command or script from the shell, they execute and the
>> expected
>> results are received. In my test case, disconnecting and connecting inputs
>> and outputs in JACK audio.
>>
>
> That makes sense.
>
> I can also run the macro carts in RDLIBRARY by hitting 'Run Cart', and the
>> commands are executed properly.
>>
>
> That doesn't make sense. If the problem were the 'rivendell' user not
> having permission to execute scripts belonging to your login user, then
> rdlibrary shouldn't be able to do anything rdairplay or rdpanel can't do.
>
> Try modifying the 'rivendell' user so you can su to it; then try running
> the scripts from a terminal as 'rivendell' and see if they work.
>
>
> Rob<hr>_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to