cvs commit: ports/net/scribe Makefile ports/net/scribe/files scribe.in

Greg Larkin glarkin at FreeBSD.org
Wed May 18 20:41:59 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/16/11 9:48 AM, Jui-Nan Lin wrote:
> Hi,
> 
> It works :)

Actually, it doesn't work in the case where scribe_flags is defined in
/etc/rc.conf.  This is what I have:

scribe_enable="YES"
scribe_flags="-c /usr/local/share/examples/scribe/example1.conf"

This results in an error with the new scribe rc.d file:

# /usr/local/etc/rc.d/scribe start
Starting scribe.
daemon: /usr/local/share/examples/scribe/example1.conf: Permission denied

Doug, this reminds me why start_cmd has to be rewritten when
/usr/sbin/daemon is employed and the actual daemon has optional
command-line args.  I ran into this same problem with viewvc.  If
there's a better way, let me know.

In the mean time, I'll commit the fix for the py-thrift dependency.

Thank you,
Greg

> 
> Please see the attached patch files, fixed dependency of py-thrift.
> 
> On Mon, May 16, 2011 at 3:16 AM, Doug Barton <dougb at freebsd.org> wrote:
>> On 05/14/2011 23:14, Jui-Nan Lin wrote:
>>>
>>> Hello,
>>>
>>> This patch does not work on my installation.
>>
>> Thanks for testing, the attached patch works, I've actually tested this one.
>> :)
>>
>>> jnlin at Florence [2:14pm] [W2] ~>  sudo /usr/local/etc/rc.d/scribe onestart
>>> Starting scribe.
>>> jnlin at Florence [2:14pm] [W2] ~>  sudo cat /var/run/scribe.pid&&  echo
>>
>> FYI, the echo there is not necessary.
>>
>> Also FYI, the py-thrift dependency is not being detected properly if it's
>> already installed, you might want to take a look at that as well.
>>
>>
>> hth,
>>
>> Doug
>>
>> --
>>
>>        Nothin' ever doesn't change, but nothin' changes much.
>>                        -- OK Go
>>
>>        Breadth of IT experience, and depth of knowledge in the DNS.
>>        Yours for the right price.  :)  http://SupersetSolutions.com/
>>
>>


- -- 
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/cpucycle/      - Follow you, follow me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3ULw8ACgkQ0sRouByUApDxtQCcCQsuxMzYY/DkEbyJJnnLSNmP
0JQAoKsKB+/HGnhqrmkker4iq3LaxOOe
=z8OR
-----END PGP SIGNATURE-----


More information about the cvs-all mailing list