summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-02-02 14:36:41 +0200
committerPanu Matilainen <pmatilai@redhat.com>2012-02-02 14:41:16 +0200
commit8718edcb80a01901b020d2a2d8217fe0338cd9e2 (patch)
treea5115e42cb6d58fcc6995e3c71a5869a8bcf47a9 /macros.in
parent89eadf7f1465cfb4ec71f1c4dd17b3fec2afc5b3 (diff)
downloadrpm-8718edcb80a01901b020d2a2d8217fe0338cd9e2.tar.gz
rpm-8718edcb80a01901b020d2a2d8217fe0338cd9e2.tar.bz2
rpm-8718edcb80a01901b020d2a2d8217fe0338cd9e2.zip
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.
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in2
1 files changed, 1 insertions, 1 deletions
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}
#