Fwd: [alpine-devel] Re: samba init piddir error fix

Uros Kolar
Details
Message ID
<CAEO1jGvKW0PnGFmYKN7h6HbJXEOzEa3741wAe5b3B7Ot61U-Zw@mail.gmail.com>
Sender timestamp
1367297391
DKIM signature
missing
Download raw message
---------- Forwarded message ----------
From: UroŇ° Kolar <host.uros@gmail.com>
Date: Mon, Apr 29, 2013 at 5:33 PM
Subject: Re: [alpine-devel] Re: samba init piddir error fix
To: Natanael Copa <ncopa@alpinelinux.org>




Yes it works with checkpath.


On Apr 29, 2013, at 3:12 PM, Natanael Copa <ncopa@alpinelinux.org> wrote:

> On Sun, 28 Apr 2013 19:19:24 +0200
> UroŇ° Kolar <host.uros@gmail.com> wrote:
>
>> start() {
>> +    install -o root -g root -m 755 -d ${PIDDIR}
>>      for i in $daemon_list; do
>>              ebegin "Starting $i"
>>              start_$i
>
>
>
> could you please try if this works instead:
>
> start() {
> +       checkpath --directory --owner root:root \
> +               --mode 755 "$PIDDIR"
>        for i in $daemon_list; do
>                ebegin "Starting $i"
>                start_$i