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 <abstractions/nameservice> network dgram, + network inet dgram, + network inet stream, network stream, owner /home/*/.climm/** rw, /tmp/a8P9SzyBZf lines 1-11/11 (END) logprof actually added those lines to the profile: # cat *climm* # Last Modified: Mon Jul 14 13:11:47 2008 #include <tunables/global> /usr/bin/climm { #include <abstractions/base> #include <abstractions/nameservice> network dgram, network inet dgram, network inet stream, network stream, owner /home/*/.climm/** rw, /usr/bin/climm r, /usr/share/climm/* r, /var/run/utmp rk, } But it doesn't seem to see them when parsing, maybe? -- 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.