You are not logged in.

#1 2006-03-14 21:38:29

yogi4473
Member
Registered: 2006-03-14
Posts: 4

Problem with fam update to 2.7.0-8

First of all, this is my first post, and I wanted to mention that Arch is a really great distro and I like using it every day!

But now to my problem: the update of fam to version 2.7.0-8 changed the file /etc/rc.d/fam. Now, during startup of fam it is checked if "fam" is already running. This does not make any sense. In version 2.7.0-7 "portmap" is checked and I think, this is correct.

So I reverted "fam" to "portmap" in lines 10 and 12 of /etc/rc.d/fam and everything's running again.

Yogi

Offline

#2 2006-03-15 00:47:23

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with fam update to 2.7.0-8

A bug report was filed about 10 days ago when it was in testing: http://bugs.archlinux.org/task/4108

I wonder why they moved it to current roll

Offline

#3 2006-03-17 18:49:53

Sander
Member
Registered: 2006-02-26
Posts: 138

Re: Problem with fam update to 2.7.0-8

Is anyone planning on fixing this? The package in current still seems to be the broken one... Thanks.


You like cheese? You like peas? You'll love cheezy peas!

Offline

#4 2006-03-20 15:20:54

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Problem with fam update to 2.7.0-8

pressh wrote:

A bug report was filed about 10 days ago when it was in testing: http://bugs.archlinux.org/task/4108

I wonder why they moved it to current roll

Good question... I just installed KDE and the fam package is still broken.   sad


oz

Offline

#5 2006-03-20 17:52:38

Sander
Member
Registered: 2006-02-26
Posts: 138

Re: Problem with fam update to 2.7.0-8

nobody seems to care... bah.


You like cheese? You like peas? You'll love cheezy peas!

Offline

#6 2006-03-20 20:51:03

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Problem with fam update to 2.7.0-8

ozar wrote:
pressh wrote:

A bug report was filed about 10 days ago when it was in testing: http://bugs.archlinux.org/task/4108

I wonder why they moved it to current roll

Good question... I just installed KDE and the fam package is still broken.   sad

KDE can use inotify, so you don't have to have FAM running if you don't care about monitoring remote files.

Offline

#7 2006-03-20 22:11:42

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with fam update to 2.7.0-8

yeah, but although it's a simple fix, change fam -> portmap in line 10 and 12 of /etc/rc.d/fam, it should be fixed, as it is annoying for everybody who's upgrading... just my $0,02

Offline

#8 2006-03-20 23:58:15

raskolnikov
Member
From: France
Registered: 2006-01-08
Posts: 100

Re: Problem with fam update to 2.7.0-8

That's easy to fix, but annonying for users... a broken package which has been reported to bugtracker should *never* go in current, especially when the fix is trivial as this one.


Excessive showering, grooming, and toothbrushing is not only vain, it wastes valuable coding time.

Offline

#9 2006-03-21 00:00:43

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Problem with fam update to 2.7.0-8

pressh wrote:

yeah, but although it's a simple fix, change fam -> portmap in line 10 and 12 of /etc/rc.d/fam, it should be fixed, as it is annoying for everybody who's upgrading... just my $0,02

Actually, I tried that and it didn't work - the rc.d script reported success, but famd did not actually start. Don't ask me why, that solution should definitely work.

Offline

#10 2006-03-21 09:07:48

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with fam update to 2.7.0-8

That's strange 'cause it does work over here.
Any output when running

famd -f -d -v

as root ?

Offline

#11 2006-03-21 09:25:47

evdvelde
Member
From: Antwerp - BELGIUM
Registered: 2005-12-02
Posts: 57

Re: Problem with fam update to 2.7.0-8

pressh wrote:

That's strange 'cause it does work over here.
Any output when running

famd -f -d -v

as root ?

The famd itself is working, it is an error in the initscript...

Offline

#12 2006-03-21 09:37:06

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with fam update to 2.7.0-8

evdvelde wrote:
pressh wrote:

That's strange 'cause it does work over here.
Any output when running

famd -f -d -v

as root ?

The famd itself is working, it is an error in the initscript...

Gullible Jones wrote:
pressh wrote:

yeah, but although it's a simple fix, change fam -> portmap in line 10 and 12 of /etc/rc.d/fam, it should be fixed, as it is annoying for everybody who's upgrading... just my $0,02


