[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rpmorg-maint
Subject:    [Rpm-maint] [PATCH] allow having "identical" trans file triggers
From:       thierry.vignaud () gmail ! com (Thierry Vignaud)
Date:       2015-08-28 12:44:52
Message-ID: CAONrEtZXNu5TdhGV4yHEee5237DdUyjeYO8Jp10_wqnbD6sXJw () mail ! gmail ! com
[Download RAW message or body]

Hi

This patch allows to have having "identical" trans file triggers

Without it, rpm exits on a assert() if two file triggers traps on the same path:
D: %triggerin(null-1:11-11.mga6.x86_64): waitpid(19591) rc 19591 status 0
rpm: backend/dbiset.c:62: dbiIndexSetUniq: Assertion `set->count > 0' failed.

What's more it leaves rpmdb in a bad state...

Last but not least, commit 3ae1c414f69a0eddbfecd4341dd27c7a5e90e12a
explicitly enables us to build a package with several "identical" file triggers,
so why abort when different packages provide file triggers on the same path?

See you
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-allow-having-identical-trans-file-triggers.patch
Type: application/octet-stream
Size: 1386 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20150828/cde7c681/attachment.obj>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic