Tim,

Two things.  First, double check the following settings in the
[Identity] section of your /etc/rd.conf file

RnRmlOwner=
RnRmlGroup=

That is supposed to tell the system what user/group to run the RML's as.

If that doesn't work, I realize this goes against some of the suggested
Linux / Rivendell security conventions, but for testing purposes have
you tried changing the user that the Rivendell daemons run as by
systemd?

As root, edit the file:

/lib/systemd/system/rivendell.service

Then in the [Service] section add a line:

User=<USER>

where <USER> is the logged in user that runs RDAirplay and other
Rivendell apps.

Also make sure the User= part is a capital U with the "ser" lower case. 
I made the mistake once of having it all lower case and it didn't work.

This should cause your daemons to run as the same user as your logged in
user.  Again not necessarily the best thing to do for security purposes,
but it might help you troubleshoot the issue.  Of course if you make
changes to your systemd  configuration file then you'll need to restart
the Rivendell services.  As root:

systemctl stop rivendell
systemctl start rivendell

Lorne Tyndale



> -------- Original Message --------
> Subject: [RDD] Help RN just won't work
> From: Tim Camp <[email protected]>
> Date: Fri, October 23, 2020 2:49 pm
> To: User discussion about the Rivendell Radio Automation System
> <[email protected]>
> 
> 
> Greetings,
> 
> New install on CentOS 7 of Rivendell 3.4.1
> 
> This is day number two of trying every possible thing I can think of as to
> why this doesn't work.
> 
> Things I have tried.
> 
> 1. various settings for RNRmlOwner
> rd rivendell
> root root
> rd users
> rd rd
> 
> 2. paths
> RN with full path
> RN without full path
> changing $PATH
> 
> 3. Running env
> running the scripts with sh
> running in bash
> 
> Am I missing something?
> 
> These scripts contain commands to control our consoles
> which turn on channels, route audio, mute channels, etc
> The scripts send data via udp to the console using /dev/udp
> I have not had a problem with then in version 2.*
> The scripts run fine in terminal as any user.
> 
> Thanks for any thoughts or help on this.
> 
> Tim Camp
> WZEW-FM
> Mobile, Al.<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