Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-17 Thread Michael Nottebrock
On Thursday 14 December 2006 00:17, Bastiaan Welmers wrote:

> - sometimes I still can't unmount the media even if all KDE windows (and
>   other programs) are closed. I think some instance of gamin or KDE
>   keeps running although all windows have been closed. This also
>   indicates sometimes not all processes are terminated well.
>
> Now I'm using fam instead of gamin again. I think it should be nice if
> this would become standard or the gamin issue wil be resolved, because
> it's quite annoying not being able to unmount removable media all the
> time. 

I haven't really seen that sort of trouble, but then I don't use writable 
removable media much at all (cdroms never gave me problems). FWIW, I think I 
already tried everything I could to reverse the fam->gamin switch, but it's 
not going to happen. Your best bet is probably to take your problems up with 
the gamin maintainer (gnome@).


-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgpGOLlqSKxXB.pgp
Description: PGP signature


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-17 Thread Bastiaan Welmers
On Fri, Dec 15, 2006 at 12:35:05PM +0100, dick hoogendijk wrote:
> On 14 Dec Bastiaan Welmers wrote:
>
> > One nasty thing is that when afterwards installing a package
> > requiring
> > gamin, it will fail with errors. To prevent this you could just
> > "fake"
> > the pkg db that gamin is installed however actually fam libraries
> > are
> > installed.
>
> And how exactly is this "faking" done? I'm no fan of gamin too and if

Just replace the gamin libraries by the fam ones, for example by
manually
extracting the libraries from the tarball and place them in
/usr/local/lib without actually updating the package database.
It should work fine with KDE, openoffice, I don't know it works well
with programs like courier...

> possible I compiled my programs for fam. But this sounds nice ;-)

If you want to recompile all stuff just put WITH_FAM_SYSTEM=fam in
/etc/make.conf and rebuild all packages using gamin. You have to rebuild
all ports because fam and gamin can't be installed together.

/Bastiaan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-15 Thread Micah

dick hoogendijk wrote:

On 14 Dec Bastiaan Welmers wrote:


One nasty thing is that when afterwards installing a package requiring
gamin, it will fail with errors. To prevent this you could just "fake"
the pkg db that gamin is installed however actually fam libraries are
installed.


And how exactly is this "faking" done? I'm no fan of gamin too and if
possible I compiled my programs for fam. But this sounds nice ;-)



Not sure what the original poster was refering to, but I just put 
WITH_FAM_SYSTEM=fam in my /etc/make.conf back when they first started 
changing ports over to gamin, and have not had any problems since.


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-15 Thread dick hoogendijk
On 14 Dec Bastiaan Welmers wrote:

> One nasty thing is that when afterwards installing a package requiring
> gamin, it will fail with errors. To prevent this you could just "fake"
> the pkg db that gamin is installed however actually fam libraries are
> installed.

And how exactly is this "faking" done? I'm no fan of gamin too and if
possible I compiled my programs for fam. But this sounds nice ;-)

-- 
http://nagual.nl/ --- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ Solaris 10 11/06 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-13 Thread Bastiaan Welmers
On Thu, Dec 14, 2006 at 12:06:43AM +, Bartosz Fabianowski wrote:
> Just a quick "me too". I have been seeing the exact same behavior ever 
> since gamin was shoved down our throats as a better replacement for fam. 
> But since nobody else complained, I figured it was just my system. 

When building from ports it's quite easy to change back to fam, just put

WITH_FAM_SYSTEM=fam

into /etc/make.conf

For existing systems/binary installed systems, you can just pkg_delete
-f gamin* and install fam instead, so gamin libraries wil be replaced by
the fam ones, it works well to me. One nasty thing is that when afterwards 
installing a package requiring gamin, it will fail with errors. To prevent 
this you could just "fake" the pkg db that gamin is installed however 
actually fam libraries are installed.

