[Bug 408846] New: logprof asks the same questions ever again
https://bugzilla.novell.com/show_bug.cgi?id=408846
Summary: logprof asks the same questions ever again
Product: openSUSE 11.0
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: AppArmor
AssignedTo: jjohansen@novell.com
ReportedBy: poeml@novell.com
QAContact: qa@suse.de
Found By: ---
I am profiling a program called climm. logprof asks some questions and
adds stuff to the profile. However, on next run it asks the same
questions again. Here are two logprof calls in a row:
# logprof
Reading log entries from /var/log/audit/audit.log.
Updating AppArmor profiles in /etc/apparmor.d.
Complain-mode changes:
Profile: /usr/bin/climm
Network Family: inet
Socket Type: dgram
[(A)llow] / (D)eny / Audi(t) / Abo(r)t / (F)inish
Adding network access inet dgram to profile.
Profile: /usr/bin/climm
Network Family: inet
Socket Type: stream
[(A)llow] / (D)eny / Audi(t) / Abo(r)t / (F)inish
Adding network access inet stream to profile.
= Changed Local Profiles =
The following local profiles were changed. Would you like to save them?
[1 - /usr/bin/climm]
(S)ave Changes / [(V)iew Changes] / Abo(r)t
Writing updated profile for /usr/bin/climm.
logprof 6.22s user 0.16s system 61% cpu 10.302 total
# logprof
Reading log entries from /var/log/audit/audit.log.
Updating AppArmor profiles in /etc/apparmor.d.
Complain-mode changes:
Profile: /usr/bin/climm
Network Family: inet
Socket Type: dgram
[(A)llow] / (D)eny / Audi(t) / Abo(r)t / (F)inish
Adding network access inet dgram to profile.
Profile: /usr/bin/climm
Network Family: inet
Socket Type: stream
[(A)llow] / (D)eny / Audi(t) / Abo(r)t / (F)inish
Adding network access inet stream to profile.
= Changed Local Profiles =
The following local profiles were changed. Would you like to save them?
[1 - /usr/bin/climm]
(S)ave Changes / [(V)iew Changes] / Abo(r)t
Writing updated profile for /usr/bin/climm.
logprof 6.37s user 0.12s system 46% cpu 14.063 total
#
auditd logs a line like
type=APPARMOR_STATUS msg=audit(1216033907.231:2557):
operation="profile_replace" name="/usr/bin/climm" name2="default" pid=25733
after each logprof run.
The changes that logprof shows when I press 'v' before saving are:
--- /tmp/NXcujx1vdY 2008-07-14 13:13:02.439680588 +0200
+++ /tmp/MtSGHhrg1v 2008-07-14 13:13:02.439680588 +0200
@@ -5,6 +5,8 @@
#include
https://bugzilla.novell.com/show_bug.cgi?id=408846
User jjohansen@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408846#c1
John Johansen
https://bugzilla.novell.com/show_bug.cgi?id=408846
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408846#c2
--- Comment #2 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=408846
User jjohansen@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408846#c3
--- Comment #3 from John Johansen
https://bugzilla.novell.com/show_bug.cgi?id=408846
User suse-beta@cboltz.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408846#c5
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=408846
User suse-beta@cboltz.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408846#c6
--- Comment #6 from Christian Boltz
I see the same behaviour with the /usr/lib/postfix/master profile :-( (I have already have my profiles some days ago on request after my mail on apparmor-general)
Should read "I have already sent you my profiles..." :-/ -- 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=408846
User jjohansen@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408846#c7
--- Comment #7 from John Johansen
https://bugzilla.novell.com/show_bug.cgi?id=408846
Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com