You are not logged in.
Pages: 1
Hi
How can I turn off launching updatedb (mlocate package). I would like the solution is to be immune for mlocate updates.
I tried the following but after rebooting the service is still active.
systemctl disable updatedb.timer
thanks for help
Offline
Just mask it.
Offline
If you are not going to update the db very often then might as well uninstall it, or better yet, configure it properly to index only what you really need.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
what about if I use locate once or twice in a week? My GS3 is launching extremly long because of updatedb.service & man-db.service. I'd like to update these databases manually before I use locate or man-db.
Thanks for any advice
Offline
I just have them run 15 and 30 mins after boot, that way the indexes are regularly updated, but there is no impact on my boot time.
Offline
My GS3 is launching extremly long because of updatedb.service & man-db.service
Do you mean you can't log in until the services finish running?
Because they run at the lowest priority possible:
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7So this should not slow the startup and not prevent doing other things during the execution of these services.
It's also possible to change the OnCalendar value of the timer: https://bbs.archlinux.org/viewtopic.php?id=180263
Offline
sorry berbae, my bad.. I was a bit confused by updatedb and man-db services because I tough that these services are the reason why my gnome-shell starts sooooo long after I click Login in GDM. I was wrong
they are running before GDM starts. So I need to investigate what is slowing GS from start AFTER GDM.
Thanks anyway!
Offline
Test with a new user.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I was a bit confused by updatedb and man-db services
It's not perfectly clear to me too how these timers/services operate exactly.
I need to investigate what is slowing GS from start AFTER GDM
Can you please post the output of 'journalctl -b' after a gnome session long startup time and the updatedb and man-db services running during boot.
(they run once a day, so you need to wait tomorrow before doing this or post the output from a previous boot where these conditions were met).
Last edited by berbae (2014-10-08 15:35:27)
Offline
Wow, I didn't even know "updatedb" had a service file for systemd! ![]()
what about if I use locate once or twice in a week?
I have an alias:
alias locate="sudo updatedb; locate"On my modest six year old desktop computer with about 500GB worth of files on three Ext4 partitions, it takes anywhere between 0 and 10 seconds to complete. ![]()
Offline
Can you please post the output of 'journalctl -b' after a gnome session long startup time and the updatedb and man-db services running during boot.
It's in another topic which isn't about updatedb
https://bbs.archlinux.org/viewtopic.php … 1#p1464091
@drcouzelis LOL, I used to use the same alias as you ![]()
Offline
Pages: 1