[Desktop-packages] [Bug 1267880] Re: cups-daemon upgrade generates warnings about "rules not enforced"
I just recalled that there was a major upgrade yesterday, including the kernel and several armor files. So, I retried the cups-daemon re- installation and the warnings have disappeared since this upgrade. Attached is a log of the apt-get upgrade process with the status messages filtered out. ** Attachment added: "Log of trusty upgrade on 2013-01-13" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1267880/+attachment/3948611/+files/2013-01-13.log ** Changed in: cups (Ubuntu) Status: New => Fix Released ** Package changed: cups (Ubuntu) => apparmor (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1267880 Title: cups-daemon upgrade generates warnings about "rules not enforced" Status in “apparmor” package in Ubuntu: Fix Released Bug description: Whenever the trusty cups-daemon package is upgraded, I can see a few warning lines about "rules not enforced". This does not appear to impact the cups operations. Note that this does not occur in saucy where the cups-daemon version currently is 1.7.0~rc1-0ubuntu5.1. For example, I just executed the following re-installation of the cups-daemon: $ sudo apt-get install --reinstall cups-daemon Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 0 B/268 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 220095 files and directories currently installed.) Preparing to replace cups-daemon 1.7.1-1 (using .../cups-daemon_1.7.1-1_amd64.deb) ... cups stop/waiting Unpacking replacement cups-daemon ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... Setting up cups-daemon (1.7.1-1) ... Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/sbin/cupsd dbus rules not enforced Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/lib/cups/backend/cups-pdf network rules not enforced Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/sbin/cupsd network rules not enforced cups start/running, process 18890 ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: cups-daemon 1.7.1-1 ProcVersionSignature: Ubuntu 3.13.0-1.16-generic 3.13.0-rc7 Uname: Linux 3.13.0-1-generic x86_64 ApportVersion: 2.12.7-0ubuntu6 Architecture: amd64 CupsErrorLog: CurrentDesktop: XFCE Date: Fri Jan 10 08:34:43 2014 InstallationDate: Installed on 2013-12-13 (27 days ago) InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131213) Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added. Papersize: letter ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-1-generic root=UUID=0c647a78-7280-4913-8705-85f1aa784f42 ro quiet splash vt.handoff=7 SourcePackage: cups UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 03/23/2012 dmi.bios.vendor: Intel Corp. dmi.bios.version: MUCDT10N.86A.0069.2012.0323.1358 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: D2550MUD2 dmi.board.vendor: Intel Corporation dmi.board.version: AAG73892-600 dmi.chassis.type: 3 dmi.modalias: dmi:bvnIntelCorp.:bvrMUCDT10N.86A.0069.2012.0323.1358:bd03/23/2012:svn:pn:pvr:rvnIntelCorporation:rnD2550MUD2:rvrAAG73892-600:cvn:ct3:cvr: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1267880/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1267880] Re: cups-daemon upgrade generates warnings about "rules not enforced"
Regarding message #3, please see the attached logs. The subject machine is running the latest up-to-date Xubuntu trusty (14.04). There are absolutely no customized alterations to Xubuntu 14.04. $ uname -a Linux mudpc 3.13.0-2-generic #17-Ubuntu SMP Fri Jan 10 12:14:30 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ dpkg -l 'appar*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description ii apparmor2.8.0-0ubuntu37 amd64 User-space parser utility for AppArmor -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1267880 Title: cups-daemon upgrade generates warnings about "rules not enforced" Status in “cups” package in Ubuntu: New Bug description: Whenever the trusty cups-daemon package is upgraded, I can see a few warning lines about "rules not enforced". This does not appear to impact the cups operations. Note that this does not occur in saucy where the cups-daemon version currently is 1.7.0~rc1-0ubuntu5.1. For example, I just executed the following re-installation of the cups-daemon: $ sudo apt-get install --reinstall cups-daemon Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 0 B/268 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 220095 files and directories currently installed.) Preparing to replace cups-daemon 1.7.1-1 (using .../cups-daemon_1.7.1-1_amd64.deb) ... cups stop/waiting Unpacking replacement cups-daemon ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... Setting up cups-daemon (1.7.1-1) ... Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/sbin/cupsd dbus rules not enforced Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/lib/cups/backend/cups-pdf network rules not enforced Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/sbin/cupsd network rules not enforced cups start/running, process 18890 ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: cups-daemon 1.7.1-1 ProcVersionSignature: Ubuntu 3.13.0-1.16-generic 3.13.0-rc7 Uname: Linux 3.13.0-1-generic x86_64 ApportVersion: 2.12.7-0ubuntu6 Architecture: amd64 CupsErrorLog: CurrentDesktop: XFCE Date: Fri Jan 10 08:34:43 2014 InstallationDate: Installed on 2013-12-13 (27 days ago) InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131213) Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added. Papersize: letter ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-1-generic root=UUID=0c647a78-7280-4913-8705-85f1aa784f42 ro quiet splash vt.handoff=7 SourcePackage: cups UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 03/23/2012 dmi.bios.vendor: Intel Corp. dmi.bios.version: MUCDT10N.86A.0069.2012.0323.1358 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: D2550MUD2 dmi.board.vendor: Intel Corporation dmi.board.version: AAG73892-600 dmi.chassis.type: 3 dmi.modalias: dmi:bvnIntelCorp.:bvrMUCDT10N.86A.0069.2012.0323.1358:bd03/23/2012:svn:pn:pvr:rvnIntelCorporation:rnD2550MUD2:rvrAAG73892-600:cvn:ct3:cvr: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1267880/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1267880] Re: cups-daemon upgrade generates warnings about "rules not enforced"
This appears to be a result of booting a non-Ubuntu kernel without the AppArmor compat patches. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1267880 Title: cups-daemon upgrade generates warnings about "rules not enforced" Status in “cups” package in Ubuntu: New Bug description: Whenever the trusty cups-daemon package is upgraded, I can see a few warning lines about "rules not enforced". This does not appear to impact the cups operations. Note that this does not occur in saucy where the cups-daemon version currently is 1.7.0~rc1-0ubuntu5.1. For example, I just executed the following re-installation of the cups-daemon: $ sudo apt-get install --reinstall cups-daemon Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 0 B/268 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 220095 files and directories currently installed.) Preparing to replace cups-daemon 1.7.1-1 (using .../cups-daemon_1.7.1-1_amd64.deb) ... cups stop/waiting Unpacking replacement cups-daemon ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... Setting up cups-daemon (1.7.1-1) ... Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/sbin/cupsd dbus rules not enforced Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/lib/cups/backend/cups-pdf network rules not enforced Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/sbin/cupsd network rules not enforced cups start/running, process 18890 ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: cups-daemon 1.7.1-1 ProcVersionSignature: Ubuntu 3.13.0-1.16-generic 3.13.0-rc7 Uname: Linux 3.13.0-1-generic x86_64 ApportVersion: 2.12.7-0ubuntu6 Architecture: amd64 CupsErrorLog: CurrentDesktop: XFCE Date: Fri Jan 10 08:34:43 2014 InstallationDate: Installed on 2013-12-13 (27 days ago) InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131213) Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added. Papersize: letter ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-1-generic root=UUID=0c647a78-7280-4913-8705-85f1aa784f42 ro quiet splash vt.handoff=7 SourcePackage: cups UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 03/23/2012 dmi.bios.vendor: Intel Corp. dmi.bios.version: MUCDT10N.86A.0069.2012.0323.1358 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: D2550MUD2 dmi.board.vendor: Intel Corporation dmi.board.version: AAG73892-600 dmi.chassis.type: 3 dmi.modalias: dmi:bvnIntelCorp.:bvrMUCDT10N.86A.0069.2012.0323.1358:bd03/23/2012:svn:pn:pvr:rvnIntelCorporation:rnD2550MUD2:rvrAAG73892-600:cvn:ct3:cvr: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1267880/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1267880] Re: cups-daemon upgrade generates warnings about "rules not enforced"
pitti, did something change with AppArmor in Trusty? Or any other idea? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1267880 Title: cups-daemon upgrade generates warnings about "rules not enforced" Status in “cups” package in Ubuntu: New Bug description: Whenever the trusty cups-daemon package is upgraded, I can see a few warning lines about "rules not enforced". This does not appear to impact the cups operations. Note that this does not occur in saucy where the cups-daemon version currently is 1.7.0~rc1-0ubuntu5.1. For example, I just executed the following re-installation of the cups-daemon: $ sudo apt-get install --reinstall cups-daemon Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 0 B/268 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 220095 files and directories currently installed.) Preparing to replace cups-daemon 1.7.1-1 (using .../cups-daemon_1.7.1-1_amd64.deb) ... cups stop/waiting Unpacking replacement cups-daemon ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... Setting up cups-daemon (1.7.1-1) ... Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/sbin/cupsd dbus rules not enforced Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/lib/cups/backend/cups-pdf network rules not enforced Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 180): profile /usr/sbin/cupsd network rules not enforced cups start/running, process 18890 ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: cups-daemon 1.7.1-1 ProcVersionSignature: Ubuntu 3.13.0-1.16-generic 3.13.0-rc7 Uname: Linux 3.13.0-1-generic x86_64 ApportVersion: 2.12.7-0ubuntu6 Architecture: amd64 CupsErrorLog: CurrentDesktop: XFCE Date: Fri Jan 10 08:34:43 2014 InstallationDate: Installed on 2013-12-13 (27 days ago) InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131213) Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added. Papersize: letter ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-1-generic root=UUID=0c647a78-7280-4913-8705-85f1aa784f42 ro quiet splash vt.handoff=7 SourcePackage: cups UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 03/23/2012 dmi.bios.vendor: Intel Corp. dmi.bios.version: MUCDT10N.86A.0069.2012.0323.1358 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: D2550MUD2 dmi.board.vendor: Intel Corporation dmi.board.version: AAG73892-600 dmi.chassis.type: 3 dmi.modalias: dmi:bvnIntelCorp.:bvrMUCDT10N.86A.0069.2012.0323.1358:bd03/23/2012:svn:pn:pvr:rvnIntelCorporation:rnD2550MUD2:rvrAAG73892-600:cvn:ct3:cvr: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1267880/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp