<p dir="ltr"><br>
On Jan 19, 2014 8:57 PM, &quot;Michael Schwendt&quot; &lt;<a href="mailto:mschwendt@gmail.com">mschwendt@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Sun, 19 Jan 2014 20:32:26 +0200, Jonathan Dieter wrote:<br>
&gt;<br>
&gt; &gt; If scriptlet failures weren&#39;t fatal, we wouldn&#39;t have the problem we<br>
&gt; &gt; have now with duplicate packages.  We could have just pushed the selinux<br>
&gt; &gt; update,<br>
&gt;<br>
&gt; After installing the previous bad update that breaks scriptlets, how would<br>
&gt; you activate the new selinux policy within the fixed package&#39;s %post scriptlet?<br>
&gt; Instead of updating to the package in permissive mode, you would need to<br>
&gt; run the scriptlet contents manually *and* still reinstall any package were<br>
&gt; the scriptlets failed.</p>
<p dir="ltr">I was focusing on the fact that scriptlet failures lead to duplicates in the rpm database, but, you&#39;re right, it&#39;s not the main problem.</p>
<p dir="ltr">I still think there&#39;s a good case for making scriptlet errors non - fatal, but, in this situation, it would have had a minimal benefit. </p>
<p dir="ltr">&gt; &gt; [...] then bumped the release for all updates in the last few pushes,<br>
&gt; &gt; and then rebuilt them.<br>
&gt;<br>
&gt; How do you know which packages a user has tried to install/update _after_<br>
&gt; updating to the bad policy package? It could be any package within the package<br>
&gt; collection that would remain installed but broken because of the scriptlets bug.<br>
&gt; You assume that users have only applied the few updates following the bad<br>
&gt; selinux policy update.</p>
<p dir="ltr">ACK. I didn&#39;t think this part through properly. </p>
<p dir="ltr">Jonathan </p>