Subject: Re: xsystrace for x.org?
To: None <ghen@telenet.be>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 09/13/2005 08:56:25
In message <20050913124912.GA24270@lori.mine.nu>, Geert Hendrickx writes:
>> > On Mon, Sep 12, 2005 at 10:24:24AM +0200, fab wrote:
>> > > pkgsrc/security/gtk-systrace is your friend :)
>
>I installed gtk-systrace from pkgsrc, and created the symlink as instructed
>by the pkg's MESSAGE:
>
>> To use the GTK frontend with systrace, do
>>
>> $ cd /usr/pkg/xorg/bin && ln -s ${PREFIX}/bin/notification xsystrace
>>
>> You might need to remove/backup a previously existing xsystrace there.
>
>But now I get this error:
>
>> systrace: execvp: /usr/X11R6/bin/xsystrace: No such file or directory
>
>How can I tell systrace to look in my ${X11BASE} instead of /usr/X11R6 by
>default? (I don't have /usr/X11R6 since I use xorg from pkgsrc.)
>
>e.g. with ssh-add, I can set SSH_ASKPASS to the version under /usr/pkg/.
>
There are a fair number of places like that -- I had to add
XAuthLocation for ssh. The easiest thing for now is probably to create
a symlink. The larger question -- one for tech-pkg -- is how the base
system should have been built to make such things easier.
--Steven M. Bellovin, http://www.cs.columbia.edu/~smb