On Wed, Aug 21, 2013 at 23:25 -0500, Steve M. Robbins wrote:
> root@riemann{~}ls -la /run/inadyn 
> ls: cannot access /run/inadyn: No such file or directory
> root@riemann{~}ls -la /var/log/inadyn
> total 16
> drwxr-xr-x  2 debian-inadyn debian-inadyn  4096 Aug 10 10:08 .
> drwxr-xr-x 27 root          root          12288 Aug 21 23:09 ..
> root@riemann{~}ls -l /etc/inadyn.conf
> -rw-r----- 1 root debian-inadyn 787 Aug  9 02:24 /etc/inadyn.conf

As I can see, postinst script ran ok: log dir and config have correct owner.

> I edited /et/default/inadyn, and /etc/inadyn.conf, then:
> 
> root@riemann{~}/etc/init.d/inadyn restart

Why 'restart'? :) 'start' command in init script has create_cache_dir() call,
which creates /run/inadyn dir. So, if you invoke init script with 'start' 
command,
it will create run dir with the correct owner.

Perhaps I should put create_cache_dir() call in 'restart' command.

-- 
Timur


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to