Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-10 Thread Rob Landry
On Tue, 9 Jun 2015, James L. Stewart wrote: So what I did is in my /etc/rc.local file I added: mkdir /var/run/rivendell chmod rivendell /var/run/rivendell That's what I do, too. Rob ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendell

[RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread James L. Stewart
uot; 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 chan

Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Dave B
Never did find out the reason... On 6/9/2015 5:14 PM, Alessio Elmi wrote: Just to understand: could find out the reason in the end? I mean.. in /etc/init.d/ there are other scripts, aren't they? Debian default stuff.. what could be the differnece between them and your script? Maybe it's time

Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Alessio Elmi
Just to understand: could find out the reason in the end? I mean.. in /etc/init.d/ there are other scripts, aren't they? Debian default stuff.. what could be the differnece between them and your script? Maybe it's time to deal with a systemd script.. Il giorno mar 9 giu 2015 alle ore 22:55 Dave B

Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Dave B
I've already tried that Alessio. On 6/9/2015 4:31 PM, Alessio Elmi wrote: Do you mean the file located in /etc/init.d/rivendell ? Is there any problem in chown that init script by 'root' and let it create a folder in /var/run which belongs to 'rivendell'? _

Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Alessio Elmi
Do you mean the file located in /etc/init.d/rivendell ? Is there any problem in chown that init script by 'root' and let it create a folder in /var/run which belongs to 'rivendell'? Il giorno mar 9 giu 2015 alle ore 21:04 Frederick Gleason < fr...@paravelsystems.com> ha scritto: > On Jun 9, 2015,

Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Frederick Gleason
On Jun 9, 2015, at 13:05 17, Wayne Merricks wrote: > OK It seems that most distributions are ignoring the super user bit these > days. Most distributions have always shipped with bash(1) configured to ignore the SETUID bit, which means that init scripts will ignore them as well. There are v

Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Dave B
What I ended up doing was copying the directory creation code from the Rivendell init script to /etc/rc.local. That way the directory is created at boot time. On 6/9/2015 1:05 PM, Wayne Merricks wrote: OK It seems that most distributions are ignoring the super user bit these days. What abou

Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Wayne Merricks
OK It seems that most distributions are ignoring the super user bit these days. What about changing the group of /var/run to the rivendell users group. In theory this should stick across reboots as its only the contents of /var/run that are deleted if I remember rightly. Regards, Wayne Me

Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Dave B
The script is still not creating the directory. On 6/9/2015 12:43 PM, Wayne Merricks wrote: I thought init would run as root. You can try sudo chmod u+s on the script. This should force root regardless of where/how the script is run. Wayne Merricks The Voice Asia On 09/06/15 17:40, Dave B

Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Wayne Merricks
I thought init would run as root. You can try sudo chmod u+s on the script. This should force root regardless of where/how the script is run. Wayne Merricks The Voice Asia On 09/06/15 17:40, Dave B wrote: Hi all, New install on Debian 8. It seems the init script is unable to create /var/ru

[RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Dave B
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 dire