From owner-fam@oss.sgi.com Tue Oct 2 13:30:54 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f92KUsG24874 for fam-outgoing; Tue, 2 Oct 2001 13:30:54 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f92KUpD24866 for ; Tue, 2 Oct 2001 13:30:51 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f92KUpQ23216 for ; Tue, 2 Oct 2001 16:30:51 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Tue, 2 Oct 2001 16:30:51 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Subject: [fam] Fam race condition Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk I found a pretty bad race condition in fam. If several changes are made to one file in the same second, fam will only report the first one. It does not detect the following ones, because the resolution of ctime (used to see if the file changed) is only one second. This patch partly fixes the problem: --- fam-oss-2.6.4-alex/fam/Interest.c++.race Tue Oct 2 16:05:45 2001 +++ fam-oss-2.6.4-alex/fam/Interest.c++ Tue Oct 2 16:14:12 2001 @@ -181,7 +181,13 @@ bool exists = status.st_mode != 0; bool did_exist = old_stat.st_mode != 0; - bool stat_changed = old_stat.st_ctime != status.st_ctime; + bool stat_changed = + (old_stat.st_ctime != status.st_ctime) || + (old_stat.st_mode != status.st_mode) || + (old_stat.st_uid != status.st_uid) || + (old_stat.st_gid != status.st_gid) || + (old_stat.st_size != status.st_size) || + (old_stat.st_ino != status.st_ino); old_stat = status; if (exists && !did_exist) But it is still broken if parts of the file contents are rewritten during the second. I see no way to fix this except delaying change notifications until the end of the second. That sort of breaks the reason for fam though, so i didn't do that. How did sgi never notice this? They've shipped fam forever. Don't they ever test their software? / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Tue Oct 2 16:58:52 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f92Nwqh30736 for fam-outgoing; Tue, 2 Oct 2001 16:58:52 -0700 Received: from vergenet.net (root@fritz.vergenet.net [61.8.3.7]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f92NwjD30733 for ; Tue, 2 Oct 2001 16:58:46 -0700 Received: (from raster@localhost) by vergenet.net (8.11.6/8.11.6) id f92NwiF02833; Wed, 3 Oct 2001 09:58:44 +1000 From: raster@rasterman.com To: alexl@redhat.com, fam@oss.sgi.com Date: Wed, 3 Oct 2001 09:21:10 +1000 From: Carsten Haitzler (The Rasterman) To: Alex Larsson Cc: fam@oss.sgi.com Subject: Re: [fam] Fam race condition Message-Id: <20011003092110.7ac0f5ff.raster@rasterman.com> In-Reply-To: References: Organization: You expect me to be organized? X-Mailer: Sylpheed version 0.5.3 (GTK+ 1.2.8; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk On Tue, 2 Oct 2001 16:30:51 -0400 (EDT) Alex Larsson babbled profusely: > I found a pretty bad race condition in fam. > If several changes are made to one file in the same second, fam will only > report the first one. It does not detect the following ones, because the > resolution of ctime (used to see if the file changed) is only one second. > > This patch partly fixes the problem: > > --- fam-oss-2.6.4-alex/fam/Interest.c++.race Tue Oct 2 16:05:45 2001 > +++ fam-oss-2.6.4-alex/fam/Interest.c++ Tue Oct 2 16:14:12 2001 > @@ -181,7 +181,13 @@ > > bool exists = status.st_mode != 0; > bool did_exist = old_stat.st_mode != 0; > - bool stat_changed = old_stat.st_ctime != status.st_ctime; > + bool stat_changed = > + (old_stat.st_ctime != status.st_ctime) || > + (old_stat.st_mode != status.st_mode) || > + (old_stat.st_uid != status.st_uid) || > + (old_stat.st_gid != status.st_gid) || > + (old_stat.st_size != status.st_size) || > + (old_stat.st_ino != status.st_ino); > old_stat = status; > > if (exists && !did_exist) > > But it is still broken if parts of the file contents are rewritten during > the second. I see no way to fix this except delaying change notifications > until the end of the second. That sort of breaks the reason for fam > though, so i didn't do that. > > How did sgi never notice this? They've shipped fam forever. Don't they > ever test their software? likely they havent heavily tested the "polling" mode - and rely on the kernel layer (imon) to do the work. i think they assume you knwo that polling mode isnt 100% reliable (could miss a file appear and dissapear if it does it between polls and more) so it wan't an issue to look into. at least that's what i assume was the case :) -- --------------- Codito, ergo sum - "I code, therefore I am" -------------------- The Rasterman (Carsten Haitzler) raster@rasterman.com Unemployed Bum raster@deephackmode.org Mobile Phone: +61 (0)408 363 984 Home Phone: 02 9386 9362 -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Tue Oct 2 18:28:48 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f931Smr00604 for fam-outgoing; Tue, 2 Oct 2001 18:28:48 -0700 Received: from zok.sgi.com (zok.sgi.com [204.94.215.101]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f931SeD00600 for ; Tue, 2 Oct 2001 18:28:40 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by zok.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with ESMTP id f931SZK30007 for ; Tue, 2 Oct 2001 18:28:35 -0700 Received: from sgi.com (capella.engr.sgi.com [163.154.5.91]) by cthulhu.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id SAA19317; Tue, 2 Oct 2001 18:27:42 -0700 (PDT) Message-ID: <3BBA698D.8CAB37F7@sgi.com> Date: Tue, 02 Oct 2001 18:27:41 -0700 From: Wesley Smith X-Mailer: Mozilla 4.78C-SGI [en] (X11; U; IRIX 6.5-ALPHA-1287615620 IP32) X-Accept-Language: en MIME-Version: 1.0 To: raster@rasterman.com CC: alexl@redhat.com, fam@oss.sgi.com Subject: Re: [fam] Fam race condition References: <20011003092110.7ac0f5ff.raster@rasterman.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk raster@rasterman.com wrote: > > On Tue, 2 Oct 2001 16:30:51 -0400 (EDT) Alex Larsson babbled > profusely: > > > > But it is still broken if parts of the file contents are rewritten during > > the second. I see no way to fix this except delaying change notifications > > until the end of the second. That sort of breaks the reason for fam > > though, so i didn't do that. > > > > How did sgi never notice this? They've shipped fam forever. Don't they > > ever test their software? > > likely they havent heavily tested the "polling" mode - and rely on the kernel > layer (imon) to do the work. i think they assume you knwo that polling mode isnt > 100% reliable (could miss a file appear and dissapear if it does it between > polls and more) so it wan't an issue to look into. > > at least that's what i assume was the case :) Yes, you're right about that - we almost always use imon. But actually, we did run into this problem last year on some internal machines where fam was watching some large mail files. The fix for IRIX was to use a different field in the stat struct that has nanosecond resolution. Unfortunately, Linux doesn't seem to have that, so you can't take the same approach. Also, you might consider checking mtime as well as ctime, as we have reports that some NT based NFS servers don't update ctime when they should. -- Wesley Smith wessmith@sgi.com (650)933-4536 -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 3 00:31:31 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f937VVf07484 for fam-outgoing; Wed, 3 Oct 2001 00:31:31 -0700 Received: from rj.sgi.com (rj.SGI.COM [204.94.215.100]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f937VTD07481 for ; Wed, 3 Oct 2001 00:31:29 -0700 Received: from rlyeh.engr.sgi.com ([198.29.76.98]) by rj.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with ESMTP id f937VOL23003 for ; Wed, 3 Oct 2001 00:31:24 -0700 Received: (from rusty@localhost) by rlyeh.engr.sgi.com (SGI-8.9.3/8.9.3) id AAA87040; Wed, 3 Oct 2001 00:27:14 -0700 (PDT) From: "Rusty Ballinger" Message-Id: <10110030027.ZM88363@rlyeh.engr.sgi.com> Date: Wed, 3 Oct 2001 00:27:12 -0700 In-Reply-To: Alex Larsson "[fam] Fam race condition" (Oct 2, 4:30pm) References: X-Face: #)4}U4e`O6YEe%oBzE}>ycmT!Xt?Myiqo~|p3Wh'UuQ[N7)&4\4?8:1n)bmPX]b@#k94%!VojpODdmk:sCr1b\-aXD&P:wjBqupMB:ag6}BwVseJZM@K{$E|0J9}&,Rpdg{&N4/Y8&PTm6>|r[,gI2T*qN!`AZhl>Bdy7JR`dDvP(/pz.}?Q@dg':mlV`RX51Z_ZG?Gta|Q!iA[MaOh Reply-To: rusty@sgi.com X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: alexl@redhat.com Subject: Re: [fam] Fam race condition Cc: fam@oss.sgi.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-fam@oss.sgi.com Precedence: bulk > If several changes are made to one file in the same second, fam will only > report the first one. Even when you're using imon, the idea isn't that you get one event per file operation. (imon has code which intentionally notifies the client only once when multiple operations of the same type happen in rapid succession on the same file.) The question of whether Interest::do_stat() should return true when some of the other stat bits have changed is a good one. Since (in most cases) the polling code is just a fallback for when the kernel won't provide notification, and (I think) imon sends events on uid/gid/mode changes, I think that part of your patch is right. --Rusty -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 3 07:31:34 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f93EVYa15515 for fam-outgoing; Wed, 3 Oct 2001 07:31:34 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f93EVVD15512 for ; Wed, 3 Oct 2001 07:31:31 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f93EVGG24196; Wed, 3 Oct 2001 10:31:16 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 3 Oct 2001 10:31:16 -0400 (EDT) From: Alex Larsson X-X-Sender: To: cc: Subject: Re: [fam] Fam race condition In-Reply-To: <10110030027.ZM88363@rlyeh.engr.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 3 Oct 2001, Rusty Ballinger wrote: > > If several changes are made to one file in the same second, fam will only > > report the first one. > > Even when you're using imon, the idea isn't that you get one event per > file operation. (imon has code which intentionally notifies the client > only once when multiple operations of the same type happen in rapid > succession on the same file.) I know that. But one last event must be sent after the final modification, or clients will "hang" showing an "invalid" state. This happened for us in Nautilus. When saving a file fam sent an event for the truncate, leading to Nautilus updating it's data, showing a file size of zero. Then when the changes that wrote to the file arrived they weren't detected as changes by fam, because they were in the same second. This caused Nautilus to keep displaying 0 bytes for the file. > The question of whether Interest::do_stat() should return true when some of > the other stat bits have changed is a good one. Since (in most cases) the > polling code is just a fallback for when the kernel won't provide > notification, and (I think) imon sends events on uid/gid/mode changes, I > think that part of your patch is right. I don't understand this comment. This has very little to do with polling mode. The code path for an imon CHANGED event always goes through Interest::do_stat(), so if this function returns false (as in the case of the seconds race) that imon event is ignored. Just like the case in the dnotigfy case. / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 3 07:32:40 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f93EWeA15582 for fam-outgoing; Wed, 3 Oct 2001 07:32:40 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f93EWcD15579 for ; Wed, 3 Oct 2001 07:32:38 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f93EWZ824322; Wed, 3 Oct 2001 10:32:36 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 3 Oct 2001 10:32:35 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Carsten Haitzler cc: Subject: Re: [fam] Fam race condition In-Reply-To: <20011003092110.7ac0f5ff.raster@rasterman.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 3 Oct 2001, Carsten Haitzler wrote: > likely they havent heavily tested the "polling" mode - and rely on the kernel > layer (imon) to do the work. i think they assume you knwo that polling mode isnt > 100% reliable (could miss a file appear and dissapear if it does it between > polls and more) so it wan't an issue to look into. > > at least that's what i assume was the case :) This has nothing to do with polling mode. (Well. The bug exists there too, but is much harder to trigger.) / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 3 07:40:32 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f93EeWJ15787 for fam-outgoing; Wed, 3 Oct 2001 07:40:32 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f93EeTD15784 for ; Wed, 3 Oct 2001 07:40:29 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f93Edwb25592; Wed, 3 Oct 2001 10:39:58 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 3 Oct 2001 10:39:58 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Wesley Smith cc: , Subject: Re: [fam] Fam race condition In-Reply-To: <3BBA698D.8CAB37F7@sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Tue, 2 Oct 2001, Wesley Smith wrote: > Yes, you're right about that - we almost always use imon. But actually, we > did run into this problem last year on some internal machines where fam was > watching some large mail files. The fix for IRIX was to use a different > field in the stat struct that has nanosecond resolution. Unfortunately, > Linux doesn't seem to have that, so you can't take the same approach. They're apparently adding that for 2.5. That will sort of solve the problem, if you have 'real' nanosecond resolution timers. Since I doubt that is the case though, I think the correct fix would be to have a generation counter in struct stat. But I doubt that will ever happen. Of course, that wouldn't be perfect either, if you manage to do 2^32 changes in one second it could fail. I don't think that would be a problem though. :) > Also, you might consider checking mtime as well as ctime, as we have > reports that some NT based NFS servers don't update ctime when they should. Yeah, I'll add that, even though (as raster said) the polling case isn't that important. / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 3 12:40:01 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f93Je1d22300 for fam-outgoing; Wed, 3 Oct 2001 12:40:01 -0700 Received: from zok.sgi.com (zok.sgi.com [204.94.215.101]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f93Je0D22297 for ; Wed, 3 Oct 2001 12:40:00 -0700 Received: from sam.engr.sgi.com (sam.engr.sgi.com [163.154.6.37]) by zok.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with ESMTP id f93JdsK29335 for ; Wed, 3 Oct 2001 12:39:54 -0700 Received: from localhost (pj@localhost) by sam.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id MAA68173; Wed, 3 Oct 2001 12:40:58 -0700 (PDT) X-Authentication-Warning: sam.engr.sgi.com: pj owned process doing -bs Date: Wed, 3 Oct 2001 12:40:58 -0700 From: Paul Jackson To: Alex Larsson cc: rusty@sgi.com, fam@oss.sgi.com Subject: Re: [fam] Fam race condition In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 3 Oct 2001, Alex Larsson wrote: > This happened for us in Nautilus. When saving a file fam sent an event for > the truncate, leading to Nautilus updating it's data, showing a file size > of zero. Then when the changes that wrote to the file arrived they weren't > detected as changes by fam, because they were in the same second. This > caused Nautilus to keep displaying 0 bytes for the file. Too bad the event isn't sent at the end of the second, not when the first change is seen. That is, the semantics of the event should be "1 or more changes seen in last second", not "1 or more changes will happen in the next second". I won't rest till it's the best ... Manager, Linux Scalability Paul Jackson 1.650.933.1373 -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 3 13:50:49 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f93Konk24328 for fam-outgoing; Wed, 3 Oct 2001 13:50:49 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f93KolD24325 for ; Wed, 3 Oct 2001 13:50:47 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f93Ko7X21338; Wed, 3 Oct 2001 16:50:07 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 3 Oct 2001 16:50:07 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Paul Jackson cc: , Subject: Re: [fam] Fam race condition In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 3 Oct 2001, Paul Jackson wrote: > On Wed, 3 Oct 2001, Alex Larsson wrote: > > This happened for us in Nautilus. When saving a file fam sent an event for > > the truncate, leading to Nautilus updating it's data, showing a file size > > of zero. Then when the changes that wrote to the file arrived they weren't > > detected as changes by fam, because they were in the same second. This > > caused Nautilus to keep displaying 0 bytes for the file. > > Too bad the event isn't sent at the end of the second, not when > the first change is seen. That is, the semantics of the event > should be "1 or more changes seen in last second", not "1 or > more changes will happen in the next second". Unfortunately, that would delay reported changes up to one second. That is a user-visible amount of delay. / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 3 14:00:06 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f93L06o24496 for fam-outgoing; Wed, 3 Oct 2001 14:00:06 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f93L04D24493 for ; Wed, 3 Oct 2001 14:00:04 -0700 Received: from sam.engr.sgi.com (sam.engr.sgi.com [163.154.6.37]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id NAA06007 for ; Wed, 3 Oct 2001 13:58:58 -0700 (PDT) mail_from (pj@engr.sgi.com) Received: from localhost (pj@localhost) by sam.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id OAA69241; Wed, 3 Oct 2001 14:01:20 -0700 (PDT) X-Authentication-Warning: sam.engr.sgi.com: pj owned process doing -bs Date: Wed, 3 Oct 2001 14:01:20 -0700 From: Paul Jackson To: Alex Larsson cc: rusty@sgi.com, fam@oss.sgi.com Subject: Re: [fam] Fam race condition In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 3 Oct 2001, Alex Larsson wrote: > Unfortunately, that would delay reported changes up to one second. That is > a user-visible amount of delay. ... continuing to brainstorm ... how about both then, meaning to notify on first event, and continue to notify once per second until an entire second elapses with no further events. ... or perhaps the compression down to one event per second is too much compression - try one-tenth of a second or such instead ... I won't rest till it's the best ... Manager, Linux Scalability Paul Jackson 1.650.933.1373 -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 3 15:31:09 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f93MV9t26755 for fam-outgoing; Wed, 3 Oct 2001 15:31:09 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f93MV6D26752 for ; Wed, 3 Oct 2001 15:31:06 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f93MUhS02972; Wed, 3 Oct 2001 18:30:43 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 3 Oct 2001 18:30:42 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Paul Jackson cc: , Subject: Re: [fam] Fam race condition In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 3 Oct 2001, Paul Jackson wrote: > On Wed, 3 Oct 2001, Alex Larsson wrote: > > Unfortunately, that would delay reported changes up to one second. That is > > a user-visible amount of delay. > > ... continuing to brainstorm ... how about both then, > meaning to notify on first event, and continue to notify > once per second until an entire second elapses with no > further events. This would mean always duplicating events. Once for the initial event and once at the end of the second. > ... or perhaps the compression down to one event per > second is too much compression - try one-tenth of a > second or such instead ... Huh? How would you do that? You are still unable to detect any changes in the last nine tenths of the second. / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 3 15:44:18 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f93MiI026995 for fam-outgoing; Wed, 3 Oct 2001 15:44:18 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f93MiGD26992 for ; Wed, 3 Oct 2001 15:44:16 -0700 Received: from sam.engr.sgi.com (sam.engr.sgi.com [163.154.6.37]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id PAA06563 for ; Wed, 3 Oct 2001 15:43:10 -0700 (PDT) mail_from (pj@engr.sgi.com) Received: from localhost (pj@localhost) by sam.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id PAA68434; Wed, 3 Oct 2001 15:45:44 -0700 (PDT) X-Authentication-Warning: sam.engr.sgi.com: pj owned process doing -bs Date: Wed, 3 Oct 2001 15:45:43 -0700 From: Paul Jackson To: rusty@sgi.com, fam@oss.sgi.com, alexl@devserv.devel.redhat.com Subject: Re: [fam] Fam race condition (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk Alex noted: |> This would mean always duplicating events. ... |> Huh? How would you do that? ... eh - nevermind. My brainstorming isn't helping here. I won't rest till it's the best ... Manager, Linux Scalability Paul Jackson 1.650.933.1373 -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Thu Oct 4 12:09:03 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f94J93A20645 for fam-outgoing; Thu, 4 Oct 2001 12:09:03 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f94J90D20642 for ; Thu, 4 Oct 2001 12:09:00 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f94J90506068 for ; Thu, 4 Oct 2001 15:09:00 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Thu, 4 Oct 2001 15:09:00 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Subject: [fam] Converting fam to run as user Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk I've had this idea in the back of my head for a while now, and I wanted to hear the lists comments on it. Currently, fam runs as root, meaning that it is vurnerable to security issues, and has to depend on stuff like inetd and portmapper. So, it might make sense to convert fam to a user daemon. The idea would be to change libfam to look for a running fam (running as the same user), and if one is not running, spawn a new one and connect to it. It would then use unix-domain sockets credentials passing from both sides to verify uids. libfam would stay binary compat, so no change would be needed for clients. The downsides to this is of course if multiple users use fam on the same machine you'd have duplicate processes. But i don't think the process overhead is that bad, all code would be shared. There would also be extra work done if multiple users watches the same files. Comments? / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sat Oct 6 21:07:43 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9747hq06099 for fam-outgoing; Sat, 6 Oct 2001 21:07:43 -0700 Received: from femail33.sdc1.sfba.home.com (femail33.sdc1.sfba.home.com [24.254.60.23]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9747dD06096 for ; Sat, 6 Oct 2001 21:07:39 -0700 Received: from win98 ([24.64.35.166]) by femail33.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20011007040733.QEQG13030.femail33.sdc1.sfba.home.com@win98> for ; Sat, 6 Oct 2001 21:07:33 -0700 Message-ID: <000f01c14ee5$87c9a120$1000a8c0@homelan.org> From: "Phil Morris" To: Subject: [fam] Fam problems on Mandrake 8.1 Date: Sat, 6 Oct 2001 22:07:06 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-fam@oss.sgi.com Precedence: bulk Hello, I recently upgraded to Mandrake 8.1 and am having fam troubles again. Here's a snapshot from /var/log/syslog whenever I try and connect using the fam test or efsd from the e17 project. I'm running fam 2.6.4 and xinetd 2.3.3 to control fam. Oct 6 21:22:09 Warthog fam[10844]: log level is LOG_DEBUG Oct 6 21:22:09 Warthog fam[10844]: read /etc/fam.conf line 13: "insecure_compatibility" = "false" Oct 6 21:22:09 Warthog fam[10844]: read /etc/fam.conf line 20: "untrusted_user" = "nobody" Oct 6 21:22:09 Warthog fam[10844]: read /etc/fam.conf line 28: "local_only" = "false" Oct 6 21:22:09 Warthog fam[10844]: read /etc/fam.conf line 35: "xtab_verification" = "true" Oct 6 21:22:09 Warthog fam[10844]: Setting untrusted-user to "nobody" (UID 99) Oct 6 21:22:09 Warthog fam[10844]: listening for clients on descriptor 0 Oct 6 21:22:09 Warthog fam[10844]: could not enslave myself: Connection refused Oct 6 21:22:09 Warthog fam[10844]: fam (process 10844) is master fam. Oct 6 21:22:09 Warthog fam[10844]: client fd 5 is local/untrusted. Oct 6 21:22:09 Warthog fam[10844]: new connection from client 5 Oct 6 21:22:09 Warthog fam[10844]: client 5 said: client 5 is sockmeister, and wants a unix domain socket Oct 6 21:22:09 Warthog fam[10844]: client sockmeister said uid 502; creating /root/tmp/.famf2dDym Oct 6 21:22:09 Warthog fam[10844]: listening for requests for uid 502 on descriptor 6 (/root/tmp/.famf2dDym) Oct 6 21:22:09 Warthog fam[10844]: Shutting down connection Oct 6 21:22:09 Warthog fam[10844]: lost connection from sockmeister Does anyone have a fix for this. Thanks Phil, -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sun Oct 7 22:29:26 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f985TQx05211 for fam-outgoing; Sun, 7 Oct 2001 22:29:26 -0700 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f985TJD05208 for ; Sun, 7 Oct 2001 22:29:22 -0700 Received: (qmail 28114 invoked from network); 8 Oct 2001 05:40:34 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 8 Oct 2001 05:40:34 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id PAA24386 for ; Mon, 8 Oct 2001 15:30:23 +1000 (EST) Received: (qmail 23122 invoked from network); 8 Oct 2001 05:27:01 -0000 Received: from zeus.wodonga.adacel.com.au (HELO zeus) (wardle@192.168.75.252) by hera.wodonga.adacel.com.au with SMTP; 8 Oct 2001 05:27:01 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Michael Wardle Organization: Adacel Technologies Limited To: John Gluck , fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 Date: Mon, 8 Oct 2001 15:26:29 +1000 X-Mailer: KMail [version 1.2] References: <3BB5FF8C.6417DB22@home.com> In-Reply-To: <3BB5FF8C.6417DB22@home.com> MIME-Version: 1.0 Message-Id: <01100815262900.30513@zeus> Content-Transfer-Encoding: 8bit Sender: owner-fam@oss.sgi.com Precedence: bulk On Sun, 30 Sep 2001 03:06, John Gluck wrote: > I also wonder which fam I should be useing there seem to be a few > different ones but not a lot of info on what the differences are. The FAM files, the RPMs in particular, we (SGI) have provided were designed for older systems which used inetd rather than xinetd (such as Red Hat Linux 6.x). Many persons have made patches to fix bugs and add new features, such as support for xinetd. I intend to integrate these bug fixes into the main FAM tree, but I haven't had much time to do so, and there's no public (CVS) FAM tree, so they'll be put in when I get time. This must be partly the reason why there are alternate packages out there. I have seen FAM RPMs provided by KDE (or at least for use with KDE), and by Red Hat. At this stage, I would suggest using our RPMs (or sources) if you are using an older (inetd-based) system, and using the RPMs from Red Hat's Rawhide if you are using a new (xinetd-based) system. No doubt there are also packages for other distributions, either included in the distribution, or available from a third party. If you are using Debian, SuSE, Mandrake or some other Linux distribution, you may wish to try these. I am not certain whether packages exist for all named distributions, and could not suggest where to find them. (Sorry!) I hope this has cleared things up. If not, please respond. Regards -- MICHAEL WARDLE WORK +61 2 6024 2699 SGI FAM Maintainer MOBILE +61 415 439 838 Adacel Technologies WEB -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sun Oct 7 22:49:36 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f985naj05585 for fam-outgoing; Sun, 7 Oct 2001 22:49:36 -0700 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f985nWD05580 for ; Sun, 7 Oct 2001 22:49:32 -0700 Received: (qmail 30369 invoked from network); 8 Oct 2001 06:00:48 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 8 Oct 2001 06:00:48 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id PAA01161 for ; Mon, 8 Oct 2001 15:50:37 +1000 (EST) Received: (qmail 23136 invoked from network); 8 Oct 2001 05:47:26 -0000 Received: from zeus.wodonga.adacel.com.au (HELO zeus) (wardle@192.168.75.252) by hera.wodonga.adacel.com.au with SMTP; 8 Oct 2001 05:47:26 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Michael Wardle Organization: Adacel Technologies Limited To: John Gluck , fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 Date: Mon, 8 Oct 2001 15:46:55 +1000 X-Mailer: KMail [version 1.2] References: <3BB5FF8C.6417DB22@home.com> In-Reply-To: <3BB5FF8C.6417DB22@home.com> MIME-Version: 1.0 Message-Id: <01100815465502.30513@zeus> Content-Transfer-Encoding: 8bit Sender: owner-fam@oss.sgi.com Precedence: bulk Hi John. On Sun, 30 Sep 2001 03:06, John Gluck wrote: > I wanted to try it out with a 2.4.10 kernel. > After looking at the imon patches for 2.4.0, I determined that it was > all addded files except for namei.c which is patched. I would suggest starting with the contributed 2.4.7 kernel patch that can be found here (attached to the bug): It is highly likely that there are differences in the relevant files between 2.4.7 and 2.4.10, however they should be less substantial than the differences between 2.4.0 and 2.4.10. I haven't tested this patch well, which is why it's not on the download page. If a few persons could confirm whether this patch works, I'll happily add it there. Let me know how you go. Also, if you get it working satisfactorily, you might be able to contribute a patch for 2.4.10 by running "diff -Naur" on a clean 2.4.10 directory and a patched 2.4.10 directory, and redirecting the output to a file. Cheers. -- MICHAEL WARDLE WORK +61 2 6024 2699 SGI FAM Maintainer MOBILE +61 415 439 838 Adacel Technologies WEB -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Tue Oct 9 06:08:32 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f99D8Wk15284 for fam-outgoing; Tue, 9 Oct 2001 06:08:32 -0700 Received: from dc-mx07.cluster1.charter.net (dc-mx07.cluster0.hsacorp.net [209.225.8.17]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f99D8KD15272 for ; Tue, 9 Oct 2001 06:08:20 -0700 Received: from [24.216.45.40] (HELO charter.net) by dc-mx07.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP id 33337240 for fam@oss.sgi.com; Tue, 09 Oct 2001 09:17:51 -0400 Message-ID: <3BC2F81F.3080406@charter.net> Date: Tue, 09 Oct 2001 09:14:07 -0400 From: Tom Prado User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010815 X-Accept-Language: en-us MIME-Version: 1.0 To: fam Subject: Re: [fam] Fam problems on Mandrake 8.1 References: <000f01c14ee5$87c9a120$1000a8c0@homelan.org> Content-Type: multipart/mixed; boundary="------------050803000104080209060100" Sender: owner-fam@oss.sgi.com Precedence: bulk This is a multi-part message in MIME format. --------------050803000104080209060100 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I had similar problems on mdk80. It turned out to be the TMP environment variable when logged in as root was pointing to /root/tmp. When the client would connect (as a user), the tmp file fam creates would be created in /root/tmp/ and the client would not be able to open it. I fixed it by reseting the TMP variable in Listener.c++ before it calls tempnam(). You can also remove the TMP variable from the environment. Here's the fam patch I use to compile fam on my set: Phil Morris wrote: >Hello, > >I recently upgraded to Mandrake 8.1 and am having fam troubles again. >Here's a snapshot from /var/log/syslog whenever I try and connect using the >fam test or efsd from the e17 project. >I'm running fam 2.6.4 and xinetd 2.3.3 to control fam. > >Oct 6 21:22:09 Warthog fam[10844]: log level is LOG_DEBUG >Oct 6 21:22:09 Warthog fam[10844]: read /etc/fam.conf line 13: >"insecure_compatibility" = "false" >Oct 6 21:22:09 Warthog fam[10844]: read /etc/fam.conf line 20: >"untrusted_user" = "nobody" >Oct 6 21:22:09 Warthog fam[10844]: read /etc/fam.conf line 28: "local_only" >= "false" >Oct 6 21:22:09 Warthog fam[10844]: read /etc/fam.conf line 35: >"xtab_verification" = "true" >Oct 6 21:22:09 Warthog fam[10844]: Setting untrusted-user to "nobody" (UID >99) >Oct 6 21:22:09 Warthog fam[10844]: listening for clients on descriptor 0 >Oct 6 21:22:09 Warthog fam[10844]: could not enslave myself: Connection >refused >Oct 6 21:22:09 Warthog fam[10844]: fam (process 10844) is master fam. >Oct 6 21:22:09 Warthog fam[10844]: client fd 5 is local/untrusted. >Oct 6 21:22:09 Warthog fam[10844]: new connection from client 5 >Oct 6 21:22:09 Warthog fam[10844]: client 5 said: client 5 is sockmeister, >and wants a unix domain socket >Oct 6 21:22:09 Warthog fam[10844]: client sockmeister said uid 502; >creating /root/tmp/.famf2dDym >Oct 6 21:22:09 Warthog fam[10844]: listening for requests for uid 502 on >descriptor 6 (/root/tmp/.famf2dDym) >Oct 6 21:22:09 Warthog fam[10844]: Shutting down connection >Oct 6 21:22:09 Warthog fam[10844]: lost connection from sockmeister > >Does anyone have a fix for this. > >Thanks Phil, > > > > >-- >Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ >To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com > --------------050803000104080209060100 Content-Type: text/plain; name="fam-oss-2.6.4-1tp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fam-oss-2.6.4-1tp.patch" diff -Naur fam-oss-2.6.4/fam/IMonLinux.c++ fam-oss-2.6.4-1tp/fam/IMonLinux.c++ --- fam-oss-2.6.4/fam/IMonLinux.c++ Sat May 20 00:46:31 2000 +++ fam-oss-2.6.4-1tp/fam/IMonLinux.c++ Tue Jul 10 21:06:19 2001 @@ -27,6 +27,7 @@ #include #include #include +#include #include #include diff -Naur fam-oss-2.6.4/fam/Listener.c++ fam-oss-2.6.4-1tp/fam/Listener.c++ --- fam-oss-2.6.4/fam/Listener.c++ Sat May 20 00:46:31 2000 +++ fam-oss-2.6.4-1tp/fam/Listener.c++ Tue Jul 10 21:30:08 2001 @@ -201,6 +201,10 @@ // inet socket for communication. Create the new socket owned by the // requested user and pass the name back to the client. + + //remove the tmpdir environment variable so the tempnam() function won't screw up + unsetenv("TMPDIR"); + char *tmpfile = tempnam("/tmp", ".fam"); sockaddr_un sun = { AF_UNIX, "" }; if(strlen(tmpfile) >= (sizeof(sun.sun_path) - 1)) diff -Naur fam-oss-2.6.4/include/BTree.h fam-oss-2.6.4-1tp/include/BTree.h --- fam-oss-2.6.4/include/BTree.h Sat May 20 00:46:32 2000 +++ fam-oss-2.6.4-1tp/include/BTree.h Tue Jul 10 21:04:22 2001 @@ -23,6 +23,7 @@ #ifndef BTree_included #define BTree_included +#include #include "Boolean.h" // This is an in-core B-Tree implementation. diff -Naur fam-oss-2.6.4/test/test.c++ fam-oss-2.6.4-1tp/test/test.c++ --- fam-oss-2.6.4/test/test.c++ Sat May 20 00:46:32 2000 +++ fam-oss-2.6.4-1tp/test/test.c++ Tue Jul 10 21:06:41 2001 @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include --------------050803000104080209060100-- -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Tue Oct 9 09:29:01 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f99GT1419297 for fam-outgoing; Tue, 9 Oct 2001 09:29:01 -0700 Received: from mirapoint2.brutele.be (IDENT:mirapoint@mirapoint2.brutele.be [212.68.193.7]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f99GSwD19294 for ; Tue, 9 Oct 2001 09:28:58 -0700 Received: from nexus6.brutele.be (212.68.231.22.brutele.be [212.68.231.22]) by mirapoint2.brutele.be (Mirapoint) with SMTP id ALL24579; Tue, 9 Oct 2001 18:28:55 +0200 (CEST) Received: from shellc.jdegreef.net ([192.168.0.2] ident=mail) by nexus6.brutele.be with esmtp (Exim 3.12 #1 (Debian)) id 15qzkU-0006q0-00 for ; Tue, 09 Oct 2001 18:28:54 +0200 Received: from jdegreef by shellc.jdegreef.net with local (Exim 3.32 #1 (Debian)) id 15qzkU-00050I-00 for ; Tue, 09 Oct 2001 18:28:54 +0200 Date: Tue, 9 Oct 2001 18:28:54 +0200 From: Jerome De Greef To: fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 Message-ID: <20011009182854.A18291@shellc.jdegreef.net> Mail-Followup-To: fam@oss.sgi.com References: <3BB5FF8C.6417DB22@home.com> <01100815465502.30513@zeus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01100815465502.30513@zeus> User-Agent: Mutt/1.3.22i X-Editor: Vim http://www.vim.org/ X-Operating-System: Linux/2.4.2 (i686) X-Uptime: 18:25:08 up 9 days, 2:07, 5 users, load average: 0.68, 1.49, 1.27 Sender: owner-fam@oss.sgi.com Precedence: bulk * Michael Wardle (michael.wardle@adacel.com) wrote: > Hi John. > > On Sun, 30 Sep 2001 03:06, John Gluck wrote: > > I wanted to try it out with a 2.4.10 kernel. > > After looking at the imon patches for 2.4.0, I determined that it was > > all addded files except for namei.c which is patched. > > I would suggest starting with the contributed 2.4.7 kernel patch that > can be found here (attached to the bug): > Hi, Did you succeed applying this patch? It tries to completely remove the content of fs/filesystems.c. The 2.4.0 patch was adding a few line to this file. Jerome -- +-------------------------------------------------------------------+ | 'the panorama of the city is wrong | | in fact the city seems to be gone!' | | the clash, stop the world, 1980 | +-------------------------------------------------------------------+ -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Tue Oct 9 10:30:11 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f99HUBQ20000 for fam-outgoing; Tue, 9 Oct 2001 10:30:11 -0700 Received: from dc-mx04.cluster1.charter.net (dc-mx04.cluster0.hsacorp.net [209.225.8.14]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f99HU6D19979 for ; Tue, 9 Oct 2001 10:30:07 -0700 Received: from [24.216.45.40] (HELO charter.net) by dc-mx04.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP id 37087423 for fam@oss.sgi.com; Tue, 09 Oct 2001 13:36:16 -0400 Message-ID: <3BC33579.7090602@charter.net> Date: Tue, 09 Oct 2001 13:35:53 -0400 From: Tom Prado User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010815 X-Accept-Language: en-us MIME-Version: 1.0 CC: fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 References: <3BB5FF8C.6417DB22@home.com> <01100815465502.30513@zeus> <20011009182854.A18291@shellc.jdegreef.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Jerome De Greef wrote: >* Michael Wardle (michael.wardle@adacel.com) wrote: > >>Hi John. >> >>On Sun, 30 Sep 2001 03:06, John Gluck wrote: >> >>>I wanted to try it out with a 2.4.10 kernel. >>>After looking at the imon patches for 2.4.0, I determined that it was >>>all addded files except for namei.c which is patched. >>> >>I would suggest starting with the contributed 2.4.7 kernel patch that >>can be found here (attached to the bug): >> >> > >Hi, > >Did you succeed applying this patch? It tries to completely remove the >content of fs/filesystems.c. > >The 2.4.0 patch was adding a few line to this file. > >Jerome > Yikes, you're right. That patch is defective. Sorry about that. That 2.4.7 patch was against a 2.4.7 kernel from the Mandrake Cooker. I can create a patch for the 2.4.10 kernel. I've noticed lots of changes in the kernel files that imon alters between the 2.4.3 and 2.4.7-2.4.10 kernels. From what I could tell, the fs/filesystems.c file does not need to be altered in the 2.4.7-2.4.10 kernels. Tom -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Tue Oct 9 23:10:07 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9A6A7A09067 for fam-outgoing; Tue, 9 Oct 2001 23:10:07 -0700 Received: from dc-mx08.cluster1.charter.net (dc-mx08.cluster0.hsacorp.net [209.225.8.18]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9A6A3D09060 for ; Tue, 9 Oct 2001 23:10:03 -0700 Received: from [24.216.45.40] (HELO charter.net) by dc-mx08.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP id 35354256 for fam@oss.sgi.com; Wed, 10 Oct 2001 02:17:07 -0400 Message-ID: <3BC3E798.2040505@charter.net> Date: Wed, 10 Oct 2001 02:15:52 -0400 From: Tom Prado User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010815 X-Accept-Language: en-us MIME-Version: 1.0 CC: fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 References: <3BB5FF8C.6417DB22@home.com> <01100815465502.30513@zeus> <20011009182854.A18291@shellc.jdegreef.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Jerome De Greef wrote: >* Michael Wardle (michael.wardle@adacel.com) wrote: > >>Hi John. >> >>On Sun, 30 Sep 2001 03:06, John Gluck wrote: >> >>>I wanted to try it out with a 2.4.10 kernel. >>>After looking at the imon patches for 2.4.0, I determined that it was >>>all addded files except for namei.c which is patched. >>> >>I would suggest starting with the contributed 2.4.7 kernel patch that >>can be found here (attached to the bug): >> >> > >Hi, > >Did you succeed applying this patch? It tries to completely remove the >content of fs/filesystems.c. > >The 2.4.0 patch was adding a few line to this file. > >Jerome > I've created a 2.4.10 patch for imon. The patch is available at http://oss.sgi.com/bugzilla/show_bug.cgi?id=86 It is also available at http://webpages.charter.net/tprado Please ignore the 2.4.7 patch I submitted for imon. It's defective in that it destroys fs/filesystems.c. I've confirmed that the 2.4.10 patch is okay in this respect. I've tested the 2.4.10 patch against my local machine as well as a NFS connected machine. I've only tested it when it's compiled as a module. Please note that I am in no way affiliated with SGI and I hack on my own free time. Regards, Tom Prado -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 10 08:18:14 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9AFIEn22341 for fam-outgoing; Wed, 10 Oct 2001 08:18:14 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9AFIBD22338 for ; Wed, 10 Oct 2001 08:18:11 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f9AFICO02043; Wed, 10 Oct 2001 11:18:12 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 10 Oct 2001 11:18:11 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Tom Prado cc: Subject: Re: [fam] fam / imon linux 2.4.10 In-Reply-To: <3BC3E798.2040505@charter.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 10 Oct 2001, Tom Prado wrote: > Jerome De Greef wrote: > >Did you succeed applying this patch? It tries to completely remove the > >content of fs/filesystems.c. > > > >The 2.4.0 patch was adding a few line to this file. > > > >Jerome > > > I've created a 2.4.10 patch for imon. The patch is available at > http://oss.sgi.com/bugzilla/show_bug.cgi?id=86 It is also available > at http://webpages.charter.net/tprado > > Please ignore the 2.4.7 patch I submitted for imon. It's defective in > that it destroys fs/filesystems.c. I've confirmed that the 2.4.10 patch > is okay in this respect. > > I've tested the 2.4.10 patch against my local machine as well as a NFS > connected machine. I've only tested it when it's compiled as a module. > > Please note that I am in no way affiliated with SGI and I hack on my own > free time. Why do people continue to work on the imon patch? In what way do you think the current Linux directory notification is inadequate? (Except being a horrible interface, but that is all hidden by fam.) / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 10 08:48:57 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9AFmvL23242 for fam-outgoing; Wed, 10 Oct 2001 08:48:57 -0700 Received: from femail14.sdc1.sfba.home.com (femail14.sdc1.sfba.home.com [24.0.95.141]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9AFmtD23238 for ; Wed, 10 Oct 2001 08:48:55 -0700 Received: from home.com ([24.156.67.212]) by femail14.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20011010154853.FDBO24292.femail14.sdc1.sfba.home.com@home.com>; Wed, 10 Oct 2001 08:48:53 -0700 Message-ID: <3BC46D6A.D4B7978D@home.com> Date: Wed, 10 Oct 2001 11:46:50 -0400 From: John Gluck X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.4.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: Alex Larsson CC: Tom Prado , fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk > Hi Alex I am not familiar with what you are talking about but curious. Can you point me to some info??? John > > Why do people continue to work on the imon patch? In what way do you think > the current Linux directory notification is inadequate? (Except being a > horrible interface, but that is all hidden by fam.) > > / Alex > > -- > Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ > To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 10 09:02:19 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9AG2J323585 for fam-outgoing; Wed, 10 Oct 2001 09:02:19 -0700 Received: from montecarlo.DNAMERICAN.COM ([206.156.169.66]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9AG2FD23582 for ; Wed, 10 Oct 2001 09:02:15 -0700 Received: from [206.156.169.116] by montecarlo.DNAMERICAN.COM (NTMail 3.02.13) with ESMTP id ua053138 for ; Wed, 10 Oct 2001 12:12:43 -0400 Message-ID: <3BC470D2.5080104@dnamerican.com> Date: Wed, 10 Oct 2001 12:01:22 -0400 From: Nathan Thompson-Amato Organization: D.N. American User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917 X-Accept-Language: en-us MIME-Version: 1.0 To: fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Alex Larsson wrote: > > Why do people continue to work on the imon patch? In what way do you think > the current Linux directory notification is inadequate? (Except being a > horrible interface, but that is all hidden by fam.) > I didn't even know FAM supported dnotify. Is code for this in the official releases, or is there just a patch available? The gist of the webpage seems to be that IMON and polling are viable options but that hacking dnotify support into FAM can't happen without breaking interfaces and/or introducing a few more-or-less unfixable bugs. Have things changed? Nathan -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 10 09:07:11 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9AG7BB23673 for fam-outgoing; Wed, 10 Oct 2001 09:07:11 -0700 Received: from mirapoint2.brutele.be (IDENT:mirapoint@mirapoint2.brutele.be [212.68.193.7]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9AG74D23669 for ; Wed, 10 Oct 2001 09:07:05 -0700 Received: from nexus6.brutele.be (212.68.231.22.brutele.be [212.68.231.22]) by mirapoint2.brutele.be (Mirapoint) with SMTP id ALM23871; Wed, 10 Oct 2001 18:07:01 +0200 (CEST) Received: from shellc.jdegreef.net ([192.168.0.2] ident=mail) by nexus6.brutele.be with esmtp (Exim 3.12 #1 (Debian)) id 15rLsq-00088f-00 for ; Wed, 10 Oct 2001 18:07:00 +0200 Received: from jdegreef by shellc.jdegreef.net with local (Exim 3.32 #1 (Debian)) id 15rLsq-0003GQ-00 for ; Wed, 10 Oct 2001 18:07:00 +0200 Date: Wed, 10 Oct 2001 18:07:00 +0200 From: Jerome De Greef To: fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 Message-ID: <20011010180700.A17346@shellc.jdegreef.net> Mail-Followup-To: fam@oss.sgi.com References: <3BB5FF8C.6417DB22@home.com> <01100815465502.30513@zeus> <20011009182854.A18291@shellc.jdegreef.net> <3BC3E798.2040505@charter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3BC3E798.2040505@charter.net> User-Agent: Mutt/1.3.22i X-Editor: Vim http://www.vim.org/ X-Operating-System: Linux/2.4.2 (i686) X-Uptime: 18:03:03 up 10 days, 1:45, 3 users, load average: 0.29, 0.99, 1.19 Sender: owner-fam@oss.sgi.com Precedence: bulk * Tom Prado (tprado@charter.net) wrote: > Jerome De Greef wrote: > > >* Michael Wardle (michael.wardle@adacel.com) wrote: > > > >>Hi John. > >> > >>On Sun, 30 Sep 2001 03:06, John Gluck wrote: > >> > >>>I wanted to try it out with a 2.4.10 kernel. > >>>After looking at the imon patches for 2.4.0, I determined that it was > >>>all addded files except for namei.c which is patched. > >>> > >>I would suggest starting with the contributed 2.4.7 kernel patch that > >>can be found here (attached to the bug): > >> > >> > > > >Hi, > > > >Did you succeed applying this patch? It tries to completely remove the > >content of fs/filesystems.c. > > > >The 2.4.0 patch was adding a few line to this file. > > > >Jerome > > > I've created a 2.4.10 patch for imon. The patch is available at > http://oss.sgi.com/bugzilla/show_bug.cgi?id=86 It is also available > at http://webpages.charter.net/tprado > > Please ignore the 2.4.7 patch I submitted for imon. It's defective in > that it destroys fs/filesystems.c. I've confirmed that the 2.4.10 patch > is okay in this respect. > > I've tested the 2.4.10 patch against my local machine as well as a NFS > connected machine. I've only tested it when it's compiled as a module. It doesn't compile if you try to compile it inside the kernel. Here's the error I get: make -C imon make[2]: Entering directory `/mnt/src/kernel/linux-2.4.10-imon/fs/imon' make all_targets make[3]: Entering directory `/mnt/src/kernel/linux-2.4.10-imon/fs/imon' make[3]: Circular imon.o <- imon.o dependency dropped. rm -f imon.o ld -m elf_i386 -r -o imon.o ld: no input files make[3]: *** [imon.o] Error 1 make[3]: Leaving directory `/mnt/src/kernel/linux-2.4.10-imon/fs/imon' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/mnt/src/kernel/linux-2.4.10-imon/fs/imon' make[1]: *** [_subdir_imon] Error 2 make[1]: Leaving directory `/mnt/src/kernel/linux-2.4.10-imon/fs' make: *** [_dir_fs] Error 2 And BTW, the patch seems to work with the new 2.4.11 kernel too (compiled as a module otherwise same error as above). Regards, Jerome -- +-------------------------------------------------------------------+ | 'the panorama of the city is wrong | | in fact the city seems to be gone!' | | the clash, stop the world, 1980 | +-------------------------------------------------------------------+ -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 10 12:50:40 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9AJoec29605 for fam-outgoing; Wed, 10 Oct 2001 12:50:40 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9AJocD29601 for ; Wed, 10 Oct 2001 12:50:38 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f9AJocc10769; Wed, 10 Oct 2001 15:50:38 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 10 Oct 2001 15:50:37 -0400 (EDT) From: Alex Larsson X-X-Sender: To: John Gluck cc: Tom Prado , Subject: Re: [fam] fam / imon linux 2.4.10 In-Reply-To: <3BC46D6A.D4B7978D@home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 10 Oct 2001, John Gluck wrote: > > > > Hi Alex > > I am not familiar with what you are talking about but curious. Can you point > me to some info??? I have posted patches for supporting the native linux directory notification scheme (dnotify). They were posted on this mailing list, and you can get RPMs and SRPMS from RedHat rawhide. / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 10 12:52:31 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9AJqVI29745 for fam-outgoing; Wed, 10 Oct 2001 12:52:31 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9AJqSD29741 for ; Wed, 10 Oct 2001 12:52:29 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f9AJqQI10975; Wed, 10 Oct 2001 15:52:26 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 10 Oct 2001 15:52:26 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Nathan Thompson-Amato cc: Subject: Re: [fam] fam / imon linux 2.4.10 In-Reply-To: <3BC470D2.5080104@dnamerican.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 10 Oct 2001, Nathan Thompson-Amato wrote: > Alex Larsson wrote: > > > > > Why do people continue to work on the imon patch? In what way do you think > > the current Linux directory notification is inadequate? (Except being a > > horrible interface, but that is all hidden by fam.) > > > > > I didn't even know FAM supported dnotify. Is code for this in the official > releases, or is there just a patch available? The gist of the webpage > seems to be that IMON and polling are viable options but that hacking > dnotify support into FAM can't happen without breaking interfaces and/or > introducing a few more-or-less unfixable bugs. Have things changed? It's just a patch. There has been no new fam releases for a long time. If you want a working fam + dnotify, the easiest way is to use the fam package from rawhide. If you don't run an xinetd + rpm based system, get the SRPM and apply the patches from it. / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 10 13:43:47 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9AKhlG30780 for fam-outgoing; Wed, 10 Oct 2001 13:43:47 -0700 Received: from montecarlo.DNAMERICAN.COM ([206.156.169.66]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9AKhjD30777 for ; Wed, 10 Oct 2001 13:43:45 -0700 Received: from [206.156.169.116] by montecarlo.DNAMERICAN.COM (NTMail 3.02.13) with ESMTP id xa053193 for ; Wed, 10 Oct 2001 16:54:12 -0400 Message-ID: <3BC4B2C4.4020606@dnamerican.com> Date: Wed, 10 Oct 2001 16:42:44 -0400 From: Nathan Thompson-Amato Organization: D.N. American User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917 X-Accept-Language: en-us MIME-Version: 1.0 To: fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Alex Larsson wrote: > > It's just a patch. There has been no new fam releases for a long time. If > you want a working fam + dnotify, the easiest way is to use the fam > package from rawhide. If you don't run an xinetd + rpm based system, > get the SRPM and apply the patches from it. Thanks for the tip. The other concern I had is whether the problems listed on the webpage (ie., fam + dnotify holding monitored directories open and being limited by the number of free file descriptors) had been resolved. If they haven't, perhaps that's why people still favor imon... Nathan -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 10 14:43:11 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9ALhB232654 for fam-outgoing; Wed, 10 Oct 2001 14:43:11 -0700 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9ALh9D32651 for ; Wed, 10 Oct 2001 14:43:09 -0700 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id f9ALh8131827; Wed, 10 Oct 2001 17:43:08 -0400 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 10 Oct 2001 17:43:08 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Nathan Thompson-Amato cc: Subject: Re: [fam] fam / imon linux 2.4.10 In-Reply-To: <3BC4B2C4.4020606@dnamerican.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 10 Oct 2001, Nathan Thompson-Amato wrote: > Alex Larsson wrote: > > > > > It's just a patch. There has been no new fam releases for a long time. If > > you want a working fam + dnotify, the easiest way is to use the fam > > package from rawhide. If you don't run an xinetd + rpm based system, > > get the SRPM and apply the patches from it. > > Thanks for the tip. > > The other concern I had is whether the problems listed on the webpage (ie., > fam + dnotify holding monitored directories open and being limited by the > number of free file descriptors) had been resolved. If they haven't, > perhaps that's why people still favor imon... Do people routinely monitor files in over 8192 directories? If so, they can up the max, without even recompiling the kernel. / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 10 17:42:23 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9B0gNd03932 for fam-outgoing; Wed, 10 Oct 2001 17:42:23 -0700 Received: from lausanne.4unet.net (dsl-2-dslam1-31.urbanet.ch [195.202.196.17] (may be forged)) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9B0gID03929 for ; Wed, 10 Oct 2001 17:42:18 -0700 Received: from developer.ch (tux.4unet.net [172.23.17.211]) by lausanne.4unet.net (Postfix) with ESMTP id 2A9F82364D; Thu, 11 Oct 2001 02:42:14 +0200 (CEST) Message-ID: <3BC4EAF4.6090505@developer.ch> Date: Thu, 11 Oct 2001 02:42:28 +0200 From: Atif Reply-To: aghaffar@developer.ch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: en-us MIME-Version: 1.0 To: Alex Larsson Cc: Nathan Thompson-Amato , fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id f9B0gJD03930 Sender: owner-fam@oss.sgi.com Precedence: bulk Alex Larsson wrote: > Do people routinely monitor files in over 8192 directories? If so, they > can up the max, without even recompiling the kernel. Perhaps not routinely, not when FAM is used in GUI apps, but in one usage (REPLICATION) it can be useful. An example scenario: http://www.linuxfocus.org/English/March2001/article199.shtml best regards. -- Atif Ghaffar ---------------------------. http://www.atifghaffar.com ¦ homepage -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sat Oct 20 17:47:14 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9L0lEO31193 for fam-outgoing; Sat, 20 Oct 2001 17:47:14 -0700 Received: from studserv.stud.uni-hannover.de (root@mx.stud.uni-hannover.de [130.75.176.3]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9L0l3D31190 for ; Sat, 20 Oct 2001 17:47:06 -0700 Received: from a111.home.uni-hannover.de (a111.home.uni-hannover.de [130.75.232.111]) by studserv.stud.uni-hannover.de (8.12.1/8.12.1/MX/check_local5.0) with ESMTP id f9L0kwRP019517 for ; Sun, 21 Oct 2001 02:47:03 +0200 (MET DST) X-Spam-Filter: check_local@studserv.stud.uni-hannover.de by digitalanswers.org Subject: [fam] libfam 2.6.4 From: Garfycx To: fam@oss.sgi.com Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.15 (Preview Release) Date: 21 Oct 2001 02:49:27 +0200 Message-Id: <1003625373.13004.3.camel@-f> Mime-Version: 1.0 Sender: owner-fam@oss.sgi.com Precedence: bulk Hi! I use linux 2.4.12, glibc 2.2.4 and gcc 2.95.3 on AMD Athlon got: ../include/BTree.h: In method `struct BTree::Closure BTree::insert(BTree::Node *, Interest *const &, const bool &)': ../include/BTree.h:381: instantiated from `BTree::insert(Interest *const &, const bool &)' Set.h:43: instantiated from here ../include/BTree.h:410: `NULL' undeclared (first use this function) ../include/BTree.h:410: (Each undeclared identifier is reported only once ../include/BTree.h:410: for each function it appears in.) make[2]: *** [Pollster.o] Error 1 make[2]: Leaving directory `/workspace/software/libraries/fam-oss-2.6.4/fam' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/workspace/software/libraries/fam-oss-2.6.4' make: *** [all-recursive-am] Error 2 defined NULL and then got: make[2]: Entering directory `/workspace/software/libraries/fam-oss-2.6.4/fam' Makefile:375: no file name for `-include' c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DCONFIG_ETC_CONFIG_PATH=\"/usr/etc/fam.conf\" -g -O2 -c Pollster.c++ In file included from Set.h:27, from Pollster.h:29, from Pollster.c++:23: ../include/BTree.h: In method `void BTree::Node::join(const BTree::Closure &, BTree::Node *)': ../include/BTree.h:274: stray '\' in program ../include/BTree.h:274: parse error before `;' ../include/BTree.h: In method `BTree::BTree()': ../include/BTree.h:283: stray '\' in program ../include/BTree.h: In method `struct BTree::Closure BTree::insert(BTree::Node *, const Key &, const Value &)': ../include/BTree.h:410: stray '\' in program ../include/BTree.h:410: parse error before `)' ../include/BTree.h: In method `bool BTree::remove(const Key &)': ../include/BTree.h:478: stray '\' in program ../include/BTree.h:478: parse error before `;' ../include/BTree.h: In method `enum BTree::Status BTree::underflow(BTree::Node *, unsigned int)': ../include/BTree.h:510: stray '\' in program ../include/BTree.h:510: parse error before `;' ../include/BTree.h:511: stray '\' in program ../include/BTree.h:512: parse error before `)' ../include/BTree.h: In method `enum BTree::Status BTree::underflow(BTree::Node *, unsigned int)': ../include/BTree.h:568: instantiated from `BTree::remove_rightmost(BTree::Node *)' ../include/BTree.h:602: instantiated from `BTree::remove(BTree::Node *, Interest *const &)' ../include/BTree.h:462: instantiated from `BTree::remove(Interest *const &)' Pollster.c++:49: instantiated from here ../include/BTree.h:510: initialization to `BTree::Node *' from `int' lacks a cast ../include/BTree.h:513: `lp' undeclared (first use this function) ../include/BTree.h:513: (Each undeclared identifier is reported only once ../include/BTree.h:513: for each function it appears in.) ../include/BTree.h: In method `enum BTree::Status BTree::underflow(BTree::Node *, unsigned int)': ../include/BTree.h:568: instantiated from `BTree::remove_rightmost(BTree::Node *)' ../include/BTree.h:602: instantiated from `BTree::remove(BTree::Node *, ServerHost *const &)' ../include/BTree.h:462: instantiated from `BTree::remove(ServerHost *const &)' Pollster.c++:71: instantiated from here ../include/BTree.h:510: initialization to `BTree::Node *' from `int' lacks a cast make[2]: *** [Pollster.o] Error 1 make[2]: Leaving directory `/workspace/software/libraries/fam-oss-2.6.4/fam' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/workspace/software/libraries/fam-oss-2.6.4' make: *** [all-recursive-am] Error 2 -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sat Oct 20 17:48:54 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9L0msk31227 for fam-outgoing; Sat, 20 Oct 2001 17:48:54 -0700 Received: from studserv.stud.uni-hannover.de (root@mx.stud.uni-hannover.de [130.75.176.3]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9L0mjD31224 for ; Sat, 20 Oct 2001 17:48:45 -0700 Received: from a111.home.uni-hannover.de (a111.home.uni-hannover.de [130.75.232.111]) by studserv.stud.uni-hannover.de (8.12.1/8.12.1/MX/check_local5.0) with ESMTP id f9L0mgRP019658 for ; Sun, 21 Oct 2001 02:48:43 +0200 (MET DST) X-Spam-Filter: check_local@studserv.stud.uni-hannover.de by digitalanswers.org Subject: [fam] Re: libfam 2.6.4 From: Garfycx To: fam@oss.sgi.com In-Reply-To: <1003625373.13004.3.camel@-f> References: <1003625373.13004.3.camel@-f> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.15 (Preview Release) Date: 21 Oct 2001 02:51:11 +0200 Message-Id: <1003625472.13003.5.camel@-f> Mime-Version: 1.0 Sender: owner-fam@oss.sgi.com Precedence: bulk On Sun, 2001-10-21 at 02:49, Garfycx wrote: > Hi! > > I use linux 2.4.12, glibc 2.2.4 and gcc 2.95.3 on AMD Athlon > > got: > > ../include/BTree.h: In method `struct BTree::Closure > BTree::insert(BTree::Node *, Interest > *const &, const bool &)': > ../include/BTree.h:381: instantiated from `BTree *,bool>::insert(Interest *const &, const bool &)' > Set.h:43: instantiated from here > ../include/BTree.h:410: `NULL' undeclared (first use this function) > ../include/BTree.h:410: (Each undeclared identifier is reported only > once > ../include/BTree.h:410: for each function it appears in.) > make[2]: *** [Pollster.o] Error 1 > make[2]: Leaving directory > `/workspace/software/libraries/fam-oss-2.6.4/fam' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/workspace/software/libraries/fam-oss-2.6.4' > make: *** [all-recursive-am] Error 2 > > defined NULL and then got: > > > > make[2]: Entering directory > `/workspace/software/libraries/fam-oss-2.6.4/fam' > Makefile:375: no file name for `-include' > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include > -DCONFIG_ETC_CONFIG_PATH=\"/usr/etc/fam.conf\" -g -O2 -c Pollster.c++ > In file included from Set.h:27, > from Pollster.h:29, > from Pollster.c++:23: > ../include/BTree.h: In method `void BTree::Node::join(const > BTree::Closure &, BTree::Node *)': > ../include/BTree.h:274: stray '\' in program > ../include/BTree.h:274: parse error before `;' > ../include/BTree.h: In method `BTree::BTree()': > ../include/BTree.h:283: stray '\' in program > ../include/BTree.h: In method `struct BTree::Closure > BTree::insert(BTree::Node *, const Key &, const > Value &)': > ../include/BTree.h:410: stray '\' in program > ../include/BTree.h:410: parse error before `)' > ../include/BTree.h: In method `bool BTree::remove(const Key > &)': > ../include/BTree.h:478: stray '\' in program > ../include/BTree.h:478: parse error before `;' > ../include/BTree.h: In method `enum BTree::Status > BTree::underflow(BTree::Node *, unsigned int)': > ../include/BTree.h:510: stray '\' in program > ../include/BTree.h:510: parse error before `;' > ../include/BTree.h:511: stray '\' in program > ../include/BTree.h:512: parse error before `)' > ../include/BTree.h: In method `enum BTree::Status > BTree::underflow(BTree::Node *, > unsigned int)': > ../include/BTree.h:568: instantiated from `BTree *,bool>::remove_rightmost(BTree::Node *)' > ../include/BTree.h:602: instantiated from `BTree *,bool>::remove(BTree::Node *, Interest *const &)' > ../include/BTree.h:462: instantiated from `BTree *,bool>::remove(Interest *const &)' > Pollster.c++:49: instantiated from here > ../include/BTree.h:510: initialization to `BTree::Node > *' from `int' lacks a cast > ../include/BTree.h:513: `lp' undeclared (first use this function) > ../include/BTree.h:513: (Each undeclared identifier is reported only > once > ../include/BTree.h:513: for each function it appears in.) > ../include/BTree.h: In method `enum BTree::Status > BTree::underflow(BTree::Node *, > unsigned int)': > ../include/BTree.h:568: instantiated from `BTree *,bool>::remove_rightmost(BTree::Node *)' > ../include/BTree.h:602: instantiated from `BTree *,bool>::remove(BTree::Node *, ServerHost *const &)' > ../include/BTree.h:462: instantiated from `BTree *,bool>::remove(ServerHost *const &)' > Pollster.c++:71: instantiated from here > ../include/BTree.h:510: initialization to `BTree *,bool>::Node *' from `int' lacks a cast > make[2]: *** [Pollster.o] Error 1 > make[2]: Leaving directory > `/workspace/software/libraries/fam-oss-2.6.4/fam' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/workspace/software/libraries/fam-oss-2.6.4' > make: *** [all-recursive-am] Error 2 > > with 2.6.3 I got: IMon.c++: In function `static void IMon::read_handler(int, void *)': IMon.c++:152: no method `Log::fatal' make[2]: *** [IMon.o] Error 1 make[2]: Leaving directory `/workspace/software/libraries/fam-oss-2.6.3/fam' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/workspace/software/libraries/fam-oss-2.6.3' make: *** [all-recursive-am] Error 2 -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sat Oct 20 23:43:55 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9L6htx03867 for fam-outgoing; Sat, 20 Oct 2001 23:43:55 -0700 Received: from dc-mx01.cluster1.charter.net (dc-mx01.cluster0.hsacorp.net [209.225.8.11]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9L6hmD03861 for ; Sat, 20 Oct 2001 23:43:48 -0700 Received: from [24.216.45.40] (HELO charter.net) by dc-mx01.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP id 36093167 for fam@oss.sgi.com; Sun, 21 Oct 2001 02:51:01 -0400 Message-ID: <3BD26FFE.2090602@charter.net> Date: Sun, 21 Oct 2001 02:49:34 -0400 From: Tom Prado User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 X-Accept-Language: en-us MIME-Version: 1.0 To: fam@oss.sgi.com Subject: Re: [fam] fam / imon linux 2.4.10 References: <3BB5FF8C.6417DB22@home.com> <01100815465502.30513@zeus> <20011009182854.A18291@shellc.jdegreef.net> <3BC3E798.2040505@charter.net> <20011010180700.A17346@shellc.jdegreef.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Jerome De Greef wrote: >* Tom Prado (tprado@charter.net) wrote: > >>Jerome De Greef wrote: >> >>>* Michael Wardle (michael.wardle@adacel.com) wrote: >>> >>>>Hi John. >>>> >>>>On Sun, 30 Sep 2001 03:06, John Gluck wrote: >>>> >>>>>I wanted to try it out with a 2.4.10 kernel. >>>>>After looking at the imon patches for 2.4.0, I determined that it was >>>>>all addded files except for namei.c which is patched. >>>>> >>>>I would suggest starting with the contributed 2.4.7 kernel patch that >>>>can be found here (attached to the bug): >>>> >>>> >>>Hi, >>> >>>Did you succeed applying this patch? It tries to completely remove the >>>content of fs/filesystems.c. >>> >>>The 2.4.0 patch was adding a few line to this file. >>> >>>Jerome >>> >>I've created a 2.4.10 patch for imon. The patch is available at >>http://oss.sgi.com/bugzilla/show_bug.cgi?id=86 It is also available >>at http://webpages.charter.net/tprado >> >>Please ignore the 2.4.7 patch I submitted for imon. It's defective in >>that it destroys fs/filesystems.c. I've confirmed that the 2.4.10 patch >>is okay in this respect. >> >>I've tested the 2.4.10 patch against my local machine as well as a NFS >>connected machine. I've only tested it when it's compiled as a module. >> > >It doesn't compile if you try to compile it inside the kernel. >Here's the error I get: > >make -C imon >make[2]: Entering directory `/mnt/src/kernel/linux-2.4.10-imon/fs/imon' >make all_targets >make[3]: Entering directory `/mnt/src/kernel/linux-2.4.10-imon/fs/imon' >make[3]: Circular imon.o <- imon.o dependency dropped. >rm -f imon.o >ld -m elf_i386 -r -o imon.o >ld: no input files >make[3]: *** [imon.o] Error 1 >make[3]: Leaving directory `/mnt/src/kernel/linux-2.4.10-imon/fs/imon' >make[2]: *** [first_rule] Error 2 >make[2]: Leaving directory `/mnt/src/kernel/linux-2.4.10-imon/fs/imon' >make[1]: *** [_subdir_imon] Error 2 >make[1]: Leaving directory `/mnt/src/kernel/linux-2.4.10-imon/fs' >make: *** [_dir_fs] Error 2 > >And BTW, the patch seems to work with the new 2.4.11 kernel too >(compiled as a module otherwise same error as above). > >Regards, >Jerome > I've added a new attachment to bug 86 ( http://oss.sgi.com/bugzilla/show_bug.cgi?id=86 ) for 2.4.12 and it also fixes the problem with compiling it into the kernel. -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sun Oct 21 22:37:01 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9M5b1p26444 for fam-outgoing; Sun, 21 Oct 2001 22:37:01 -0700 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9M5atD26441 for ; Sun, 21 Oct 2001 22:36:55 -0700 Received: (qmail 9377 invoked from network); 22 Oct 2001 05:44:04 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 22 Oct 2001 05:44:04 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id PAA24722 for ; Mon, 22 Oct 2001 15:38:07 +1000 (EST) Received: (qmail 7445 invoked from network); 22 Oct 2001 05:34:07 -0000 Received: from selene.wodonga.adacel.com.au (HELO selene) (192.168.75.20) by hera.wodonga.adacel.com.au with SMTP; 22 Oct 2001 05:34:07 -0000 Message-ID: <00ec01c15abb$79ef61c0$144ba8c0@wodonga.adacel.com.au> From: "Michael Wardle" To: Subject: [fam] mailing list archival not working Date: Mon, 22 Oct 2001 15:36:18 +1000 Organization: Adacel Technologies Limited MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00E9_01C15B0F.4B584E40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-fam@oss.sgi.com Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_00E9_01C15B0F.4B584E40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi. The mailing list archives on http://oss.sgi.com/projects/fam are not being updated. SGI is looking into it, but it may not be fixed soon. The mailing list seems to be working still... -- MICHAEL WARDLE SGI FAM Maintainer Adacel Technologies ------=_NextPart_000_00E9_01C15B0F.4B584E40 Content-Type: text/x-vcard; name="Michael Wardle.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Michael Wardle.vcf" BEGIN:VCARD VERSION:2.1 N:Wardle;Michael;Bradley;Mr. FN:Michael Wardle ORG:Adacel Technologies Limited;Global Software Engineering TITLE:Trainee Software Engineer TEL;WORK;VOICE:+61 2 6024 2699 TEL;CELL;VOICE:+61 415 439 838 TEL;WORK;FAX:+61 2 6024 3288 ADR;WORK:;Wodonga Software Engineering Center;19 Stanley = Street;Wodonga;Victoria;3690;Australia LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Wodonga Software Engineering = Center=3D0D=3D0A19 Stanley Street=3D0D=3D0AWodonga, Vic=3D toria 3690=3D0D=3D0AAustralia ADR;HOME:;;;;;;Australia LABEL;HOME:Australia X-WAB-GENDER:2 URL;HOME:http://www.endbracket.net/ URL;WORK:http://www.adacel.com/ EMAIL;PREF;INTERNET:michael.wardle@adacel.com REV:20011022T053618Z END:VCARD ------=_NextPart_000_00E9_01C15B0F.4B584E40-- -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sun Oct 21 22:53:54 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9M5rsB26689 for fam-outgoing; Sun, 21 Oct 2001 22:53:54 -0700 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9M5rlD26683 for ; Sun, 21 Oct 2001 22:53:47 -0700 Received: (qmail 11712 invoked from network); 22 Oct 2001 06:00:57 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 22 Oct 2001 06:00:57 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id PAA25427 for ; Mon, 22 Oct 2001 15:55:00 +1000 (EST) Received: (qmail 7455 invoked from network); 22 Oct 2001 05:51:00 -0000 Received: from selene.wodonga.adacel.com.au (HELO selene) (192.168.75.20) by hera.wodonga.adacel.com.au with SMTP; 22 Oct 2001 05:51:00 -0000 Message-ID: <010701c15abd$d5da8030$144ba8c0@wodonga.adacel.com.au> From: "Michael Wardle" To: Subject: [fam] work on OSS FAM release Date: Mon, 22 Oct 2001 15:53:12 +1000 Organization: Adacel Technologies Limited MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0104_01C15B11.A77BE1D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-fam@oss.sgi.com Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0104_01C15B11.A77BE1D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi. I am working on a new release of FAM. I regret to say that I do not have safely stored away every patch that was submitted, and would ask anyone who has submitted a patch to me that they please create a bug in OSS Bugzilla and attach any fixes you have. Please also note that you will probably need to create an account in OSS Bugzilla. Thanks for your assistance. -- MICHAEL WARDLE SGI FAM Maintainer Adacel Technologies ------=_NextPart_000_0104_01C15B11.A77BE1D0 Content-Type: text/x-vcard; name="Michael Wardle.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Michael Wardle.vcf" BEGIN:VCARD VERSION:2.1 N:Wardle;Michael;Bradley;Mr. FN:Michael Wardle ORG:Adacel Technologies Limited;Global Software Engineering TITLE:Trainee Software Engineer TEL;WORK;VOICE:+61 2 6024 2699 TEL;CELL;VOICE:+61 415 439 838 TEL;WORK;FAX:+61 2 6024 3288 ADR;WORK:;Wodonga Software Engineering Center;19 Stanley = Street;Wodonga;Victoria;3690;Australia LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Wodonga Software Engineering = Center=3D0D=3D0A19 Stanley Street=3D0D=3D0AWodonga, Vic=3D toria 3690=3D0D=3D0AAustralia ADR;HOME:;;;;;;Australia LABEL;HOME:Australia X-WAB-GENDER:2 URL;HOME:http://www.endbracket.net/ URL;WORK:http://www.adacel.com/ EMAIL;PREF;INTERNET:michael.wardle@adacel.com REV:20011022T055312Z END:VCARD ------=_NextPart_000_0104_01C15B11.A77BE1D0-- -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 24 06:53:34 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9ODrYt10448 for fam-outgoing; Wed, 24 Oct 2001 06:53:34 -0700 Received: from seraph3.grc.nasa.gov (firewall-user@seraph3.lerc.nasa.gov [128.156.10.12]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9ODrSD10432 for ; Wed, 24 Oct 2001 06:53:30 -0700 Received: by seraph3.grc.nasa.gov (Postfix, from userid 5) id BBDCD64113; Wed, 24 Oct 2001 09:52:23 -0400 (EDT) Received: from lombok-fi.lerc.nasa.gov(139.88.112.33) by seraph3.grc.nasa.gov via csmap (V6.0) id srcAAAJGayHt; Wed, 24 Oct 01 09:52:23 -0400 Received: from cecil.lerc.nasa.gov (cecil.lerc.nasa.gov [139.88.214.20]) by lombok-fi.lerc.nasa.gov (NASA LeRC 8.9.1.1/8.9.1) with ESMTP id JAA19404 for ; Wed, 24 Oct 2001 09:52:20 -0400 (EDT) Received: from localhost (daamato@localhost) by cecil.lerc.nasa.gov with ESMTP (NASA LeRC 8.7.4.1/2.01-local) id JAA581832; Wed, 24 Oct 2001 09:52:19 -0400 (EDT) Date: Wed, 24 Oct 2001 09:52:19 -0400 From: Dino A Amato To: fam@oss.sgi.com Subject: [fam] sgi_fam Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk Hello - I have a question and was wondering what your thoughts are? I just loaded RedHat 7.2 and I saw that it installs fam. As a current SGI person here at NASA I am familiar with this. On Linux I noticed something odd when using /etc/hosts.allow /etc/hosts.deny with the /etc/hsots.deny having ALL:ALL:spawn to catch things that we miss with /etc/hosts.deny. After a reboot and when logging in/out for the first time, the tcp wrappers alerts me to: fam: connection refused from unknown@unknown If I remove the ALL: in /etc/hosts.deny I do not get this alert. Do we have to add a line to the allow/deny for fam to get rid of this alert or can we make a change to the /etc/fam/conf file? Oh also are you planning on releasing another ISO for XFS since RH released a new version? I like the XFS alot and cant wait till its par tof the kernel tree or included with RH. THanks in advance and keep up the good work. ----------------------------------------------------------------- Dino Amato | Phone: 216.433.5548 ACS-GSG | Pager: NASA Glenn Research Center | BrookPark, Ohio 44135 | Dino.Amato@grc.nasa.gov ----------------------------------------------------------------- Linux Now! .....Because friends don't let friends use Microsoft ----------------------------------------------------------------- -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 24 09:24:54 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9OGOsF15962 for fam-outgoing; Wed, 24 Oct 2001 09:24:54 -0700 Received: from mjc.meridian.redhat.com (nat-pool-meridian.redhat.com [199.183.24.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9OGOpD15959 for ; Wed, 24 Oct 2001 09:24:51 -0700 Received: from localhost (alexl@localhost) by mjc.meridian.redhat.com (8.11.6/8.11.6) with ESMTP id f9OGOlS16729; Wed, 24 Oct 2001 12:24:47 -0400 X-Authentication-Warning: mjc.meridian.redhat.com: alexl owned process doing -bs Date: Wed, 24 Oct 2001 12:24:46 -0400 (EDT) From: Alex Larsson X-X-Sender: To: Dino A Amato cc: Subject: Re: [fam] sgi_fam In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 24 Oct 2001, Dino A Amato wrote: > Hello - > I have a question and was wondering what your thoughts are? > > I just loaded RedHat 7.2 and I saw that it installs fam. As a current SGI > person here at NASA I am familiar with this. > > On Linux I noticed something odd when using /etc/hosts.allow > /etc/hosts.deny with the /etc/hsots.deny having ALL:ALL:spawn > to catch things that we miss with /etc/hosts.deny. > After a reboot and when logging in/out for the first time, the tcp > wrappers alerts me to: > > fam: connection refused from unknown@unknown Does this happen only once? > If I remove the ALL: in /etc/hosts.deny I do not get this alert. > > Do we have to add a line to the allow/deny for fam to get rid of this > alert or can we make a change to the /etc/fam/conf file? I suck at tcp-wrappers, so i don't really know. But there is no fam config option for this that i know of. The fam in RH 7.2 only binds to 127.0.0.1 though, so you should not need to protect it. / Alex -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Oct 24 10:23:45 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9OHNjr18416 for fam-outgoing; Wed, 24 Oct 2001 10:23:45 -0700 Received: from seraph2.grc.nasa.gov (firewall-user@seraph2.lerc.nasa.gov [128.156.10.11]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9OHNdD18393 for ; Wed, 24 Oct 2001 10:23:40 -0700 Received: by seraph2.grc.nasa.gov (Postfix, from userid 5) id 3C10CC68F3; Wed, 24 Oct 2001 13:23:39 -0400 (EDT) Received: from lombok-fi.lerc.nasa.gov(139.88.112.33) by seraph2.grc.nasa.gov via csmap (V6.0) id srcAAAjhaOlo; Wed, 24 Oct 01 13:23:39 -0400 Received: from cecil.lerc.nasa.gov (cecil.lerc.nasa.gov [139.88.214.20]) by lombok-fi.lerc.nasa.gov (NASA LeRC 8.9.1.1/8.9.1) with ESMTP id NAA25201; Wed, 24 Oct 2001 13:23:38 -0400 (EDT) Received: from localhost (daamato@localhost) by cecil.lerc.nasa.gov with ESMTP (NASA LeRC 8.7.4.1/2.01-local) id NAA904230; Wed, 24 Oct 2001 13:23:38 -0400 (EDT) Date: Wed, 24 Oct 2001 13:23:38 -0400 From: Dino A Amato To: Alex Larsson Cc: fam@oss.sgi.com Subject: Re: [fam] sgi_fam In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk Yes this happens only once. I know the wrapper thing seems not correct, but I did not have this issue until I set the wrappers up. Yes the wrappers are correct and are installed and configured the same on over 500 machines. Anyway I have a work around for this for now which basiclly is disabling it. Now when one reboots and does login/logout I do not get any alerts. I know this is a petty issue, but just wanted see others say. If anybody comes up with why this happens or different view on this that would be great. Thanks. ----------------------------------------------------------------- Dino Amato | Phone: 216.433.5548 ACS-GSG | Pager: NASA Glenn Research Center | BrookPark, Ohio 44135 | Dino.Amato@grc.nasa.gov ----------------------------------------------------------------- Linux Now! .....Because friends don't let friends use Microsoft ----------------------------------------------------------------- On Wed, 24 Oct 2001, Alex Larsson wrote: > On Wed, 24 Oct 2001, Dino A Amato wrote: > > > Hello - > > I have a question and was wondering what your thoughts are? > > > > I just loaded RedHat 7.2 and I saw that it installs fam. As a current SGI > > person here at NASA I am familiar with this. > > > > On Linux I noticed something odd when using /etc/hosts.allow > > /etc/hosts.deny with the /etc/hsots.deny having ALL:ALL:spawn > > to catch things that we miss with /etc/hosts.deny. > > After a reboot and when logging in/out for the first time, the tcp > > wrappers alerts me to: > > > > fam: connection refused from unknown@unknown > > Does this happen only once? > > > If I remove the ALL: in /etc/hosts.deny I do not get this alert. > > > > Do we have to add a line to the allow/deny for fam to get rid of this > > alert or can we make a change to the /etc/fam/conf file? > > I suck at tcp-wrappers, so i don't really know. But there is no fam config > option for this that i know of. > > The fam in RH 7.2 only binds to 127.0.0.1 though, so you should not need > to protect it. > > / Alex > -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Tue Oct 30 21:18:04 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9V5I4F21803 for fam-outgoing; Tue, 30 Oct 2001 21:18:04 -0800 Received: from nexus.adacel.com (shelob.adacel.com.au [203.36.26.146] (may be forged)) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9V5HH021793 for ; Tue, 30 Oct 2001 21:17:23 -0800 Received: (qmail 6813 invoked from network); 31 Oct 2001 05:16:17 -0000 Received: from unknown (HELO selene) (192.168.75.20) by nexus.adacel.com with SMTP; 31 Oct 2001 05:16:17 -0000 Message-ID: <014401c161cb$39e07030$144ba8c0@wodonga.adacel.com.au> From: "Michael Wardle" To: Subject: [fam] fam-2.6.6alpha available Date: Wed, 31 Oct 2001 16:16:41 +1100 Organization: Adacel Technologies Limited MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-fam@oss.sgi.com Precedence: bulk Hi. I've been working on a new release of FAM, which includes several SGI bugfixes from our IRIX version, as well as some bugfixes that have been contributed by you, the OSS community. The tarball is attached to Bugzilla #88 at http://oss.sgi.com/bugzilla/ The final version will be available for download at http://oss.sgi.com/projects/fam/download/ -- MICHAEL WARDLE SGI FAM Maintainer Adacel Technologies -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com