Merge lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain.lp1288241 into lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain

Proposed by Jamie Strandboge
Status: Merged
Approved by: Jamie Strandboge
Approved revision: 1499
Merged at revision: 1499
Proposed branch: lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain.lp1288241
Merge into: lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain
Diff against target: 80 lines (+21/-18)
6 files modified
debian/apparmor-notify.install (+1/-1)
debian/apparmor-notify.maintscript (+1/-0)
debian/changelog (+9/-1)
debian/notify/90apparmor-notify (+0/-15)
debian/notify/apparmor-notify.desktop (+9/-0)
debian/notify/notify.conf (+1/-1)
To merge this branch: bzr merge lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain.lp1288241
Reviewer Review Type Date Requested Status
Marc Deslauriers Approve
Review via email: mp+212887@code.launchpad.net

Description of the change

  * autostart aa-notify via /etc/xdg/autostart instead of /etc/X11/Xsession.d
    (LP: #1288241)
    - remove debian/notify/90apparmor-notify
    - add debian/notify/apparmor-notify.desktop
    - debian/apparmor-notify.install: adjust for the above
    - add debian/apparmor-notify.maintscript to remove 90apparmor-notify
  * debian/notify/notify.conf: use_group should be set to "sudo" instead of
    "admin" (LP: #1009666)

To post a comment you must log in.
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Looks good, ACK.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/apparmor-notify.install'
--- debian/apparmor-notify.install 2010-11-04 07:27:37 +0000
+++ debian/apparmor-notify.install 2014-03-26 16:32:45 +0000
@@ -1,3 +1,3 @@
1debian/notify/notify.conf /etc/apparmor/1debian/notify/notify.conf /etc/apparmor/
2debian/notify/90apparmor-notify /etc/X11/Xsession.d/2debian/notify/apparmor-notify.desktop /etc/xdg/autostart
3usr/sbin/aa-notify /usr/bin/3usr/sbin/aa-notify /usr/bin/
44
=== added file 'debian/apparmor-notify.maintscript'
--- debian/apparmor-notify.maintscript 1970-01-01 00:00:00 +0000
+++ debian/apparmor-notify.maintscript 2014-03-26 16:32:45 +0000
@@ -0,0 +1,1 @@
1rm_conffile /etc/X11/Xsession.d/90apparmor-notify 2.8.95~2430-0ubuntu3~
02
=== modified file 'debian/changelog'
--- debian/changelog 2014-03-21 20:05:05 +0000
+++ debian/changelog 2014-03-26 16:32:45 +0000
@@ -2,8 +2,16 @@
22
3 * debian/lib/apparmor/functions: properly calculate number of profiles in3 * debian/lib/apparmor/functions: properly calculate number of profiles in
4 /var/lib/apparmor/profiles (LP: #1295816)4 /var/lib/apparmor/profiles (LP: #1295816)
5 * autostart aa-notify via /etc/xdg/autostart instead of /etc/X11/Xsession.d
6 (LP: #1288241)
7 - remove debian/notify/90apparmor-notify
8 - add debian/notify/apparmor-notify.desktop
9 - debian/apparmor-notify.install: adjust for the above
10 - add debian/apparmor-notify.maintscript to remove 90apparmor-notify
11 * debian/notify/notify.conf: use_group should be set to "sudo" instead of
12 "admin" (LP: #1009666)
513
6 -- Jamie Strandboge <jamie@ubuntu.com> Fri, 21 Mar 2014 15:04:14 -050014 -- Jamie Strandboge <jamie@ubuntu.com> Wed, 26 Mar 2014 10:34:34 -0500
715
8apparmor (2.8.95~2430-0ubuntu2) trusty; urgency=medium16apparmor (2.8.95~2430-0ubuntu2) trusty; urgency=medium
917
1018
=== removed file 'debian/notify/90apparmor-notify'
--- debian/notify/90apparmor-notify 2010-11-05 00:12:29 +0000
+++ debian/notify/90apparmor-notify 1970-01-01 00:00:00 +0000
@@ -1,15 +0,0 @@
1# ------------------------------------------------------------------
2#
3# Copyright (C) 2010 Canonical Ltd.
4#
5# This program is free software; you can redistribute it and/or
6# modify it under the terms of version 2 of the GNU General Public
7# License published by the Free Software Foundation.
8#
9# ------------------------------------------------------------------
10
11# Start up apparmor notify. It will read /etc/apparmor/notify.conf and
12# $HOME/.apparmor/notify.conf for configuration.
13if [ -x /usr/bin/aa-notify ]; then
14 /usr/bin/aa-notify -p -s 1 -w 60
15fi
160
=== added file 'debian/notify/apparmor-notify.desktop'
--- debian/notify/apparmor-notify.desktop 1970-01-01 00:00:00 +0000
+++ debian/notify/apparmor-notify.desktop 2014-03-26 16:32:45 +0000
@@ -0,0 +1,9 @@
1[Desktop Entry]
2Type=Application
3Name=AppArmor Notify
4Comment=Receive on screen notifications of AppArmor denials
5TryExec=/usr/bin/aa-notify
6Exec=/usr/bin/aa-notify -p -s 1 -w 60
7StartupNotify=false
8NoDisplay=true
9X-Ubuntu-Gettext-Domain=aa-notify
010
=== modified file 'debian/notify/notify.conf'
--- debian/notify/notify.conf 2010-09-10 19:58:44 +0000
+++ debian/notify/notify.conf 2014-03-26 16:32:45 +0000
@@ -12,4 +12,4 @@
12show_notifications="yes"12show_notifications="yes"
1313
14# Only people in use_group can use apparmor-notify14# Only people in use_group can use apparmor-notify
15use_group="admin"15use_group="sudo"

Subscribers

People subscribed via source and target branches

to all changes: