LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2019, 08:07 AM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Slackware, Linux From Scratch, Bedrock
Posts: 382
Blog Entries: 51

Rep: Reputation: 49
gamin: can I remove it safely?


So I'm having a problem where the /home partition, during bootup, goes through a "recovering journal" operation. Every time. This is unacceptable.

To make a long story short, experimenting revealed that it was impossible to unmount the /home partition because of /usr/libexec/gam_server, which is provided by the gamin package as part of a stock Slackware install.

I went to the site https://people.gnome.org/~veillard/gamin/index.html yet I am unsure what the package is for.

Becuase I've put in Alien Bob's multilib, there is also a /var/log/packages/gamin-compat32-0.1.10-x86_64-6compat32 package.

When I ran my BLFS system I didn't have gamin, so that makes me think there may be something in Slackware that makes gamin necessary.

So, my actual question: can I remove gamin without breaking things?

Thank you.

p.s. For now I'm going to try a hopefully low-risk experiment by setting /usr/libexec/gam_server to not be executable. I'll post more if this breaks anything.
 
Old 05-01-2019, 11:08 AM   #2
ehartman
Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 955

Rep: Reputation: 500Reputation: 500Reputation: 500Reputation: 500Reputation: 500Reputation: 500
Quote:
Originally Posted by jr_bob_dobbs View Post
To make a long story short, experimenting revealed that it was impossible to unmount the /home partition because of /usr/libexec/gam_server, which is provided by the gamin package as part of a stock Slackware install.
Do you log OUT first, before you shut the system down?
Normally the logout should kill all user/session started daemons.
It is probably started somewhere by your desktop environment (DE), although I wouldn't know which component of that would need it (my XFCE one doesn't start nor need it).
I did have a problem with gpg-agent, which I handled by Uninstalling gpg (and gpg2).
 
1 members found this post helpful.
Old 05-01-2019, 12:20 PM   #3
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 178

Rep: Reputation: 38
I have never used slackware, but what I would try on my os would be:
* use package tools (yum, apt) to query dependencies, maybe slackpkg could help here.
* just try to uninstall and let my package tool tell me which package should be removed.
 
Old 05-01-2019, 12:22 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,012

Rep: Reputation: Disabled
Quote:
Originally Posted by hoes View Post
I have never used slackware, but what I would try on my os would be:
* use package tools (yum, apt) to query dependencies, maybe slackpkg could help here.
* just try to uninstall and let my package tool tell me which package should be removed.
This does not apply to Slackware as its packages management system does not handle dependencies.
 
Old 05-01-2019, 12:34 PM   #5
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: FreeBSD, OpenSUSE
Posts: 968

Rep: Reputation: Disabled
gamin is a file monitoring tool - I believe typically used by file managers to show updates when you delete, rename, move, etc. Probably a way in Slackware to tell what uses it but that is better answered by a Slackware user.
 
Old 05-01-2019, 01:10 PM   #6
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 605

Rep: Reputation: Disabled
Things like XFCE or other gtk environments might break, possibly KDE also, not sure.
I removed it years ago & also got rid of gvfs while I was at it. But I recompiled all of XFCE multiple times after that.
Best try removing it temporarily and see what breaks.
 
Old 05-01-2019, 01:30 PM   #7
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,878
Blog Entries: 5

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
This may answer your question.

Quote:
Originally Posted by rworkman View Post
gamin uses the inotify subsystem in the kernel to detect file changes in real-time. kdelibs is linked against it - don't remove it.
If you use Xfce or KDE it's worth keeping it.

Last edited by Lysander666; 05-01-2019 at 01:32 PM.
 
1 members found this post helpful.
Old 05-01-2019, 01:31 PM   #8
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 178

Rep: Reputation: 38
Found a few packages that are known to use fam/gamin in an old archlinux post

https://bbs.archlinux.org/viewtopic....874016#p874016

Another long shot, check which libraries link to libgamin or libfam.
 
Old 05-01-2019, 01:51 PM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,012

Rep: Reputation: Disabled
Packages depending on gamin in Slackware64-14.2, according to http://slackware.uk/salix/x86_64/sla...deps/depfinder (third party tool)
Quote:
amarok amor analitza ark artikulate audiocd-kio baloo-widgets baloo blinken bluedevil bomber bovo calligra cantor cervisia dolphin-plugins dragon filelight glib2 granatier gwenview juk k3b kaccessible kactivities kalgebra kalzium kamera kanagram kapman kapptemplate kate katomic kaudiocreator kblackbox kblocks kbounce kbreakout kbruch kcachegrind kcalc kcharselect kcolorchooser kcron kde-baseapps kde-dev-utils kde-runtime kde-workspace kdeartwork kdeconnect-kde kdegraphics-mobipocket kdegraphics-thumbnailers kdelibs kdenetwork-filesharing kdenetwork-strigi-analyzers kdepim-runtime kdepim kdepimlibs kdeplasma-addons kdesdk-kioslaves kdesdk-strigi-analyzers kdesdk-thumbnailers kdev-python kdevelop-php-docs kdevelop-php kdevelop kdevplatform kdewebdev kdf kdiamond kfilemetadata kfloppy kfourinline kgamma kgeography kget kgoldrunner kgpg khangman kig kigo killbots kio-mtp kiriki kiten kjumpingcube klettres klickety klines kmag kmahjongg kmines kmix kmousetool kmouth kmplot knavalbattle knetwalk kolf kollision kolourpaint kompare konquest konsole kopete korundum kpat kplayer kppp kqtquickcharts krdc kremotecontrol kreversi krfb kross-interpreters kruler ksaneplugin kscreen kshisen ksirk ksnakeduel ksnapshot kspaceduel ksquares kstars ksudoku ksystemlog kteatime ktimer ktorrent ktouch ktuberling kturtle ktux kubrick kuser kwalletmanager kwebkitpart kwordquiz libkcddb libkcompactdisc libkdcraw libkdeedu libkdegames libkexiv2 libkipi libkmahjongg libkomparediff2 libksane libkscreen libktorrent lokalize lskat marble mplayerthumbs nepomuk-core nepomuk-widgets okteta okular pairs palapeli parley partitionmanager perlkde picmi plasma-nm polkit-kde-agent-1 polkit-kde-kcmodules-1 print-manager pykde4 rocs samba skanlite smokekde step strigi superkaramba svgpart sweeper umbrello wicd-kde zeroconf-ioslave
PS list computed from the information stored in: http://slackware.uk/salix/x86_64/slackware-14.2/deps/ by George Vlahavas, thanks to him. I didn't have to run depfinder myself, just a grep+sed

Last edited by Didier Spaier; 05-01-2019 at 03:00 PM. Reason: PS added.
 
7 members found this post helpful.
Old 05-01-2019, 02:45 PM   #10
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 605

Rep: Reputation: Disabled
Hey I always wondered why there's so much disk I/O in KDE, while plain window manager environments have none.
This actually explains a lot, thanks.
 
Old 05-03-2019, 07:06 AM   #11
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Slackware, Linux From Scratch, Bedrock
Posts: 382

Original Poster
Blog Entries: 51

Rep: Reputation: 49
Thank you all for the info. I really apreciate this, as I still am still unclear as to what gamin does. I get this picture of a daemon running, going, "was that file changed? no? OK" five seconds later "was that file changer? no? OK" over and over again. Makes me think of how little kids are on long boring road trips. "Are we there yet?" "Are we there yet?"

I've decided to keep the package in. My simply setting it to be non-executable seems to be a safe workaround. KDE programs (the paint program, the spreadsheet) still run and no longer is /home being held against unmount during reboots.

EDIT: actually now something else is holding /home now, but it's not gamin so it will be another thread.

Last edited by jr_bob_dobbs; 05-03-2019 at 05:39 PM.
 
Old 05-06-2019, 12:58 PM   #12
i2_infinity
LQ Newbie
 
Registered: Jul 2013
Location: India
Distribution: RHEL, Fedora
Posts: 8
Blog Entries: 1

Rep: Reputation: 0
The worst problems with packages that do not seem to fixed in their current state can be resolved by updating the system to latest available release/versions.

Regards.
 
Old 10-02-2019, 05:50 PM   #13
AlexSlack
Member
 
Registered: Jul 2012
Location: El Salvador
Distribution: Slackware-current
Posts: 42

Rep: Reputation: 25
Lightbulb

Hi!

I removed gamin from my system and it is working properly, I use KDE 4 and Thunar on Slackware current, it seem they are already using inotify since Thunar still gets file or directory changes.
It's 4 months since I made the change and everything seems to be working OK.

I removed gamin and reboot since I makes desktop unusable after remove it, so is recommended to do it after no package is using it.

You need to recompile samba since even though is not using it is linked against it, I couldn't find a flag to disable it so I had to removed gamin first, see these links:
https://bugs.archlinux.org/task/56958
https://github.com/samba-team/samba/.../server.c#L339

Also recompiled glib2 with "-Dfam=false" added to the SlackBuild since it was linked against gamin.

Only these 2 packages were recompiled to have gamin removed.

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
thunar does not seem to use gamin to show file changes? titopoquito Slackware 12 09-22-2008 10:21 AM
LXer: QuakeCon Wrapup: John Carmack comments on future of Linux and open source gamin LXer Syndicated Linux News 0 08-14-2007 03:10 PM
gamin / gam_server prevents umounting drives / partitions ender42 Ubuntu 1 01-23-2006 12:12 AM
can you apply 2.6.x kernel config to 2.4.x safely/somewhat safely? silex_88 Linux - Software 3 12-09-2005 11:38 PM
gam_server gamin crxssi Linux - General 3 04-30-2005 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration