Oh yea, I ran into this one some time ago. The problem is that Debian moved the "/var/run" director off to a ramdisk (actually "tmpfs" which is much better), so it goes away after each reboot.

So what I did is in my /etc/rc.local file I added:

mkdir /var/run/rivendell
chmod rivendell /var/run/rivendell

where the user I want to have access to this is "rivendell". You might want to modify this to work for you, such as mess around with group permissions some. Anyway this file gets run [but fairly late - beware] at each boot up. You might have to do something more customized to get this done before you attempt to run the rivendell daemons from an earlier init script.

On 6/9/2015 12:12 PM, rivendell-dev-requ...@lists.rivendellaudio.org wrote:
Date: Tue, 09 Jun 2015 12:40:06 -0400
From: Dave B<i...@dbickford.com>
To:"rivendell-dev@lists.rivendellaudio.org"
        <rivendell-dev@lists.rivendellaudio.org>
Subject: [RDD] Init script unable to create /var/run/rivendell
Message-ID:<557716e6.3060...@dbickford.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi all,
New install on Debian 8. It seems the init script is unable to create
/var/run/rivendell. Do I need to change the owner and/or group of the
script? Right now the owner and group is root and is allowed to be run
as an executable.  If I run the script as superuser it will create the
directory. Otherwise, it says mkdir: Cannot create directory
'/var/run/rivendell'. Permission denied.

Thanks,
Dave

_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to