Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2011 16:41:51 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
Cc:        cvs-ports@freebsd.org, Doug Barton <dougb@freebsd.org>, Erik Steigler <erik@okcupid.com>, cvs-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: cvs commit: ports/net/scribe Makefile ports/net/scribe/files scribe.in
Message-ID:  <4DD42F0F.3000800@FreeBSD.org>
In-Reply-To: <BANLkTimMdVhN6bcz9nywxYM7oFKf0iQHAQ@mail.gmail.com>
References:  <201105131353.p4DDrtms046413@repoman.freebsd.org>	<4DCF0192.6030808@FreeBSD.org>	<BANLkTi=-i%2BAs=sL8ZTbQt6YkCaADg8Tb=g@mail.gmail.com>	<4DD026A5.8030900@FreeBSD.org> <BANLkTimMdVhN6bcz9nywxYM7oFKf0iQHAQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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@Florence [2:14pm] [W2] ~>  sudo /usr/local/etc/rc.d/scribe onestart
>>> Starting scribe.
>>> jnlin@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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DD42F0F.3000800>