RE: Problems with +CONTENTS being messed up by pkg_delete -f

2007-07-19 Thread Helge.Oldach
Stephen Montgomery-Smith: If you pkg_delete -f a package and then install the port again (but after it has been bumped up a version), then the +CONTENTS of ports that require the original port will be incorrect. This apparently messes up programs like portmanager. There is a sense in which

Re: Slight problem with make actual-package-depends with ports

2007-07-19 Thread Alexander Leidinger
Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Wed, 18 Jul 2007 09:16:56 -0500): Alexander Leidinger wrote: Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Tue, 17 Jul 2007 19:46:11 -0500): It seems to me that the cure is to slightly change make actual-package-depends so

Re: Slight problem with make actual-package-depends with ports

2007-07-19 Thread Alexander Leidinger
Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Wed, 18 Jul 2007 10:11:47 -0500): Alexander Leidinger wrote: Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Tue, 17 Jul 2007 19:46:11 -0500): I appreciate that most people won't have this problem, but it has bitten me.

Re: kern.ngroups question

2007-07-19 Thread Ruben de Groot
On Thu, Jul 19, 2007 at 12:19:53PM +1000, Michael Vince typed: I just had to deal with this limitation and it was quite annoying to say the least, it appears Samba is somewhat deliberately designed to give you a hard time when you run into this limit, because as soon as you add a user to

Re: kern.ngroups question

2007-07-19 Thread Reuben A. Popp
On Wednesday 18 July 2007 21:19, Michael Vince wrote: Julian Elischer wrote: Reuben A. Popp wrote: Hello all, Can someone explain to me the rationale behind having ngroups_max set to 16 by default? NFS only supports this much by default (from memory). Samba (in the guise of

change control on FreeBSD servers

2007-07-19 Thread Rogelio Bastardo
I'm looking for some sort of change control solution. On several Cacti/Nagios servers, I would like to take a snapshot of what I did, back it up, and if something changes, run something that shows me what files / permissions were changed since I last worked on the server. If it were just me,

Re: change control on FreeBSD servers

2007-07-19 Thread Russell Jackson
Rogelio Bastardo wrote: I'm looking for some sort of change control solution. On several Cacti/Nagios servers, I would like to take a snapshot of what I did, back it up, and if something changes, run something that shows me what files / permissions were changed since I last worked on the

Path to executable of current process?

2007-07-19 Thread Michael B Allen
Hello, I'm looking for an example that uses kvm_getargv but from just googling around I can't seem to find an example. Can someone give me a pointer? Actually what I'm *really* trying to do is port some code that invokes GDB to do a backtrace and I need to give GDB the path to the executable of

Re: Path to executable of current process?

2007-07-19 Thread Michael B Allen
On 7/19/07, Michael B Allen [EMAIL PROTECTED] wrote: Hello, I'm looking for an example that uses kvm_getargv but from just googling around I can't seem to find an example. Can someone give me a pointer? Actually what I'm *really* trying to do is port some code that invokes GDB to do a

Re: Path to executable of current process?

2007-07-19 Thread Michael B Allen
Is there any way to get argv[0] for [a particular] process without being root? After more digging I see sysctl seems to be the way to do this but can I get the full path to the executable form kinfo_proc? How does ps do this? static const char * getcmdline(pid_t pid) { static struct

Re: kern.ngroups question

2007-07-19 Thread Hartmut Brandt
Reuben A. Popp wrote: On Wednesday 18 July 2007 21:19, Michael Vince wrote: Julian Elischer wrote: Reuben A. Popp wrote: Hello all, Can someone explain to me the rationale behind having ngroups_max set to 16 by default? NFS only supports this much by default (from memory). Samba (in the