From 8718edcb80a01901b020d2a2d8217fe0338cd9e2 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 2 Feb 2012 14:36:41 +0200 Subject: Disable signature checking during database rebuild by default - While it would be perfectly reasonable to perform signature checking during db rebuild, this is problematic as long as our keys live in the same database we're rebuilding: the environment might be paniced, the indexes required for key lookups might be corrupt or non-existent etc - one would assume there's a reason for the db is getting rebuilt in the first place. When signature checking is enabled, we're forced to generate missing indexes on the potentially borked database we're just about to rebuild, which might not go very well, and since they keyring loading has no clue its getting called from middle of db rebuild it'll try to use a shared environment which might be broken ... etc. --- macros.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros.in') diff --git a/macros.in b/macros.in index dd5207a34..f835fecae 100644 --- a/macros.in +++ b/macros.in @@ -617,7 +617,7 @@ print (t)\ %_vsflags_erase %{__vsflags} %_vsflags_install %{__vsflags} %_vsflags_query %{__vsflags} -%_vsflags_rebuilddb %{__vsflags} +%_vsflags_rebuilddb 0xc0c00 %_vsflags_verify %{__vsflags} # -- cgit v1.2.3