Actually, I tried that and it didn't work - the rc.d script reported success, but famd did not actually start. Don't ask me why, that solution should definitely work.

Please read edvelde roll

Offline

#13 2006-03-22 08:32:31

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with fam update to 2.7.0-8

although it might work, it is not correct!!!
Portmap is needed for fam to run, so it chould check in line 8 of your code above, if portmap is running or not.
so line 8-11 would be

if [ ! -f /var/run/daemons/portmap ]; then
       stat_fail
       echo "ERROR: portmap is not running"
       exit 1

for people who are lazy to click on the bug report above wink

Offline

#14 2006-03-22 21:07:37

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Problem with fam update to 2.7.0-8

Is portmap needed for FAM to function at all, or is it needed only for monitoring remote files?

Offline

#15 2006-03-22 23:25:09

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with fam update to 2.7.0-8

On the fam website (http://oss.sgi.com/projects/fam/) they say portmap is needed for fam to function at all.

Offline

#16 2006-03-24 21:14:12

Loke
Member
From: Denmark
Registered: 2005-10-21
Posts: 139

Re: Problem with fam update to 2.7.0-8

Thanks for temp fix  smile However hopefully, it'll be fixed soon.

Offline

#17 2006-03-24 22:16:02

raskolnikov
Member
From: France
Registered: 2006-01-08
Posts: 100

Re: Problem with fam update to 2.7.0-8

For those who are using testing, you can replace fam with gamin. I run Gnome 2.14 from testing with gamin, with no problem at all (and you can remove portmap if you don't need it, too) smile


Excessive showering, grooming, and toothbrushing is not only vain, it wastes valuable coding time.

Offline

#18 2006-03-24 22:25:05

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Problem with fam update to 2.7.0-8

Gamin doesn't monitor remote files though, and is unmaintained... At any rate, if you don't need to monitor remote files, you probably don't have to install or run anything extra - a lot of apps are using inotify to monitor local files, so gamin is no longer necessary.

Offline

#19 2006-03-25 22:08:26

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Problem with fam update to 2.7.0-8

Just noticed that 2.7.0-9 is in the Arch repo now.  Has anyone tried it and verified that it fixes the problem that is the subject of this thread?


oz

Offline

#20 2006-03-25 22:53:52

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with fam update to 2.7.0-8

ozar wrote:

Just noticed that 2.7.0-9 is in the Arch repo now.  Has anyone tried it and verified that it fixes the problem that is the subject of this thread?

Haven't tried yet, but looking at the daemons script in cvs atm, and the problem has been fixed.

Offline

#21 2006-03-25 22:59:22

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Problem with fam update to 2.7.0-8

It works, and the rc.d script starts portmap first as well; however, it does not stop portmap when turning off. Here goes another bug report.

Offline

#22 2006-03-25 23:02:15

raskolnikov
Member
From: France
Registered: 2006-01-08
Posts: 100

Re: Problem with fam update to 2.7.0-8

Where do you have seen gamin is unmaintened ?
I thought it was developped to be a Gnome replacement of fam :?


Excessive showering, grooming, and toothbrushing is not only vain, it wastes valuable coding time.

Offline

#23 2006-03-25 23:49:28

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Problem with fam update to 2.7.0-8

gamin is useless. It was developed to make use of inotify and to get rid of a daemon running as root. Nowadays, both KDE and GNOME utilize native inotify, so using fam/gamin is deprecated. Since gamin does exactly do the same as gnome-vfs and kdelibs can do, it's useless now. When switching to gamin, the thing you loose is network monitoring. gamin doesn't work on NFS for example, where fam does. Gnome picked this up by using inotify for local filesystems and fam for remote (NFS) filesystems.

Offline

#24 2006-03-26 00:25:16

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Problem with fam update to 2.7.0-8

Since everything now seems to use FAM and/or inotify, perhaps gamin should just be removed from Testing?

Offline

#25 2006-03-26 12:04:13

raskolnikov
Member
From: France
Registered: 2006-01-08
Posts: 100

Re: Problem with fam update to 2.7.0-8

If a fam implementation is not valuable when using only local files, I think I can remove it but gnome-vfs depends on it, and many packages require gnome-vfs :?


Excessive showering, grooming, and toothbrushing is not only vain, it wastes valuable coding time.

Offline

Board footer

Powered by FluxBB