[Bug 520013] New: apparmor reports wrong line numbers on error.
http://bugzilla.novell.com/show_bug.cgi?id=520013 Summary: apparmor reports wrong line numbers on error. Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: AppArmor AssignedTo: jeffm@novell.com ReportedBy: grey-olli@ya.ru QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060200 SUSE/3.0.11-0.1.1 Firefox/3.0.11 ---- Wed Jul 08, 03:55:57 , /etc/apparmor.d acer15 # cat -n usr.bin.skype | tail -n 3 56 audit deny /home/olli/bin* mrwkx, 57 58 } ---- Wed Jul 08, 03:57:22 , /etc/apparmor.d acer15 # service boot.apparmor restart Reloading AppArmor profiles AppArmor parser error in /etc/apparmor.d/usr.bin.skype at line 491: syntax error, unexpected TOK_AUDIT, expecting TOK_MODE Profile /etc/apparmor.d/usr.bin.skype failed to load failed ---- Wed Jul 08, 03:57:29 , /etc/apparmor.d acer15 # Reproducible: Always Steps to Reproduce: 1. make a bug in a profile 2. service boot.apparmor restart 3. the bug is displayed w/ buggy file name, but line number is invalid. Actual Results: in my case displays line number far after the last line of a file. Expected Results: should show right line number. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 User jeffm@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=520013#c1 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Jeff Mahoney <jeffm@novell.com> 2009-10-14 12:41:04 MDT --- Ok, this is because it pulls in all the includes and then parses the result. I'm working on implementing #line support in the postprocessed output and will have test packages soon. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 User jeffm@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=520013#c2 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |grey-olli@ya.ru --- Comment #2 from Jeff Mahoney <jeffm@novell.com> 2009-10-14 14:28:13 MDT --- I've posted test packages at http://ftp.suse.com/pub/people/jeffm/suse/testpkgs/520013 It may take a few moments to sync out. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 User grey-olli@ya.ru added comment http://bugzilla.novell.com/show_bug.cgi?id=520013#c3 Olli Artemjev <grey-olli@ya.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |grey-olli@ya.ru Info Provider|grey-olli@ya.ru | --- Comment #3 from Olli Artemjev <grey-olli@ya.ru> 2009-10-18 13:10:38 MDT --- After installing packages from http://ftp.suse.com/pub/people/jeffm/suse/testpkgs/520013 the buggy string is reported correctly. Though there arrives another sort of 'something wrong' sitation - many profiles that loaded OK before now fail to load. What should I do w/ that? Some details follow: ---- Sun Oct 18, 22:57:29 , /etc/apparmor.d acer15 # service boot.apparmor restart 2>&1| grep "Profile doesn't conform to protocol" | wc -l 25 ---- Sun Oct 18, 22:57:44 , /etc/apparmor.d acer15 # ls /etc/apparmor.d/ -1 | wc -l 33 ---- Sun Oct 18, 22:57:49 , /etc/apparmor.d acer15 # service boot.apparmor restart | head /sbin/apparmor_parser: Unable to replace "/bin/ping". Profile doesn't conform to protocol Reloading AppArmor profiles Profile /etc/apparmor.d/bin.ping failed to load /sbin/apparmor_parser: Unable to replace "/sbin/klogd". Profile doesn't conform to protocol Profile /etc/apparmor.d/sbin.klogd failed to load /sbin/apparmor_parser: Unable to replace "/sbin/rpc.statd". Profile doesn't conform to protocol Profile /etc/apparmor.d/sbin.rpc.statd failed to load /sbin/apparmor_parser: Unable to replace "/sbin/syslog-ng". Profile doesn't conform to protocol Profile /etc/apparmor.d/sbin.syslog-ng failed to load /sbin/apparmor_parser: Unable to replace "/sbin/syslogd". Profile doesn't conform to protocol Profile /etc/apparmor.d/sbin.syslogd failed to load /sbin/apparmor_parser: Unable to replace "/usr/bin/gaim". Profile doesn't conform to protocol Profile /etc/apparmor.d/usr.bin.gaim failed to load /sbin/apparmor_parser: Unable to replace "/usr/bin/opera". Profile doesn't conform to protocol Profile /etc/apparmor.d/usr.bin.opera failed to load /sbin/apparmor_parser: Unable to replace "/usr/bin/psi". Profile doesn't conform to protocol Profile /etc/apparmor.d/usr.bin.psi failed to load /sbin/apparmor_parser: Unable to replace "/usr/bin/skype". Profile doesn't conform to protocol Profile /etc/apparmor.d/usr.bin.skype failed to load /sbin/apparmor_parser: Unable to replace "/usr/bin/xchat". Profile doesn't conform to protocol Profile /etc/apparmor.d/usr.bin.xchat failed to load /sbin/apparmor_parser: Unable to replace "/usr/sbin/avahi-daemon". Profile doesn't conform to protocol ---- Sun Oct 18, 22:58:14 , /etc/apparmor.d acer15 # rpm -qa | grep apparmor yast2-apparmor-2.17.4-1.5 libapparmor-devel-2.3-50.18 apparmor-profiles-2.3-42.5 apparmor-utils-2.3.1-5.5 opensuse-apparmor-quick_en-pdf-11.1-29.5.1 apparmor-docs-2.3.1-11 apparmor-profile-editor-0.9.1-268.14 perl-libapparmor-2.3-50.18 apache2-mod_apparmor-2.0.2-168.15 apparmor-parser-2.3.1-11 libapparmor1-2.3-50.18 pam_apparmor-2.3-2.69 ---- Sun Oct 18, 22:58:41 , /etc/apparmor.d acer15 # -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 http://bugzilla.novell.com/show_bug.cgi?id=520013#c4 --- Comment #4 from Jeff Mahoney <jeffm@novell.com> 2009-12-18 20:11:44 UTC --- Hrm. I'm not sure what to make of that. I'll take a look. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 http://bugzilla.novell.com/show_bug.cgi?id=520013#c5 --- Comment #5 from Jeff Mahoney <jeffm@novell.com> 2010-01-21 22:53:39 UTC --- I've committed the line number changes to the security:apparmor:factory project. I'll get the fix backported the various products tonight. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 http://bugzilla.novell.com/show_bug.cgi?id=520013#c6 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com, | |ast@novell.com --- Comment #6 from Jeff Mahoney <jeffm@novell.com> 2010-03-15 19:36:44 UTC --- I've committed this fix to openSUSE 11.2 and SLE11 SP1. 11.2 is out of scope. Anja, I have three fixes queued up for apparmor-parser. SR 34867 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 http://bugzilla.novell.com/show_bug.cgi?id=520013#c Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |ast@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 http://bugzilla.novell.com/show_bug.cgi?id=520013#c7 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |cdengler@novell.com Info Provider|ast@novell.com | --- Comment #7 from Christian Dengler <cdengler@novell.com> 2010-03-17 12:10:23 UTC --- ok, we so kind and submit a patchinfo for 11.2; swampID: 32010 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 http://bugzilla.novell.com/show_bug.cgi?id=520013#c8 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:32010 --- Comment #8 from Swamp Workflow Management <swamp@suse.com> 2010-03-18 18:11:01 UTC --- The SWAMPID for this issue is 32010. Please submit the patch and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/32010) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 http://bugzilla.novell.com/show_bug.cgi?id=520013#c9 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:32010 |maint:running:32010 | |maint:released:11.2:32215 --- Comment #9 from Swamp Workflow Management <swamp@suse.com> 2010-04-06 11:53:45 UTC --- Update released for: apparmor-parser, apparmor-parser-debuginfo, apparmor-parser-debugsource, apparmor-utils Products: openSUSE 11.2 (debug, i586, x86_64) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520013 http://bugzilla.novell.com/show_bug.cgi?id=520013#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:32010 |. |maint:released:11.2:32215 | -- Configure bugmail: http://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=520013 https://bugzilla.novell.com/show_bug.cgi?id=520013#c10 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #10 from Jeff Mahoney <jeffm@novell.com> 2010-12-01 17:20:38 UTC --- Closing as fixed. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=520013 http://bugzilla.novell.com/show_bug.cgi?id=520013#c11 --- Comment #11 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (520013) was mentioned in https://build.opensuse.org/request/show/34867 11.2:Test / apparmor-parser -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com