|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST reads YCP include files 1 byte at a time, AppArmor(auditd) logs it all slow as hell | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.3 | Reporter: | Martin Vidner <mvidner> |
| Component: | YaST2 | Assignee: | Martin Vidner <mvidner> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | maint:released:11.3:35616 | ||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Deadline: | 2010-09-27 | ||
|
Description
Martin Vidner
2010-08-10 11:27:18 UTC
Fixed in yast2-core-2.19.3, http://svn.opensuse.org/viewvc/yast?view=revision&revision=62375 submitted to Factory as https://build.opensuse.org/request/show/45353 Bubli says: Buffered reading did the trick. It reduced start-up time of y2-users (which I used as benchmark) from 4.5 minutes to 12 seconds It turns out AppArmor was set up to complain about yast, by this profile: /etc/apparmor.d/sbin.yast2 : # Last Modified: Mon Oct 26 23:07:05 2009 # REPOSITORY: http://apparmor.opensuse.org/backend/api thebahdness 4106 #include <tunables/global> /sbin/yast2 flags=(complain) { #include <abstractions/base> #include <abstractions/bash> /bin/bash ix, } That made auditd fill (and rotate away) all of /var/log/audit/audit.log with messages like type=APPARMOR_ALLOWED msg=audit(1282649559.788:165674): operation="file_perm" pid=6304 parent=6271 profile="/sbin/yast2//null-120" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/usr/share/YaST2/include/nfs/ui.ycp" will ask for an update In certain (non-default) AppArmor configurations, YaST becomes verrry slow. It is very little work for me to make an 11.3 update. The yast2-core behavior is present since SLES9, but applying the patches there would be more work. I think we should make an update for 11.3, with low priority. If that's OK, please give me a Swamp ID. Patch is trivial, I think we should update, +1. The SWAMPID for this issue is 35563. This issue was rated as low. Please submit fixed packages until 2010-09-27. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/35563 +1 update started Submitted, osc rq show 46945 Update released for: yast2-core, yast2-core-debuginfo, yast2-core-debugsource, yast2-core-devel Products: openSUSE 11.3 (debug, i586, x86_64) Forgot to close in comment 8 This is an autogenerated message for OBS integration: This bug (629882) was mentioned in https://build.opensuse.org/request/show/46945 11.3:Test / yast2-core |