[Bug 1022963] New: AppArmor maintenance update uninstallable due to file conflict with net-tools-deprecated
http://bugzilla.opensuse.org/show_bug.cgi?id=1022963 Bug ID: 1022963 Summary: AppArmor maintenance update uninstallable due to file conflict with net-tools-deprecated Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: openSUSE 42.2 Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance Assignee: suse-beta@cboltz.de Reporter: astieger@suse.com QA Contact: qa-bugs@suse.de CC: bbrunner@suse.com, maintenance@opensuse.org Found By: Community User Blocker: --- The proposed maintenance update for AppArmor (incident 6333) is not installable on Leap 42.2 if the network:utilities repository is enabled on the system. Also the change in the recommendation of net-tools to net-tools-deprecated does not seem correct.
zypper in -t patch 6333 [...] Checking for file conflicts: ..........[error] Detected 5 file conflicts:
File /bin/netstat from install of net-tools-deprecated-1.60-821.4.x86_64 (network-utilities) conflicts with file from package net-tools-1.60-767.55.x86_64 (@System)
File /sbin/arp from install of net-tools-deprecated-1.60-821.4.x86_64 (network-utilities) conflicts with file from package net-tools-1.60-767.55.x86_64 (@System)
File /sbin/ifconfig from install of net-tools-deprecated-1.60-821.4.x86_64 (network-utilities) conflicts with file from package net-tools-1.60-767.55.x86_64 (@System)
File /sbin/iptunnel from install of net-tools-deprecated-1.60-821.4.x86_64 (network-utilities) conflicts with file from package net-tools-1.60-767.55.x86_64 (@System)
File /sbin/route from install of net-tools-deprecated-1.60-821.4.x86_64 (network-utilities) conflicts with file from package net-tools-1.60-767.55.x86_64 (@System)
Relevant spec change in the apparmor-utils package in context: # aa-unconfined needs netstat -%if 0%{?suse_version} > 1320 +%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 Recommends: net-tools-deprecated %else Recommends: net-tools %endif The net-tools-deprecated package is not in Leap, openSUSE-release removes it:
weakremover(net-tools-deprecated) net-tools-deprecated file-conflicts with net-tools. netstat is in net-tools. This change in Recommends does not seem correct. Also a change from netstat to ss (iproute2) would be advised for the next releases.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022963 http://bugzilla.opensuse.org/show_bug.cgi?id=1022963#c1 --- Comment #1 from Andreas Stieger <astieger@suse.com> --- This is a regression of applying the change of bug 944904 https://build.opensuse.org/request/show/331543 to Leap 42.1 and Leap 42.2, where net-utils still provides netstat - contrary to factory. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022963 http://bugzilla.opensuse.org/show_bug.cgi?id=1022963#c2 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Christian Boltz <suse-beta@cboltz.de> --- (In reply to Andreas Stieger from comment #0)
The proposed maintenance update for AppArmor (incident 6333) is not installable on Leap 42.2 if the network:utilities repository is enabled on the system.
<BOfH> Didn't Richard tell you not to use unofficial repos? </BOfH>
Also the change in the recommendation of net-tools to net-tools-deprecated does not seem correct.
Agreed, this was an accidential change (see below).
Also a change from netstat to ss (iproute2) would be advised for the next releases.
You are too late with your advice - aa-unconfined in AppArmor 2.11 (which is on its way to Factory) already switched to using ss ;-) (In reply to Andreas Stieger from comment #1)
This is a regression of applying the change of bug 944904 https://build.opensuse.org/request/show/331543 to Leap 42.1 and Leap 42.2, where net-utils still provides netstat - contrary to factory.
Actually it's a regression I accidently introduced while fixing bug 1017260. I had to adjust several suse_version checks for apparmor.service, and accidently also changed the version check for the Recommends. That all said - I sent SR 453958 and SR 453959 to the maintenance projects to fix this regression. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com