Michael Schroeder schrieb:
On Tue, Jan 29, 2019 at 11:49:38AM +0100, Ludwig Nussel wrote:
Axel Braun schrieb:
[...] Raspi are heavily depending on the kind of 'hard disk' you are using, whether it is a SD card (connected via USB2) or an internal SSD Here is the result of a Raspi using a Leap 15 LXQT image:
/home/test # systemd-analyze blame 1min 30.071s display-manager.service 1min 18.481s backup-rpmdb.service
Did anyone ever rely on that rpm database backup the last decade?
It's you last hope if your rpm database gets corrupt.
The question is if that still happens, it's not 1996 anymore :-) Also we have btrfs snapshots by default that include the rpm DB.
Maybe it's time to retire that service?
Please don't. But wan't this about boot times? The rpmdb backup is not a boot time service, is it?
It is, that's why it sucks even more :-)
And note that the script currently caluclates the md5 of the packages file. It's probably enough to check if the size/mtime/inode has changed or not.
Not sure if that helps. In the end the DB (several hundred megabytes) has to be copied which is slow on rotating disks and SD cards like on ARM. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org