aa-enforce do not recognize block_suspend capability, but aa-genprof is insert this command

Bug #1228327 reported by Sergey Vinogradov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
New
Undecided
Unassigned

Bug Description

aa-genprof is generated profile with command
"capability block_suspend"

aa-notify is recognize command, too

in aa-enforce command doing error (sudo aa-enforce /etc/apparmor,d/) in profile usr.sbin.cupsd:
....
Setting /etc/apparmor.d/usr.sbin.cupsd to enforce mode.
?????????????? ?? stdin (?????? 1): /sbin/apparmor_parser: cannot use or update cache, disable, or force-complain via stdin
AppArmor parser error, in stdin line 12: Invalid capability block_suspend.

------------------------------------------------
Ubuntu 12.04.3 LTS
apparmor:
  Установлен: 2.7.102-0ubuntu3.9
  Кандидат: 2.7.102-0ubuntu3.9
  Таблица версий:
 *** 2.7.102-0ubuntu3.9 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.7.102-0ubuntu3.7 0
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
     2.7.102-0ubuntu3 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
apparmor-utils:
  Установлен: 2.7.102-0ubuntu3.9
  Кандидат: 2.7.102-0ubuntu3.9
  Таблица версий:
 *** 2.7.102-0ubuntu3.9 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.7.102-0ubuntu3.7 0
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
     2.7.102-0ubuntu3 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apparmor 2.7.102-0ubuntu3.9
ProcVersionSignature: Ubuntu 3.5.0-40.62~precise1-generic 3.5.7.20
Uname: Linux 3.5.0-40-generic i686
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: i386
Date: Fri Sep 20 21:45:20 2013
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 (20130213)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.5.0-40-generic root=UUID=d84bcd4e-fc49-4877-973e-9fc356921db6 ro quiet splash vt.handoff=7
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sergey Vinogradov (fdsc) wrote :
Revision history for this message
Sergey Vinogradov (fdsc) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.