apparmor.vim not found in any packages

Bug #646800 reported by Fumihito YOSHIDA on 2010-09-24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Kees Cook

Bug Description

Binary package hint: apparmor

apparmor.vim(VIM syntax file) not found in any packages.

Many AppArmor profiles (e.g. /etc/apparmor.d/*) use "vim:syntax=apparmor" syntax, but any packages has not apparmor.vim syntax file in Ubuntu. In SUSE, it is include by apparmor-doc RPM.

So, we have to include it with either apparmor-*(/usr/share/vim/addons/syntax/apparmor.vim?) or vim-common(/usr/share/vim/vim72/syntax/apparmor.vim?) package.

Notes: man apparmor.vim include apparmor packages.

$ apt-file search apparmor.vim
apparmor: /usr/share/man/man5/apparmor.vim.5.gz

$ sudo grep -r 'syntax=apparmor' /etc/apparmor.d/*
abstractions/evince:# vim:syntax=apparmor
abstractions/orbit2:# vim:syntax=apparmor
abstractions/private-files:# vim:syntax=apparmor
abstractions/launchpad-integration:# vim:syntax=apparmor
abstractions/python:# vim:syntax=apparmor
abstractions/ssl_keys:# vim:syntax=apparmor
abstractions/video:# vim:syntax=apparmor
abstractions/gnupg:# vim:syntax=apparmor
abstractions/fonts:# vim:syntax=apparmor
abstractions/consoles:# vim:syntax=apparmor
abstractions/ vim:syntax=apparmor
abstractions/cups-client:# vim:syntax=apparmor
abstractions/gnome:# vim:syntax=apparmor
abstractions/samba:# vim:syntax=apparmor
abstractions/likewise:# vim:syntax=apparmor
abstractions/X:# vim:syntax=apparmor
abstractions/dbus-session:# vim:syntax=apparmor
abstractions/php5:# vim:syntax=apparmor
abstractions/smbpass:# vim:syntax=apparmor
abstractions/private-files-strict:# vim:syntax=apparmor
abstractions/apache2-common:# vim:syntax=apparmor
abstractions/aspell:# vim:syntax=apparmor
abstractions/dbus:# vim:syntax=apparmor
abstractions/nvidia:# vim:syntax=apparmor
abstractions/audio:# vim:syntax=apparmor
abstractions/base:# vim:syntax=apparmor
disable/usr.bin.firefox:# vim:syntax=apparmor
gdm-guest-session:# vim:syntax=apparmor
sbin.dhclient3:# vim:syntax=apparmor
usr.bin.evince:# vim:syntax=apparmor
usr.bin.firefox:# vim:syntax=apparmor
usr.sbin.cupsd:# vim:syntax=apparmor
usr.sbin.tcpdump:# vim:syntax=apparmor


ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apparmor 2.5.1~rc1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Fri Sep 24 21:57:08 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100803.1)
 PATH=(custom, no user)
SourcePackage: apparmor

Fumihito YOSHIDA (hito) wrote :
Kees Cook (kees) on 2010-12-20
Changed in apparmor (Ubuntu):
assignee: nobody → Kees Cook (kees)
status: New → Fix Committed
importance: Undecided → Wishlist
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apparmor - 2.6~devel+bzr1601-0ubuntu1

apparmor (2.6~devel+bzr1601-0ubuntu1) natty; urgency=low

  * Merge with upstream bzr revision 1601 to gain parser speed
    improvements and man page fixes. Closes the following bugs:
    - LP: #349049: document audit, deny and owner rule qualifiers
    - LP: #466228: ubuntu-browsers.d/multimedia: allow flash printing
    - LP: #644983: add ubuntu-browsers.d/ubuntu-integration-xul
    - LP: #692216: use aa_change_hat() instead of change_hat()
    - LP: #692217: add aa_change_profile.pod manpage
  * debian/control: explicitly depend on gettext module.
  * ship apparmor vim syntax file (LP: #646800):
    - debian/vim-apparmor.yaml: vim addon definition file.
    - debian/apparmor-utils.install: add apparmor.vim and vim-apparmor.yaml.
  * debian/libapparmor1.manpages: ship aa_change_profile manpage.
 -- Kees Cook <email address hidden> Mon, 20 Dec 2010 14:37:38 -0800

Changed in apparmor (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers