Activity log for bug #1378095

Date Who What changed Old value New value Message
2014-10-06 20:28:17 Steve Beattie bug added bug
2014-10-10 21:56:02 Jamie Strandboge apparmor: importance Undecided Medium
2014-10-10 21:56:02 Jamie Strandboge apparmor: status New Triaged
2014-10-11 19:49:13 Christian Boltz tags aa-tools
2015-02-25 06:07:30 Seyeong Kim apparmor: assignee Seyeong Kim (xtrusia)
2015-02-25 06:08:19 Seyeong Kim attachment added trusty-fix-aa-py-for-looping-all-file-eachtime.debdiff https://bugs.launchpad.net/apparmor/+bug/1378095/+attachment/4326948/+files/trusty-fix-aa-py-for-looping-all-file-eachtime.debdiff
2015-02-26 05:15:14 Seyeong Kim attachment removed trusty-fix-aa-py-for-looping-all-file-eachtime.debdiff https://bugs.launchpad.net/apparmor/+bug/1378095/+attachment/4326948/+files/trusty-fix-aa-py-for-looping-all-file-eachtime.debdiff
2015-02-27 00:57:42 Steve Beattie nominated for series apparmor/2.9
2015-02-27 00:57:42 Steve Beattie bug task added apparmor/2.9
2015-02-27 00:57:42 Steve Beattie nominated for series apparmor/master
2015-02-27 00:57:42 Steve Beattie bug task added apparmor/master
2015-02-27 00:57:52 Steve Beattie apparmor/2.9: milestone 2.9.2
2015-02-27 00:57:57 Steve Beattie apparmor/2.9: status New In Progress
2015-02-27 00:58:02 Steve Beattie apparmor/2.9: importance Undecided Medium
2015-02-27 00:58:08 Steve Beattie apparmor/master: status Triaged In Progress
2015-02-27 00:58:11 Steve Beattie apparmor/master: assignee Seyeong Kim (xtrusia)
2015-02-27 13:20:23 Launchpad Janitor branch linked lp:apparmor
2015-02-27 13:21:18 Launchpad Janitor branch linked lp:apparmor/2.9
2015-02-27 13:32:20 Christian Boltz apparmor/2.9: status In Progress Fix Committed
2015-02-27 13:32:23 Christian Boltz apparmor/master: status In Progress Fix Committed
2015-04-03 07:13:04 Louis Bouchard bug task added ubuntu
2015-04-03 07:13:40 Launchpad Janitor apparmor (Ubuntu): status New Confirmed
2015-04-03 07:13:40 Louis Bouchard affects ubuntu apparmor (Ubuntu)
2015-04-03 07:16:45 Louis Bouchard nominated for series Ubuntu Trusty
2015-04-03 07:16:45 Louis Bouchard bug task added apparmor (Ubuntu Trusty)
2015-04-03 07:17:54 Seyeong Kim apparmor (Ubuntu): assignee Seyeong Kim (xtrusia)
2015-04-03 07:17:58 Seyeong Kim apparmor (Ubuntu Trusty): assignee Seyeong Kim (xtrusia)
2015-04-03 07:18:03 Seyeong Kim apparmor (Ubuntu): status New In Progress
2015-04-03 07:18:06 Seyeong Kim apparmor (Ubuntu Trusty): status New In Progress
2015-04-03 07:36:55 Seyeong Kim bug added subscriber Ubuntu Sponsors Team
2015-04-03 07:37:13 Seyeong Kim bug added subscriber Ubuntu Stable Release Updates Team
2015-04-03 07:42:31 Seyeong Kim description $ sudo aa-complain /etc/apparmor.d/usr.lib.postfix.* Setting /etc/apparmor.d/usr.lib.postfix.anvil to complain mode. Traceback (most recent call last): File "/usr/sbin/aa-complain", line 30, in <module> tool.cmd_complain() File "/usr/lib/python3/dist-packages/apparmor/tools.py", line 171, in cmd_complain apparmor.read_profiles() File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2573, in read_profiles read_profile(profile_dir + '/' + file, True) File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2599, in read_profile profile_data = parse_profile_data(data, file, 0) File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2853, in parse_profile_data store_list_var(filelist[file]['lvar'], list_var, value, var_operation, file) File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 3277, in store_list_var raise AppArmorException(_('Redefining existing variable %s: %s in %s') % (list_var, value, filename)) apparmor.common.AppArmorException: 'Redefining existing variable @{TFTP_DIR}: /var/tftp /srv/tftpboot in /etc/apparmor.d/usr.sbin.dnsmasq' $ sudo grep -R TFTP_DIR /etc/apparmor.d/ /etc/apparmor.d/usr.sbin.dnsmasq:@{TFTP_DIR}=/var/tftp /srv/tftpboot /etc/apparmor.d/usr.sbin.dnsmasq: @{TFTP_DIR}/ r, /etc/apparmor.d/usr.sbin.dnsmasq: @{TFTP_DIR}/** r, Looks like the tools are re-parsing everything, but not resetting whatever is storing the variable declarations. [SRU justification] [Impact] $ sudo aa-complain /etc/apparmor.d/usr.lib.postfix.* Setting /etc/apparmor.d/usr.lib.postfix.anvil to complain mode. Traceback (most recent call last):   File "/usr/sbin/aa-complain", line 30, in <module>     tool.cmd_complain()   File "/usr/lib/python3/dist-packages/apparmor/tools.py", line 171, in cmd_complain     apparmor.read_profiles()   File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2573, in read_profiles     read_profile(profile_dir + '/' + file, True)   File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2599, in read_profile     profile_data = parse_profile_data(data, file, 0)   File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2853, in parse_profile_data     store_list_var(filelist[file]['lvar'], list_var, value, var_operation, file)   File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 3277, in store_list_var     raise AppArmorException(_('Redefining existing variable %s: %s in %s') % (list_var, value, filename)) apparmor.common.AppArmorException: 'Redefining existing variable @{TFTP_DIR}: /var/tftp /srv/tftpboot in /etc/apparmor.d/usr.sbin.dnsmasq' $ sudo grep -R TFTP_DIR /etc/apparmor.d/ /etc/apparmor.d/usr.sbin.dnsmasq:@{TFTP_DIR}=/var/tftp /srv/tftpboot /etc/apparmor.d/usr.sbin.dnsmasq: @{TFTP_DIR}/ r, /etc/apparmor.d/usr.sbin.dnsmasq: @{TFTP_DIR}/** r, Looks like the tools are re-parsing everything, but not resetting whatever is storing the variable declarations. [Test Case] sudo aa-enforce /etc/apparmor.d/* got error [Regression Potential] [Other Info]
2015-04-03 07:51:43 Seyeong Kim attachment added tools-fix-multi-profile-vivid.debdiff https://bugs.launchpad.net/apparmor/+bug/1378095/+attachment/4364897/+files/tools-fix-multi-profile-vivid.debdiff
2015-04-03 07:51:56 Seyeong Kim attachment added tools-fix-multi-profile-trusty.debdiff https://bugs.launchpad.net/apparmor/+bug/1378095/+attachment/4364898/+files/tools-fix-multi-profile-trusty.debdiff
2015-04-06 23:11:52 Seyeong Kim apparmor (Ubuntu): assignee Seyeong Kim (xtrusia)
2015-04-06 23:11:54 Seyeong Kim apparmor (Ubuntu Trusty): assignee Seyeong Kim (xtrusia)
2015-04-06 23:12:05 Seyeong Kim apparmor (Ubuntu): status In Progress Confirmed
2015-04-06 23:12:07 Seyeong Kim apparmor (Ubuntu Trusty): status In Progress Confirmed
2015-04-24 01:12:44 Steve Beattie apparmor/2.9: status Fix Committed Fix Released
2015-04-24 01:12:47 Steve Beattie apparmor/master: status Fix Committed Fix Released
2015-05-18 14:26:55 Sebastien Bacher apparmor (Ubuntu): importance Undecided High
2015-05-18 14:26:55 Sebastien Bacher apparmor (Ubuntu): status Confirmed Fix Committed
2015-05-18 14:27:20 Sebastien Bacher removed subscriber Ubuntu Sponsors Team
2015-05-20 07:44:58 Launchpad Janitor apparmor (Ubuntu): status Fix Committed Fix Released
2015-05-20 19:25:36 Steve Beattie apparmor (Ubuntu Trusty): status Confirmed Fix Committed
2015-05-21 19:05:38 Steve Beattie tags aa-tools aa-tools verification-done
2015-05-24 17:34:11 Launchpad Janitor branch linked lp:ubuntu/apparmor
2015-05-24 17:34:18 Launchpad Janitor branch linked lp:ubuntu/trusty-proposed/apparmor
2015-06-15 16:44:24 Launchpad Janitor apparmor (Ubuntu Trusty): status Fix Committed Fix Released
2015-06-15 16:45:26 Adam Conrad removed subscriber Ubuntu Stable Release Updates Team