Bug 535107 - creating apparmor profiles does not work - useless error message
Summary: creating apparmor profiles does not work - useless error message
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: AppArmor (show other bugs)
Version: Milestone 6
Hardware: All SUSE Other
: P5 - None : Normal (vote)
Target Milestone: ---
Deadline: 2011-11-10
Assignee: Jeff Mahoney
QA Contact: E-mail List
URL:
Whiteboard: .
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-28 12:28 UTC by Elmar Stellnberger
Modified: 2011-11-29 10:36 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar Stellnberger 2009-08-28 12:28:43 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-2.4 Firefox/3.5.2

application to profile:
/usr/bin/thunderbird
create
search in system protocol for apparmor events
error:
Email support@novell.com: error

Reproducible: Always
Comment 1 Elmar Stellnberger 2009-08-28 12:29:22 UTC
After giving this message it simply quits.
Comment 2 Christian Boltz 2009-09-19 20:43:46 UTC
The YaST module is not broken itsself, the problem is directly in the underlaying genprof/logprof utils - see bug 540525 for details.


The part of the report that should be handled here is the useless error message YaST is displaying. (I doubt if support@novell.com could help in this case - if someone tries to mail them, please post the result ;-)

The y2log is also not too helpful here. The only error message I see is:
    2009-09-19 22:07:58 <3> geeko(22795) [liby2] 
    Y2ProgramComponent.cc(receiveFromExternal):361 External program 
    /usr/lib/YaST2/servers_non_y2/ag_logprof died unexpectedly

Note: This affects the module for genprof as well as the logprof module.

The YaST modules should display (and log) a better error message - if in doubt, displaying the raw stderr output of genprof is a better option than displaying a useless error message.
Comment 3 Jeff Mahoney 2009-10-13 20:21:34 UTC
Can you see if the packages posted for bnc#540525 fix this issue for you?
Comment 4 Christian Boltz 2009-10-13 21:49:18 UTC
Just tested this: as expected, the error message is no longer displayed and the YaST module doesn't quit unexpectedly. However, real testing needs to wait for bug 546618 so that YaST / genprof actually sees the audit.log entries.
(Elmar, please try the test packages from bug 546618 once they are synced out.)

That said: IMHO there should be a better error messages - see my comment #2 for details.
Comment 5 Katarina Machalkova 2009-11-23 15:25:00 UTC
I've replaced the msg with something meaningful now. y2-apparmor 2.19.0 submitted to Factory, but feel free to use YaST:Head repo if you want to test 11.2
Comment 6 Swamp Workflow Management 2011-10-13 19:26:40 UTC
The SWAMPID for this issue is 43659.
This issue was rated as low.
Please submit fixed packages until 2011-11-10.
Also create a patchinfo file using this link:
https://swamp.suse.de/webswamp/wf/43659
Comment 7 Tony Yuan 2011-11-22 09:53:49 UTC
This patch has been wrongly submitted in a dhcpv6 update for sle10sp4 (md5 f58d697f7cbdddc3957808d2090a2743)