> Whatever gamin is doing, it is not showing up in lsof, but the file 
> system is still busy. I did try tweaking my ~/.gaminrc to switch to 
> polling for the mount points in question, but this didn't help. Oddly 
> enough, sometimes, maybe one time out of ten, gamin will not exhibit 
> this strange behavior. It will just let me unmount without any problems.

Maybe because you just unmount on exactly the right moment, when gamin
is not occupying the file system? Or just all windows and processes are 
closed cleanly.

/Bastiaan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-13 Thread Bartosz Fabianowski
Just a quick "me too". I have been seeing the exact same behavior ever 
since gamin was shoved down our throats as a better replacement for fam. 
But since nobody else complained, I figured it was just my system. 
Whatever gamin is doing, it is not showing up in lsof, but the file 
system is still busy. I did try tweaking my ~/.gaminrc to switch to 
polling for the mount points in question, but this didn't help. Oddly 
enough, sometimes, maybe one time out of ten, gamin will not exhibit 
this strange behavior. It will just let me unmount without any problems.


- Bartosz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gamin/fam issues with KDE

2006-12-13 Thread Bastiaan Welmers
Hi,

For a while now the file monitor program fam has been replaced 
by gamin. When using KDE it seems to have the following issues:

- when opening a directory with konqueror/kuickshow/some other KDE
  program, where removable media(USB stick, CDROM) is mounted, 
  KDE/gamin seems to keep the directory occupied, causing problems 
  when trying to unmount the removable media. When using fam instead of
  gamin, there's no problem unmounting the device.

- sometimes I still can't unmount the media even if all KDE windows (and 
  other programs) are closed. I think some instance of gamin or KDE 
  keeps running although all windows have been closed. This also 
  indicates sometimes not all processes are terminated well.

Now I'm using fam instead of gamin again. I think it should be nice if
this would become standard or the gamin issue wil be resolved, because
it's quite annoying not being able to unmount removable media all the
time. Did someone else experience the same behaviour?

Strange thing is that when I try to find processes keeping the mounted
device occupied, nothing can be found, with fstat nor with lsof. This 
could be because gamin's only polling a short time in a period.

/Bastiaan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gamin - fam

2006-05-06 Thread Marshall Pierce
On 05/06/06 01:21, dick hoogendijk wrote:
> Does anybody have a solution for the gamin / fam problem.
> Afaics only the courier package needs FAM still.
> So, I have two questions:
> 
> (a) does courier run well without fam support?
> (b) does courier run with gamin support?
> 
> As it gets more and more packages that depend on gamin and not on fam it
> seems obvious that I change the fam support to gamin. But I don't want to
> harm my courier mailer system (I use the MTA, IMAP and POP3 units)
> 


I could be wrong, but the I'm pretty sure that the last time I checked,
courier-imapd (which is the only one of the three that I use) only
needed fam if you wanted to use its "enhanced idle" mode that will
notify clients when mail arrives (by watching users' maildirs with fam)
in pretty close to real-time. I use it, and it's a nice (if essentially
cosmetic) feature.

I don't think the POP protocol has any facility similar to IMAP's
enhanced idle, so I don't see how fam would be used there. I use Postfix
for my MTA, so I am not familiar with courier's MTA, but I suspect that
it wouldn't use fam either. (Why would it need to?) If you're willing to
simply check for new (IMAP) mail every X minutes, then you don't need
fam. (I think. :)

I haven't tried getting it to use gamin, though.

-Marshall Pierce
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gamin - fam

2006-05-06 Thread dick hoogendijk
Does anybody have a solution for the gamin / fam problem.
Afaics only the courier package needs FAM still.
So, I have two questions:

(a) does courier run well without fam support?
(b) does courier run with gamin support?

As it gets more and more packages that depend on gamin and not on fam it
seems obvious that I change the fam support to gamin. But I don't want to
harm my courier mailer system (I use the MTA, IMAP and POP3 units)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1-RC2 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"