Cfengine Help: Re: Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-02-01 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20356,20382#msg-20382 I really hope that none of you have to deal with the leftovers of a person close to you who killed

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20343#msg-20343 Now it works, thanks! :-) ___ Help-cfengine mailing list Help-cfengine@cfen

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20342#msg-20342 I have now verified again and personally that revision 1751 works properly on solaris global zones. __

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20341#msg-20341 I thought I didn't need to bother about these messages because I have not change anything. . . . cd . &

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20340#msg-20340 Earley on I got some errors about missing gnu-tools when compiling in Solaris. Sun, o sorry Oracle, put some gnu stuff

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20339#msg-20339 > Let's lay the ps options discussion to rest now? oki ___ Help-cfengine m

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20338#msg-20338 Ok - a colleague has pointed out that we are talking at cross purposes. We are both right and it still doesn't help. Without -z

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20337#msg-20337 Just to clarify, you see all processes without "-e" in Solaris 10. ___ Help

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20336#msg-20336 You do get all users processes without "-e" both as root and a normal user. My point is that you can have one command t

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20335#msg-20335 If you don't use -e you will not get all users' processes, just your own. That is clearly wrong. It is not just root processes t

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20334#msg-20334 The configure-script tries to run a c-function call as a command. ___ Help-

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20333#msg-20333 > Then what is the point of it? ps -o -z `zonename` will print all processes in the current zone. If you run that com

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20332#msg-20332 The configure script is not edited manually, it is generated by autoconf. Now this I have tested on our solaris boxes and it wo

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20331#msg-20331 >ps -z `zonename` combined with -e will never filter out processes local to the >current zone if run from the global zone, it wi

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20330#msg-20330 Shouldn't the configure script lines: if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_ec

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20329#msg-20329 Hi, I don't understand what you mean. ps -z `zonename` combined with -e will never filter out processes local to the

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20328#msg-20328 That is exactly what we want. I think you had a build error on the last test. The "getzone" function is exactly the thing that

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20327#msg-20327 Hi, Copied from the man-page: -e Lists information about every process

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20326#msg-20326 It is not known by me. ___ Help-cfengine mailing list Help-cfengine@cfengine.org htt

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20325#msg-20325 Hi, It still kills processes in the local zone from the global one. Is this known?: ./configure: line 23758: getzonen

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20324#msg-20324 I know, this is a bug in gcc/autoconf that will eventually rectify itself. It is just a warning and you can ignore it for testin

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20323#msg-20323 Compiling. I have to modify the Makefile after configure because it says pthread when it should be pthreads.

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20322#msg-20322 Ok, I see in all the back and forth that several confusions have been compounded. Please check the current svn. I hope this is f

Re: Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread Mark Burgess
>> Allowing people to choose the command will just lead to confusion. >> Unless a specific set of columns are available, the select_process >> functionality will not work as advertised. It just gives you rope to >> hang yourself by. > > Isn't that what unix is all about--having enough rope? :) >

Re: Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread Jesse Becker
On Fri, Jan 28, 2011 at 11:36:11AM -0500, Mark Burgess wrote: > >On 01/28/2011 04:51 PM, Jesse Becker wrote: >> On Fri, Jan 28, 2011 at 10:48:50AM -0500, no-re...@cfengine.com wrote: >>> Forum: Cfengine Help >>> Subject: Re: Processes in Solaris 10 and latest trunk r1736 >>> Author: mark >>> Link t

Re: Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread Mark Burgess
On 01/28/2011 04:51 PM, Jesse Becker wrote: > On Fri, Jan 28, 2011 at 10:48:50AM -0500, no-re...@cfengine.com wrote: >> Forum: Cfengine Help >> Subject: Re: Processes in Solaris 10 and latest trunk r1736 >> Author: mark >> Link to topic: https://cfengine.com/forum/read.php?3,20298,20319#msg-20319

Re: Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread Jesse Becker
On Fri, Jan 28, 2011 at 10:48:50AM -0500, no-re...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Re: Processes in Solaris 10 and latest trunk r1736 >Author: mark >Link to topic: https://cfengine.com/forum/read.php?3,20298,20319#msg-20319 > >All information is useful. But I'll try to look at t

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20319#msg-20319 All information is useful. But I'll try to look at this over the weekend. ___ Help-c

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20318#msg-20318 Hi, Tried 1747 and it match all processes, global and local. Shall I still try 1739? _

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,20298,20315#msg-20315 Err, it matched *nothing* in r1737 (not everything), sorry. ___ Help-cfengine mai

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,20298,20314#msg-20314 There was a bug causing it to match everything in r1737, please try r1739. ___ He

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20310#msg-20310 Ok, My version: # cat /etc/release Solaris 10 10/09 s10s_u8wos_08a SPARC Copyright

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20309#msg-20309 I suspect there is some kind of irregular output in different versions of solaris causing these problems. What a headache. I'll

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20308#msg-20308 Hi, Now my bundle don't match the process at all and starts a second cf-execd in the global zone I'm I doing somet

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20307#msg-20307 Hi, Just checking once more to make sure that my test wasn't wrong. Please bare with me.

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20306#msg-20306 This is very difficult to understand. My own testing shows that they are not... ok back to the drawing board. I'm afraid that y

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20305#msg-20305 Hi again, Testing 1738 shows that all processes are matched from global zone. cf-execd in a local zone was killed (fro

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20298,20304#msg-20304 Hi, To always be sure to only list processes in current zone only I always use "-z ". This simplifies coding in my opi

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20303#msg-20303 I reinstated the original patch approach that became troublesome in svn. Please test for me and confirm it works on global zone.

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20302#msg-20302 I am struggling to understand the point of -z global if it does not do what the manual claims. -fo is not the correct string, a

Cfengine Help: Re: Processes in Solaris 10 and latest trunk r1736

2011-01-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Processes in Solaris 10 and latest trunk r1736 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20298,20301#msg-20301 What is the point of -z global if it does not filter? I think this was why I didn't use it originally, but then I got other advi