Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 10:33:33 +0100
From:      Rui Paulo <rpaulo@freebsd.org>
To:        =?iso-8859-1?Q?Istv=E1n?= <leccine@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>, Garrett Cooper <gcooper@freebsd.org>
Subject:   Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps
Message-ID:  <28FFE6A7-0ECD-4454-9364-DC555327678E@freebsd.org>
In-Reply-To: <AANLkTimqQESoHdzytUphBxTS8FYR6qiYeT3nfds2GJhU@mail.gmail.com>
References:  <AANLkTi=BTfcPYtO7Hby3dK7C7qiH2CXdThYyV9QBj8_T@mail.gmail.com> <DE0D21FF-0E8F-4993-87B0-69B7AA74861C@FreeBSD.org> <AANLkTins6w0znaw%2BvQ7M57cSXS1OK6aQ0KUyJMjD-ytq@mail.gmail.com> <7EC03A5E-61DA-46AB-95E1-1D844E10C735@FreeBSD.org> <AANLkTingZ1uQiC3TYaJtgQFG_m1HOAsOdCtRx4Aizj_i@mail.gmail.com> <D4CE1F20-02ED-4267-95D2-0199AEFA7C43@freebsd.org> <AANLkTinvBDQt-4Pk-GN3P1Wa20UTbr7OJaXiQeSD375u@mail.gmail.com> <FA2F29D4-F8E8-41A6-A471-DFE36C677B0D@freebsd.org> <AANLkTikZCUbwPF-grkAWQLVSL%2Bnm_NDBP%2B6ZLyYBNZxs@mail.gmail.com> <AANLkTimf%2B4xPLmYyrA%2B2GkYsRaNiLZjeAxEBL7MFd2Hk@mail.gmail.com> <AANLkTimFOKbix2bS0wQanGGv_jrysWm=kxu-FAEGd3g6@mail.gmail.com> <0B32E6BF-8CFE-4BC3-AFC8-EA77B1B5E8D7@freebsd.org> <AANLkTimqQESoHdzytUphBxTS8FYR6qiYeT3nfds2GJhU@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 19 Oct 2010, at 10:15, Istv=E1n wrote:

> wow, you go the point after couple of emails. better later than never, =
huh :)

You sure are an amusing guy. Rude, but amusing :-)

>=20
> you think adding pgsql to wheel might help? cc freebsd-security@ and =
see their opinion about the topic.

dof needs to inject the probes in /dev/dtrace/helper, so the user needs =
rw access to the /dev/dtrace/helper. I specifically added write access =
to the wheel group for this.

>=20
> i modified the permission of /dev/dtrace/helper instead but it gives =
the following error still:
>=20
> dtrace DOF postgres: DTrace ioctl failed for DOF at 0x801c35000: =
Invalid argument

This error usually means that there were no probes found in dof section =
of the binary. Somehow they were not inserted correctly during the build =
stage.

> do you mean /usr/ports/databases/postgresql90-server?

Yes.

>=20
> I was rebuilding it with that switch, what now?

Send me the build log, gzipped.

Regards,
--
Rui Paulo





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28FFE6A7-0ECD-4454-9364-DC555327678E>