[opensuse-factory] backup-rpmdb.service needed? (was Re: Raspi3 boot times)
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? Maybe it's time to retire that service? 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
Op dinsdag 29 januari 2019 11:49:38 CET schreef Ludwig Nussel:
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? Maybe it's time to retire that service?
cu Ludwig +1 from me.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On mardi, 29 janvier 2019 11.49:38 h CET 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? Maybe it's time to retire that service?
cu Ludwig
+1 -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe supporter GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Jan 29, 2019 at 5:54 AM Bruno Friedmann
On mardi, 29 janvier 2019 11.49:38 h CET 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? Maybe it's time to retire that service?
cu Ludwig
+1
FWIW, I keep disabling it because it randomly fails and slows things down a lot. So I'm okay with this going away. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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.
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? 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. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
On 29/01/2019 12.06, Ludwig Nussel wrote:
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?
Me. And I helped others with instructions to use it with a destroyed rpm database. Examples with a quick google search: https://serverfault.com/questions/765523/suse-restore-packages-list-from-var... http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html https://www.linuxquestions.org/questions/linux-general-1/help-me-to-recover-... http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html
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.
No, *we* don't. Please, just move the service to run some other time. Daily or weekly, just not at boot. In fact, you could create something to run some services that currently run at boot to run 15 minutes later. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On Tue, Jan 29, Carlos E. R. wrote:
https://serverfault.com/questions/765523/suse-restore-packages-list-from-var... http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html https://www.linuxquestions.org/questions/linux-general-1/help-me-to-recover-... http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html
Most of them are over 10 years old ... Time is going on, we are not 2004 anymore, too :)
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.
No, *we* don't.
*we* have btrfs snapshots by default. If you disable them, your problem, like you could also disable the backup-rpmdb service if you don't like it. Sorry, but that you can change the default is no argument, as it works in both directions. If you decide to not use btrfs, you need to decide how else you want to backup your rpmdb. Punishing everybody else is not the right way to do it.
Please, just move the service to run some other time. Daily or weekly, just not at boot. In fact, you could create something to run some services that currently run at boot to run 15 minutes later.
Better would be to run it if the rpmdb has really changed. If really some people insist on this. My vote would be: disable it by default, and if people decide to do a non-standard installation and they need the service, they can enable it. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op dinsdag 29 januari 2019 12:43:03 CET schreef Thorsten Kukuk:
On Tue, Jan 29, Carlos E. R. wrote:
https://serverfault.com/questions/765523/suse-restore-packages-list-from- > var-adm-backup-rpmdb-packages-20160323-gz> http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html <https://www.linuxquestions.org/questions/linux-general-1/help-me-to-reco ver-my-rpmdb-228527/> http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html Most of them are over 10 years old ... Time is going on, we are not 2004 anymore, too :)
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.
No, *we* don't.
*we* have btrfs snapshots by default. If you disable them, your problem, like you could also disable the backup-rpmdb service if you don't like it. Sorry, but that you can change the default is no argument, as it works in both directions. If you decide to not use btrfs, you need to decide how else you want to backup your rpmdb. Punishing everybody else is not the right way to do it.
Please, just move the service to run some other time. Daily or weekly, just not at boot. In fact, you could create something to run some services that currently run at boot to run 15 minutes later.
Better would be to run it if the rpmdb has really changed. If really some people insist on this.
My vote would be: disable it by default, and if people decide to do a non-standard installation and they need the service, they can enable it.
+1, no doubt.
Thorsten
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 29/01/2019 12.43, Thorsten Kukuk wrote:
On Tue, Jan 29, Carlos E. R. wrote:
https://serverfault.com/questions/765523/suse-restore-packages-list-from-var... http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html https://www.linuxquestions.org/questions/linux-general-1/help-me-to-recover-... http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html
Most of them are over 10 years old ... Time is going on, we are not 2004 anymore, too :)
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.
No, *we* don't.
*we* have btrfs snapshots by default. If you disable them, your problem,
*We* don't use btrfs. Dangerous thing to have, sorry.
like you could also disable the backup-rpmdb service if you don't like it. Sorry, but that you can change the default is no argument, as it works in both directions. If you decide to not use btrfs, you need to decide how else you want to backup your rpmdb. Punishing everybody else is not the right way to do it.
So, you want to punish everybody by forcing us to use btrfs?
Please, just move the service to run some other time. Daily or weekly, just not at boot. In fact, you could create something to run some services that currently run at boot to run 15 minutes later.
Better would be to run it if the rpmdb has really changed. If really some people insist on this.
Please.
My vote would be: disable it by default, and if people decide to do a non-standard installation and they need the service, they can enable it.
That would be acceptable. You can also detect non btrfs installs. Also disable btrfs maintenance timers on not btrfs systems. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
Op dinsdag 29 januari 2019 12:53:59 CET schreef Carlos E. R.:
On 29/01/2019 12.43, Thorsten Kukuk wrote:
On Tue, Jan 29, Carlos E. R. wrote:
<https://serverfault.com/questions/765523/suse-restore-packages-list-from -var-adm-backup-rpmdb-packages-20160323-gz> http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html <https://www.linuxquestions.org/questions/linux-general-1/help-me-to-rec over-my-rpmdb-228527/> http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html> Most of them are over 10 years old ... Time is going on, we are not 2004 anymore, too :)
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.
No, *we* don't.
*we* have btrfs snapshots by default. If you disable them, your problem,
*We* don't use btrfs. Dangerous thing to have, sorry.
like you could also disable the backup-rpmdb service if you don't like it. Sorry, but that you can change the default is no argument, as it works in both directions. If you decide to not use btrfs, you need to decide how else you want to backup your rpmdb. Punishing everybody else is not the right way to do it.
So, you want to punish everybody by forcing us to use btrfs?
Please, just move the service to run some other time. Daily or weekly, just not at boot. In fact, you could create something to run some services that currently run at boot to run 15 minutes later.
Better would be to run it if the rpmdb has really changed. If really some people insist on this.
Please.
My vote would be: disable it by default, and if people decide to do a non-standard installation and they need the service, they can enable it.
That would be acceptable. You can also detect non btrfs installs. Also disable btrfs maintenance timers on not btrfs systems. Please, don't start another btrfs flame war. It's the default, if you step away, that's your choice. And, don't judge btrfs if you don't use it. I do, and it's working more than fine.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 29/01/2019 12.57, Knurpht-openSUSE wrote:
Op dinsdag 29 januari 2019 12:53:59 CET schreef Carlos E. R.:
On 29/01/2019 12.43, Thorsten Kukuk wrote:
On Tue, Jan 29, Carlos E. R. wrote:
<https://serverfault.com/questions/765523/suse-restore-packages-list-from -var-adm-backup-rpmdb-packages-20160323-gz> http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html <https://www.linuxquestions.org/questions/linux-general-1/help-me-to-rec over-my-rpmdb-228527/> http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html> Most of them are over 10 years old ... Time is going on, we are not 2004 anymore, too :)
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.
No, *we* don't.
*we* have btrfs snapshots by default. If you disable them, your problem,
*We* don't use btrfs. Dangerous thing to have, sorry.
like you could also disable the backup-rpmdb service if you don't like it. Sorry, but that you can change the default is no argument, as it works in both directions. If you decide to not use btrfs, you need to decide how else you want to backup your rpmdb. Punishing everybody else is not the right way to do it.
So, you want to punish everybody by forcing us to use btrfs?
Please, just move the service to run some other time. Daily or weekly, just not at boot. In fact, you could create something to run some services that currently run at boot to run 15 minutes later.
Better would be to run it if the rpmdb has really changed. If really some people insist on this.
Please.
My vote would be: disable it by default, and if people decide to do a non-standard installation and they need the service, they can enable it.
That would be acceptable. You can also detect non btrfs installs. Also disable btrfs maintenance timers on not btrfs systems. Please, don't start another btrfs flame war. It's the default, if you step away, that's your choice. And, don't judge btrfs if you don't use it. I do, and it's working more than fine.
I will if you accept that people are not mandated to use your default choices. If you try to force us to use btrfs, I'll speak up. :-/ Talking of removing system features assuming everybody uses btrfs is *bad*. And for the record, I do recommend btrfs to people. I explain pros and cons and they decide, and many go for it. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On 29/01/2019 12.57, Knurpht-openSUSE wrote:
Op dinsdag 29 januari 2019 12:53:59 CET schreef Carlos E. R.:
On 29/01/2019 12.43, Thorsten Kukuk wrote:
On Tue, Jan 29, Carlos E. R. wrote:
<https://serverfault.com/questions/765523/suse-restore-packages-list-fr om -var-adm-backup-rpmdb-packages-20160323-gz> <http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html
<https://www.linuxquestions.org/questions/linux-general-1/help-me-to-re c over-my-rpmdb-228527/> <http://opensuse.14.x6.nabble.com/Corrupted-RPM-database-td3128580.html
>
Most of them are over 10 years old ... Time is going on, we are not 2004 anymore, too :)
> 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.
No, *we* don't.
*we* have btrfs snapshots by default. If you disable them, your problem,
*We* don't use btrfs. Dangerous thing to have, sorry.
like you could also disable the backup-rpmdb service if you don't like it. Sorry, but that you can change the default is no argument, as it works in both directions. If you decide to not use btrfs, you need to decide how else you want to backup your rpmdb. Punishing everybody else is not the right way to do it.
So, you want to punish everybody by forcing us to use btrfs?
Please, just move the service to run some other time. Daily or weekly, just not at boot. In fact, you could create something to run some services that currently run at boot to run 15 minutes later.
Better would be to run it if the rpmdb has really changed. If really some people insist on this.
Please.
My vote would be: disable it by default, and if people decide to do a non-standard installation and they need the service, they can enable it.
That would be acceptable. You can also detect non btrfs installs. Also disable btrfs maintenance timers on not btrfs systems.
Please, don't start another btrfs flame war. It's the default, if you step away, that's your choice. And, don't judge btrfs if you don't use it. I do, and it's working more than fine.
I will if you accept that people are not mandated to use your default choices. If you try to force us to use btrfs, I'll speak up. :-/
Talking of removing system features assuming everybody uses btrfs is *bad*.
And for the record, I do recommend btrfs to people. I explain pros and cons and they decide, and many go for it. Please stop the 'us' / 'we' arguing. You are not a customer, you are part of
Op dinsdag 29 januari 2019 13:32:37 CET schreef Carlos E. R.: the same community the devs and packagers are. There is no 'we' or 'us' unless you mean them included. You IMHO are 100% wrong in your perception of 'us users' vs 'them devs/packagers'. And this is not the first time I notice this attitude. Where it is wrong. -- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Jan 29, 2019 at 12:43:03PM +0100, Thorsten Kukuk wrote:
Better would be to run it if the rpmdb has really changed. If really some people insist on this.
That's basically what the service already does. But it checks for changes by calculating the md5sum of the Packages file, which seems to take too long on some machines. I think it would be good enough to just check the size/mtime/inode. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 2019-01-29 13:01, Michael Schroeder wrote:
On Tue, Jan 29, 2019 at 12:43:03PM +0100, Thorsten Kukuk wrote:
Better would be to run it if the rpmdb has really changed. If really some people insist on this.
That's basically what the service already does. But it checks for changes by calculating the md5sum of the Packages file, which seems to take too long on some machines.
Yeah how did we get to a 100MB-sized Packages file anyway? RPM databases never seemed so big. Individual records, believing that is what db48_dump shows, are often in excess of 20 KB. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Jan 29, 2019 at 01:05:46PM +0100, Jan Engelhardt wrote:
Yeah how did we get to a 100MB-sized Packages file anyway? RPM databases never seemed so big. Individual records, believing that is what db48_dump shows, are often in excess of 20 KB.
It's simply the rpm headers. If they seem too big it's probably because we keep to many changelog entries (but that's just guessing, somebody should check the header contents). M. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Dienstag, 29. Januar 2019 13:08:53 CET Michael Schroeder wrote:
On Tue, Jan 29, 2019 at 01:05:46PM +0100, Jan Engelhardt wrote:
Yeah how did we get to a 100MB-sized Packages file anyway? RPM databases never seemed so big. Individual records, believing that is what db48_dump shows, are often in excess of 20 KB.
It's simply the rpm headers. If they seem too big it's probably because we keep to many changelog entries (but that's just guessing, somebody should check the header contents).
M.
My Tumbleweed 20190115 went down from ~90 MByte to ~50 MByte changelogs when
updating to 20190205.
---
$> rpm -q rpm --changelog | head
* So Jan 13 2019 Dirk Mueller
On Tue, Jan 29, Jan Engelhardt wrote:
Yeah how did we get to a 100MB-sized Packages file anyway? RPM databases never seemed so big. Individual records, believing that is what db48_dump shows, are often in excess of 20 KB.
On my systems (Tumbleweed and SLES) it's in the range of 85 - 200 MB. Only exception is openSUSE MicroOS: it's only 24 MB for me. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 29.01.19 um 12:43 schrieb Thorsten Kukuk:
*we* have btrfs snapshots by default.
So openSUSE is only for Torsten Kukuk and Ludwig Nussel nowadays? Or who is this "we"? Using a safe file system is no longer supported? -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op dinsdag 29 januari 2019 19:45:26 CET schreef Stefan Seyfried:
Am 29.01.19 um 12:43 schrieb Thorsten Kukuk:
*we* have btrfs snapshots by default.
So openSUSE is only for Torsten Kukuk and Ludwig Nussel nowadays? Or who is this "we"?
Using a safe file system is no longer supported? No, Outright cynisism is though.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Jan 29, Stefan Seyfried wrote:
Am 29.01.19 um 12:43 schrieb Thorsten Kukuk:
*we* have btrfs snapshots by default.
So openSUSE is only for Torsten Kukuk and Ludwig Nussel nowadays? Or who is this "we"?
Sorry Stefan, but your tone is absolute not appropriate here. btrfs is the default filesystem for a default openSUSE Tumbleweed installation, which means whoever is doing a default openSUSE Tumbleweeed installation has snapshots by default. So openSUSE Tumbleweed as btrfs snapshots by default, exactly as I wrote. Not Thorsten and not Ludwig. If you like it or not. Between, the next time you attack persons personally, you should at least try to write their names correct ... And before the next complain is coming from you that this is all my fault that we have btrfs as default: I was not involved in the decission to use btrfs as default filesystem for any product except MicroOS.
Using a safe file system is no longer supported?
Please stop complaining but read exactly what I wrote. Then you would see that it is nonsense what you write here. Not amused, Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
29.01.2019 22:59, Thorsten Kukuk пишет:
btrfs is the default filesystem for a default openSUSE Tumbleweed installation, which means whoever is doing a default openSUSE Tumbleweeed installation has snapshots by default.
Strictly speaking snapshots are enabled by default only on sufficiently large filesystem. I am not sure about exact size, it should be somewhere between 20G and 40G (with 40G snapshots are definitely enabled by default, less than 20G they are disabled). So no, not everyone doing default openSUSE installation gets snapshots. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 1/29/19 8:59 PM, Thorsten Kukuk wrote:
On Tue, Jan 29, Stefan Seyfried wrote:
Am 29.01.19 um 12:43 schrieb Thorsten Kukuk:
*we* have btrfs snapshots by default.
So openSUSE is only for Torsten Kukuk and Ludwig Nussel nowadays? Or who is this "we"?
Sorry Stefan, but your tone is absolute not appropriate here.
While I don't always agree with other posters in this thread I have to speak up here. The word "we" used by you and Ludwig indeed sounded somewhat excluding to those who chose not to use btrfs (also me). I share the concerns that the decision for btrfs installed as default with its snapshot feature too easily leads to other design assumptions/decisions conflicting with what a significant set of community members want. And no, I don't want to start a discussion about file systems. The point is that some concerns raised are often not taken serious enough.
And before the next complain is coming from you that this is all my fault that we have btrfs as default:
Personally I did not read such a complain yet. Ciao, Michael.
Michael Ströder composed on 2019-01-29 22:51 (UTC+0100): ...
I share the concerns that the decision for btrfs installed as default with its snapshot feature too easily leads to other design assumptions/decisions conflicting with what a significant set of community members want.
And no, I don't want to start a discussion about file systems. The point is that some concerns raised are often not taken serious enough.
+1 -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 29.01.19 um 12:06 schrieb Ludwig Nussel:
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.
If you care about boot time, getting rid of BTRFS ist a better way. backup-rpmdb is a systemd timer, that all expired timers apparently run on boot immediately is a problem to be solved in systemd IMHO. That this happens on raspi on every boot is probably due to the lack of a hardware clock => again, a systemd problem to be solved there. Just converting them back to cron.daily scripts will nicely resolve this.
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 :-)
No, it isn't.
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.
Which does not matter at all if it runs with low (IO and cpu) priority and not during the boot process. The btrfs-scrub job, which runs on every boot on the only machine I have that has btrfs (on a slow rotating rust storage) is much worse than the rpmdb backup. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Jan 29, Michael Schroeder wrote:
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.
For this we have btfrs snapshots and/or transactional-updates ;)
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: [Timer] Persistent=true Persistent=true has really bad sideeffects, I removed it meanwhile from my timers everywhere. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Thorsten Kukuk schrieb:
On Tue, Jan 29, Michael Schroeder wrote:
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.
For this we have btfrs snapshots and/or transactional-updates ;)
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: [Timer] Persistent=true
Persistent=true has really bad sideeffects, I removed it meanwhile from my timers everywhere.
Well, not everywhere as backup-rpmdb.timer still has it :-) Mind catching up on it? Are there any other side effects besides firing at system boot? 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
On Tue, Jan 29, 2019 at 4:01 PM Ludwig Nussel
Thorsten Kukuk schrieb:
...
Please don't. But wan't this about boot times? The rpmdb backup is not a boot time service, is it?
It is: [Timer] Persistent=true
Persistent=true has really bad sideeffects, I removed it meanwhile from my timers everywhere.
Well, not everywhere as backup-rpmdb.timer still has it :-) Mind catching up on it? Are there any other side effects besides firing at system boot?
Unless system is up 24 hours a day non-persistent timers may never trigger at all. --><-- If true, the time when the service unit was last triggered is stored on disk. When the timer is activated, the service unit is triggered immediately if it would have been triggered at least once during the time when the timer was inactive. This is useful to catch up on missed runs of the service when the machine was off. --><-- "triggered immediately" is what causes it run at boot. It affects mostly home users who do not keep their systems running all the time. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 29 Jan 2019 at 14:01, Ludwig Nussel
Please don't. But wan't this about boot times? The rpmdb backup is not a boot time service, is it?
It is: [Timer] Persistent=true
Persistent=true has really bad sideeffects, I removed it meanwhile from my timers everywhere.
Well, not everywhere as backup-rpmdb.timer still has it :-) Mind catching up on it? Are there any other side effects besides firing at system boot?
If you have a number of persistent timers and they all didn't run at their regular assigned times, then your boot suddenly has ALL of them running at that boot The combined impact of stuff like btrfs-balance, fstrim, and backup-rpm DB all running at once can be very painful for many machines A judgement call has to be made - persistent=true should only be set on timers that absolutely, positively must run as close as possible to the desired time interval. I would argue for anything that can be described as a 'nice to have maintenance cleanup', then "old-fashioned" cron-like behaviour of "if I wasn't booted when I should have run, I'll run it at my regular time next time" is better for many of the things we're talking about here. But, ultimately, for backup-rpmdb, I think it's bonkers we're still running it at all - our default btrfs snapshots take care of that and for anyone who neglects to use that feature, they really should be taking their own backups of /usr/lib/sysimage just as they should of /etc and any user data in /srv or /var they care about. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 29.01.19 14:32, Richard Brown wrote:
On Tue, 29 Jan 2019 at 14:01, Ludwig Nussel
wrote: Please don't. But wan't this about boot times? The rpmdb backup is not a boot time service, is it? It is: [Timer] Persistent=true
Persistent=true has really bad sideeffects, I removed it meanwhile from my timers everywhere. Well, not everywhere as backup-rpmdb.timer still has it :-) Mind catching up on it? Are there any other side effects besides firing at system boot? If you have a number of persistent timers and they all didn't run at their regular assigned times, then your boot suddenly has ALL of them running at that boot
The combined impact of stuff like btrfs-balance, fstrim, and backup-rpm DB all running at once can be very painful for many machines
A judgement call has to be made - persistent=true should only be set on timers that absolutely, positively must run as close as possible to the desired time interval.
I would argue for anything that can be described as a 'nice to have maintenance cleanup', then "old-fashioned" cron-like behaviour of "if I wasn't booted when I should have run, I'll run it at my regular time next time" is better for many of the things we're talking about here.
But, ultimately, for backup-rpmdb, I think it's bonkers we're still running it at all - our default btrfs snapshots take care of that and for anyone who neglects to use that feature, they really should be taking their own backups of /usr/lib/sysimage just as they should of /etc and any user data in /srv or /var they care about.
I don't think disabling backup-rpmdb is necessary on desktop machines, this thread started by looking at long raspi 3 boots, which has differences to the default install already, mainly ext4 (as btrfs with cow would not be bearable). The main problem with the raspi3 boot and those triggers consists of the raspi3 not having a hw clock and those triggers getting started too early in the boot process. So the trigger gets a scheduled time to run (buldtime + X) and when we adjust the clock with ntpd to the current time, the triggers do what they are designed for: Trigger the services immediately. (And that seems to be the same every boot). backup-rpmdb.timer on a fresh boot just now: ● backup-rpmdb.timer - Backup of RPM database Loaded: loaded (/usr/lib/systemd/system/backup-rpmdb.timer; enabled; vendor preset: enabled) Active: active (waiting) since Tue 2018-12-04 13:20:59 UTC; 1 months 25 days ago Trigger: Wed 2019-01-30 01:00:11 UTC; 10h left Dez 04 13:20:59 localhost.localdomain systemd[1]: Started Backup of RPM database. same with the other triggers (same boot): 4min 28.783s mandb.service 4min 21.783s fstrim.service 3min 883ms postfix.service 2min 26.452s backup-rpmdb.service 1min 38.266s backup-sysconfig.service 27.245s logrotate.service ... So in conclusion starting the triggers after time adjustment (ntpd, chrony) would hopefully solve this problem for the raspi and any other machine with no hw clock (or emtpy bios battery). Greetings, Tobias -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 2019-01-29 14:32, Richard Brown wrote:
Well, not everywhere as backup-rpmdb.timer still has it :-) Mind catching up on it? Are there any other side effects besides firing at system boot?
If you have a number of persistent timers and they all didn't run at their regular assigned times, then your boot suddenly has ALL of them running at that boot
The combined impact of stuff like btrfs-balance, fstrim, and backup-rpm DB all running at once can be very painful for many machines
Sounds like a design flaw. systemd ought to have an option to run belated timers in sequence. Or perhaps all timers in a certain "group". I still remember the days when (unprivileged) users of a classic multi-user server, able via `crontab -e`, all started their nightly stuff at the same time at 02:00. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 29 Jan 2019 at 17:23, Jan Engelhardt
On Tuesday 2019-01-29 14:32, Richard Brown wrote:
Well, not everywhere as backup-rpmdb.timer still has it :-) Mind catching up on it? Are there any other side effects besides firing at system boot?
If you have a number of persistent timers and they all didn't run at their regular assigned times, then your boot suddenly has ALL of them running at that boot
The combined impact of stuff like btrfs-balance, fstrim, and backup-rpm DB all running at once can be very painful for many machines
Sounds like a design flaw. systemd ought to have an option to run belated timers in sequence. Or perhaps all timers in a certain "group". I still remember the days when (unprivileged) users of a classic multi-user server, able via `crontab -e`, all started their nightly stuff at the same time at 02:00.
https://www.freedesktop.org/software/systemd/man/systemd.timer.html RandomizedDelaySec= can be a help for that problem But I'm reasonably confident that persistent= doesn't honour it..after all, the whole point of Persistent= is "you missed your scheduled run, I'll run it now!" -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 2019-01-29 17:28, Richard Brown wrote:
https://www.freedesktop.org/software/systemd/man/systemd.timer.html RandomizedDelaySec= can be a help for that problem
But I'm reasonably confident that persistent= doesn't honour it..after all, the whole point of Persistent= is "you missed your scheduled run, I'll run it now!"
You can't squeeze a late train into an occupied platform, even Deutsche Bahn knows that ;-) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (15)
-
Andrei Borzenkov
-
Bruno Friedmann
-
Brüns, Stefan
-
Carlos E. R.
-
Felix Miata
-
Jan Engelhardt
-
Knurpht-openSUSE
-
Ludwig Nussel
-
Michael Schroeder
-
Michael Ströder
-
Neal Gompa
-
Richard Brown
-
Stefan Seyfried
-
Thorsten Kukuk
-
Tobias Klausmann