[Bug 702427] New: Apparmor patch does not install apparmor-docs and apparmor-profiles
https://bugzilla.novell.com/show_bug.cgi?id=702427 https://bugzilla.novell.com/show_bug.cgi?id=702427#c0 Summary: Apparmor patch does not install apparmor-docs and apparmor-profiles Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance AssignedTo: maintenance@opensuse.org ReportedBy: suse-beta@cboltz.de QAContact: qa@suse.de CC: jeffm@novell.com Found By: Beta-Customer Blocker: --- I just installed the apache2-mod_apparmor patch 4785 from the 11.4 update test repo. The patch description contains: - Changed apparmor-docs and apparmor-profiles back to noarch (bnc#682909 bnc#682912). - Add config files to samba profiles (bnc#666450 bnc#679182). [and various other profile updates] Unfortunately installing the patch did not install the updated apparmor-docs and apparmor-profiles package. I still see: # zypper lp Loading repository data... Reading installed packages... No updates found. # zypper lu Loading repository data... Reading installed packages... S | Repository | Name | Current Version | Available Version | Arch --+------------------+-------------------+---------------------+---------------------+------- v | update-test-11.4 | apparmor-docs | 2.5.1.r1445-52.55.1 | 2.5.1.r1445-52.57.1 | noarch v | update-test-11.4 | apparmor-profiles | 2.5.1.r1445-52.55.1 | 2.5.1.r1445-52.57.1 | noarch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702427 https://bugzilla.novell.com/show_bug.cgi?id=702427#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maintenance@opensuse.org AssignedTo|maintenance@opensuse.org |jeffm@novell.com --- Comment #1 from Marcus Meissner <meissner@novell.com> 2011-06-28 13:18:08 UTC --- zypper does not like the architecture change :( is it really necessary jeff? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702427 https://bugzilla.novell.com/show_bug.cgi?id=702427#c2 --- Comment #2 from Jeff Mahoney <jeffm@novell.com> 2011-06-28 14:01:58 UTC --- The architecture change was the issue being fixed, so yeah. There were two separate bugs describing that one. Is there any way to automate that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702427 https://bugzilla.novell.com/show_bug.cgi?id=702427#c3 --- Comment #3 from Christian Boltz <suse-beta@cboltz.de> 2011-06-28 22:25:51 CEST --- (In reply to comment #1)
zypper does not like the architecture change :(
Which means we have a nice[tm] bug in zypper because - it doesn't install the packages with changed arch - without any error message - it thinks the patch is satisfied and no longer displays it Do you know if there is already a zypper/libzypp bugreport open about this? (I guess libzypp because the KPackageKit did not hide the two packages, which it usually does when they belong to a patch.) That said: IMHO the arch changes are not too important for 11.4 compared to the other fixes in this patch. Therefore I'd prefer to get the fixes released soon. The pragmatic approach in this case is: revert the change to noarch for the 11.4 updates. The -docs and -profiles packages were i586/x86_64 in the 11.4 release, and the only problem with not changing them to noarch is wasting some kB on the download mirrors ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702427 https://bugzilla.novell.com/show_bug.cgi?id=702427#c4 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com --- Comment #4 from Marcus Meissner <meissner@novell.com> 2011-06-29 12:04:12 UTC --- I talked to dirk, this is not possible with a patch during the lifetime of a distro. this arch change is only possible during zypper dup or other distribution upgrades. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702427 https://bugzilla.novell.com/show_bug.cgi?id=702427#c5 --- Comment #5 from Marcus Meissner <meissner@novell.com> 2011-06-29 12:17:33 UTC --- we will try to enforce the arch sxwitch by adding conflicts to %package parser # to make architecture switch possible (bnc#702427) Conflicts: apparmor-profiles < %version-%release Conflicts: apparmor-docs < %version-%release -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702427 https://bugzilla.novell.com/show_bug.cgi?id=702427#c6 --- Comment #6 from Christian Boltz <suse-beta@cboltz.de> 2011-06-30 20:31:28 CEST --- The conflicts trick seems to work - with a very small annoyance left ;-) KPackageKit now displays the apache2-mod_apparmor patch _and_ the apparmor-docs and -profiles package. Usually packages belonging to a patch are hidden. The good message is that the updated -docs and -profiles packages are installed even if I manually deselect them in KPackageKit. Summary: installing the patch with KPackageKit has a visual annoyance, but works. "zypper in -t patch apache2-mod_apparmor" also works. The visual annoyance in KPackageKit is, well, just an annoyance - therefore I consider the issue fixed ;-) This still leaves the issue that zypper did just ignore the arch-changing packages without displaying any notice (see comment #3). I'll open a separate bugreport for that in some days if nobody objects. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702427 https://bugzilla.novell.com/show_bug.cgi?id=702427#c7 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Dirk Mueller <dmueller@novell.com> 2011-06-30 23:28:43 CEST ---
This still leaves the issue that zypper did just ignore the arch-changing packages without displaying any notice (see comment #3). I'll open a separate bugreport for that in some days if nobody objects.
its not a bug, its a feature. Can't change that, sorry. thanks for your testing! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702427 https://bugzilla.novell.com/show_bug.cgi?id=702427#c8 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.4:41905 --- Comment #8 from Swamp Workflow Management <swamp@suse.de> 2011-07-07 13:17:39 UTC --- Update released for: apache2-mod_apparmor, apparmor-docs, apparmor-parser, apparmor-profiles, apparmor-utils, libapparmor-devel, libapparmor1, pam_apparmor, perl-apparmor, tomcat_apparmor Products: openSUSE 11.4 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com