fam
[Top] [All Lists]

[fam] fam, xinetd, kernel 2.4.x

To: fam@xxxxxxxxxxx
Subject: [fam] fam, xinetd, kernel 2.4.x
From: Malte.Starostik@xxxxxxxxxxx (Malte Starostik)
Date: Mon, 23 Apr 2001 22:18:18 +0200
Sender: owner-fam@xxxxxxxxxxx
Hi,

I just read the thread about fam & rh7 in the archive and would like to share 
my own experience with fam and xinetd and newer kernels than 2.4.0-test9.
I'm running Mandrake 7.2, which also uses xinetd (can't remember if it's the 
default over inetd but IIRC it is). Please CC me for answers as I'm not 
subscribed, could do so though, if neccessary.

I'm using this as /etc/xinetd.d/sgi_fam:

service sgi_fam
{
    disable             = no
    type                = RPC
    rpc_version         = 1-2
    rpc_number          = sgi_fam
    socket_type         = stream
    protocol            = tcp
    wait                = yes
    user                = root
    server              = /usr/local/bin/fam
}

It's working perfectly with that (I use it with KDE).
The imon patch for 2.4.0-test9 applies cleanly to all 2.4 versions I tried 
(several 0-tests, 0, 1, 2 and 3) and seems to work well. I use it with 
reiserfs plus the reiserfs-nfs patches and didn't expect any problems.
There is one little buglet in linux/fs/imon/Config.in though:

#
# imon configuration
#
 
comment 'Inode monitor support (experimental)'
tristate 'Inode monitor support (experimental)' CONFIG_IMON
^^^^^^^^
this should be bool instead of tristate as tristate allows to configure imon 
as a module, but doing so results in a whole bunch of undefined references 
when linking the filesystem code during kernel builds.

BTW, Mandrake's /etc/init.d/xinetd kills xinetd with -USR2 to reload the 
config, so I'd propose a procedure like this for the rpm's post script:
- Check with /sbin/pidof whether inetd is running
- if so, patch /etc/inetd.conf and run /sbin/killall -HUP inetd
- else, install /etc/xinetd.d/sgi_fam and run /sbin/killall -USR2 inetd

Sorry, no time to write a real script for that now.

On a totally unrelated thing, when do you expect 2.6.5 to be available? Will 
it include a fix for using fam concurrently as different users (non-root & 
root or two non-root)? This, as stated in your known bugs section doesn't 
work at all and renders kdesu (KDE's wrapper around su that cares about the 
KDE daemons and X authentication etc.) useless when KDE is compiled with fam 
support - it'll just hang :(
If the 2.6.5 release should take a while, is this issue already fixed, are 
some unstable packages available?
Thanks,
-Malte

--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>