apparmor_parser: Unable to replace "/usr/lib/cups/backend/cups-pdf". Profile doesn't conform to protocol
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| apparmor (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Bug Description
i get this error after current update.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: cups 1.5.2-8bzr2
Uname: Linux 3.3.0-09248-
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
Date: Fri Mar 30 09:42:39 2012
ErrorMessage: Unterprozess installiertes post-installati
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Connection refused
MachineType: ASUSTeK Computer Inc. UX31E
Papersize: a4
PpdFiles: Oki-B430: OKI B430(PS)
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
Title: package cups 1.5.2-8bzr2 failed to install/upgrade: Unterprozess installiertes post-installati
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/20/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX31E.211
dmi.board.
dmi.board.name: UX31E
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: UX31E
dmi.product.
dmi.sys.vendor: ASUSTeK Computer Inc.
Related branches
- AptOrdering.txt Edit (19.7 KiB, text/plain; charset="utf-8")
- BootDmesg.txt Edit (121.9 KiB, text/plain; charset="utf-8")
- CupsErrorLog.txt Edit (563 bytes, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (121.8 KiB, text/plain; charset="utf-8")
- Dependencies.txt Edit (4.2 KiB, text/plain; charset="utf-8")
- Df.txt Edit (348 bytes, text/plain; charset="utf-8")
- Dmesg.txt Edit (121.9 KiB, text/plain; charset="utf-8")
- DpkgHistoryLog.txt Edit (131.0 KiB, text/plain; charset="utf-8")
- DpkgTerminalLog.txt Edit (30.9 KiB, text/plain; charset="utf-8")
- Locale.txt Edit (327 bytes, text/plain; charset="utf-8")
- Lspci.txt Edit (21.5 KiB, text/plain; charset="utf-8")
- Lsusb.txt Edit (509 bytes, text/plain; charset="utf-8")
- PrintingPackages.txt Edit (1.2 KiB, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (3.6 KiB, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (2.4 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (3.3 KiB, text/plain; charset="utf-8")
- UdevDb.txt Edit (123.9 KiB, text/plain; charset="utf-8")
- UdevLog.txt Edit (293.8 KiB, text/plain; charset="utf-8")
The terminal log reads:
----------
Trigger für cups werden verarbeitet ...
start: Job failed to start
invoke-rc.d: initscript cups, action "start" failed.
dpkg: Fehler beim Bearbeiten von cups (--unpack):
Unterprozess installiertes post-installati
----------
Looks like a problem with Upstart, pitti, can you have a look into this?
Is your system completely up-to-date?
Please do
wget http://
sudo cp /etc/init/
sudo cp cups.upstart.debug /etc/init/cups.conf
sudo stop cups
sudo start cups
This should fail again. Please attach /tmp/log here.
After that, please restore the original script again with
sudo mv /etc/init/
Thanks!
+ /lib/init/
/sbin/apparmor_
Warning failed to create cache: usr.sbin.cupsd
- installiertes post-installation-Skript gab den Fehlerwert 1 zurück
+ apparmor_parser: Unable to replace "/usr/lib/cups/backend/cups-pdf".
+ Profile doesn't conform to protocol
Status changed to 'Confirmed' because the bug affects multiple users.
I notice you are not using the precise kernel but instead
Linux 3.3.0-09248-
Can you attach the following information
.config file for the kernel in use
Any additional information about this 3.3 kernel that might be relevant, patches applied, etc.
The output of
apparmor_parser -V
ls -R /sys/kernel/
The debug.file generate by
apparmor_parser -QT -o debug.file usr.sbin.cupsd
Hello,
I use this kernel: 3.4.0-999-generic #201204010405 not 3.3.0
2012年04月02日 22:25 keltezéssel, John Johansen írta:
> I notice you are not using the precise kernel but instead
> Linux 3.3.0-09248-
>
> Can you attach the following information
> .config file for the kernel in use
> Any additional information about this 3.3 kernel that might be relevant, patches applied, etc.
>
> The output of
> apparmor_parser -V
> ls -R /sys/kernel/
>
> The debug.file generate by
> apparmor_parser -QT -o debug.file usr.sbin.cupsd
>
I use clean master branch from kernel.org
i also did some testing and this problem was introduced by some patch between v3.3 and v3.3.0-
=======
apparmor_parser -V
AppArmor parser version 2.7.102
Copyright (C) 1999-2008 Novell Inc.
Copyright 2009-2012 Canonical Ltd.
=======
ls -R /sys/kernel/
/sys/kernel/
features
/sys/kernel/
capability domain file rlimit
/sys/kernel/
change_hat change_hatv change_onexec change_profile
/sys/kernel/
mask
/sys/kernel/
mask
Thanks Oleksij
I know what the problem is, and we should have a test apparmor_parser available for you to try in a couple hours
Have resolved the same issue on Precise by installing appmenu-indicator
This bug was fixed in the package apparmor - 2.7.102-0ubuntu3
---------------
apparmor (2.7.102-0ubuntu3) precise; urgency=low
[ Jamie Strandboge ]
* debian/
to describe Ubuntu's two-stage policy load and how to add utilize it
when developing policy (LP: #974089)
[ Serge Hallyn ]
* debian/
removed once stacked profiles are supported and used by lxc.
(LP: #978297)
[ Steve Beattie ]
* debian/
for change_profile onexec (LP: #963756)
* debian/
debian/
to support the 'in' keyword for value lists, and make mount
operations aware of 'in' keyword so they can affect the flags build
list (LP: #959560)
* debian/
exec events in complain mode (LP: #872446)
* debian/
dovecot imap-login profile (LP: #978584)
* debian/
log parsing library from dropping apparmor network events that
contain ip addresses or ports in them (LP: #800826)
* debian/
syntax and usage in apparmor.d(5) manpage (LP: #979095)
* debian/
for profiles without attachment specification (LP: #963756,
LP: #978038)
* debian/
loading policy to kernels without compat patches (LP: #968956)
* debian/
grant access to /proc/attr api (LP: #979135)
-- Steve Beattie <email address hidden> 2012年4月12日 06:17:42 -0500