[Desktop-packages] [Bug 1052098] Re: AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

2012-10-20 Thread tlu
Jamie, I'm sorry but I've just done a release upgrade to Quantal. I
guess your suggestion won't give us new insights now, will it?

-- 
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/1052098

Title:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

Status in “cups” package in Ubuntu:
  Invalid

Bug description:
  My HP printer suddenly didn't work anymore, and /var/log/syslog
  reported for udev-configure-printer:

  failed to connect to CUPS server; giving up

  I decided to reinstall cups and hplip and got the following error
  messages:

  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
  /etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
  block_suspend.

  ... and:

  start: Job failed to start
  invoke-rc.d: initscript cups, action start failed.

  ... resulting in errors related to dpkg (dependencies problems).

  After commenting out the line

  capability block_suspend,

  in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
  hplip was successful and my printer works again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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 1052098] Re: AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

2012-09-27 Thread tlu
Sure - see the attachment.


** Attachment added: cups.txt
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+attachment/3347820/+files/cups.txt

-- 
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/1052098

Title:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

Status in “cups” package in Ubuntu:
  Incomplete

Bug description:
  My HP printer suddenly didn't work anymore, and /var/log/syslog
  reported for udev-configure-printer:

  failed to connect to CUPS server; giving up

  I decided to reinstall cups and hplip and got the following error
  messages:

  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
  /etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
  block_suspend.

  ... and:

  start: Job failed to start
  invoke-rc.d: initscript cups, action start failed.

  ... resulting in errors related to dpkg (dependencies problems).

  After commenting out the line

  capability block_suspend,

  in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
  hplip was successful and my printer works again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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 1052098] Re: AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

2012-09-27 Thread tlu
Jamie, now I'm confused. As a matter of fact,
/etc/apparmor.d/local/usr.sbin.cupsd here is completely empty.

And, yes, I commented out

# capability block_suspend,

in /etc/apparmor.d/usr.sbin.cupsd in order to avoid this bug. I noticed
that it was shown in the attachment under ##included
local/usr.sbin.cupsd - but again, /etc/apparmor.d/local/usr.sbin.cupsd
is empty on my system.

-- 
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/1052098

Title:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

Status in “cups” package in Ubuntu:
  Invalid

Bug description:
  My HP printer suddenly didn't work anymore, and /var/log/syslog
  reported for udev-configure-printer:

  failed to connect to CUPS server; giving up

  I decided to reinstall cups and hplip and got the following error
  messages:

  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
  /etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
  block_suspend.

  ... and:

  start: Job failed to start
  invoke-rc.d: initscript cups, action start failed.

  ... resulting in errors related to dpkg (dependencies problems).

  After commenting out the line

  capability block_suspend,

  in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
  hplip was successful and my printer works again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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 1052098] Re: AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

2012-09-27 Thread tlu
** Attachment added: apparmor_1.d.tar.gz
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+attachment/3348830/+files/apparmor_1.d.tar.gz

-- 
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/1052098

Title:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

Status in “cups” package in Ubuntu:
  Invalid

Bug description:
  My HP printer suddenly didn't work anymore, and /var/log/syslog
  reported for udev-configure-printer:

  failed to connect to CUPS server; giving up

  I decided to reinstall cups and hplip and got the following error
  messages:

  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
  /etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
  block_suspend.

  ... and:

  start: Job failed to start
  invoke-rc.d: initscript cups, action start failed.

  ... resulting in errors related to dpkg (dependencies problems).

  After commenting out the line

  capability block_suspend,

  in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
  hplip was successful and my printer works again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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 1052098] Re: AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

2012-09-26 Thread tlu
@Jamie: I understand, that explains it. Thanks a lot!

I'm using cips 1.5.3-0ubuntu4

-- 
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/1052098

Title:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

Status in “cups” package in Ubuntu:
  Incomplete

Bug description:
  My HP printer suddenly didn't work anymore, and /var/log/syslog
  reported for udev-configure-printer:

  failed to connect to CUPS server; giving up

  I decided to reinstall cups and hplip and got the following error
  messages:

  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
  /etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
  block_suspend.

  ... and:

  start: Job failed to start
  invoke-rc.d: initscript cups, action start failed.

  ... resulting in errors related to dpkg (dependencies problems).

  After commenting out the line

  capability block_suspend,

  in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
  hplip was successful and my printer works again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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 1052098] Re: AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

2012-09-19 Thread tlu
It happened again. I finetuned the Thunderbird profile with aa-logprof,
and again it wanted to modify the cupsd profile by adding that
capability.

-- 
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/1052098

Title:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

Status in “cups” package in Ubuntu:
  New

Bug description:
  My HP printer suddenly didn't work anymore, and /var/log/syslog
  reported for udev-configure-printer:

  failed to connect to CUPS server; giving up

  I decided to reinstall cups and hplip and got the following error
  messages:

  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
  /etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
  block_suspend.

  ... and:

  start: Job failed to start
  invoke-rc.d: initscript cups, action start failed.

  ... resulting in errors related to dpkg (dependencies problems).

  After commenting out the line

  capability block_suspend,

  in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
  hplip was successful and my printer works again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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 1052098] Re: AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

2012-09-19 Thread tlu
It also happened when I tweaked my Google Chrome profile with aa-
logprof. I chose Finish.

Anyway, /var/log/syslog says:

[ 5303.439870] type=1400 audit(1348065251.369:4090): apparmor=DENIED
operation=capable parent=1 profile=/usr/sbin/cupsd pid=1235
comm=cupsd pid=1235 comm=cupsd capability=36
capname=block_suspend

-- 
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/1052098

Title:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

Status in “cups” package in Ubuntu:
  New

Bug description:
  My HP printer suddenly didn't work anymore, and /var/log/syslog
  reported for udev-configure-printer:

  failed to connect to CUPS server; giving up

  I decided to reinstall cups and hplip and got the following error
  messages:

  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
  /etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
  block_suspend.

  ... and:

  start: Job failed to start
  invoke-rc.d: initscript cups, action start failed.

  ... resulting in errors related to dpkg (dependencies problems).

  After commenting out the line

  capability block_suspend,

  in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
  hplip was successful and my printer works again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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 1052098] Re: AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

2012-09-18 Thread tlu
I think I found the culprit: I was modifying an AppArmor profile for
Thunderbird.  When I executed aa-logprof, I got the following message:

Enforce-mode changes:   

 


 
Profile:/usr/sbin/cupsd 

 
Capability: block_suspend   

 
Severity:   unexpected capability rank input: CAP_BLOCK_SUSPEND

If you select Allow, you will run into the problem mentioned above.

I've no idea why creating/modifying a Thunderbird profile affects the
cupsd profile and why that capability is added.

-- 
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/1052098

Title:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

Status in “cups” package in Ubuntu:
  New

Bug description:
  My HP printer suddenly didn't work anymore, and /var/log/syslog
  reported for udev-configure-printer:

  failed to connect to CUPS server; giving up

  I decided to reinstall cups and hplip and got the following error
  messages:

  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
  /etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
  block_suspend.

  ... and:

  start: Job failed to start
  invoke-rc.d: initscript cups, action start failed.

  ... resulting in errors related to dpkg (dependencies problems).

  After commenting out the line

  capability block_suspend,

  in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
  hplip was successful and my printer works again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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 1052098] Re: AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

2012-09-18 Thread tlu
@jdstrand:
Ubuntu 3.5.0-14.18~precise1-generic 3.5.3

I've added https://launchpad.net/~ubuntu-x-swat/+archive/q-lts-backport
to my repositories. Perhaps related to that one?

-- 
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/1052098

Title:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd

Status in “cups” package in Ubuntu:
  New

Bug description:
  My HP printer suddenly didn't work anymore, and /var/log/syslog
  reported for udev-configure-printer:

  failed to connect to CUPS server; giving up

  I decided to reinstall cups and hplip and got the following error
  messages:

  AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
  /etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
  block_suspend.

  ... and:

  start: Job failed to start
  invoke-rc.d: initscript cups, action start failed.

  ... resulting in errors related to dpkg (dependencies problems).

  After commenting out the line

  capability block_suspend,

  in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
  hplip was successful and my printer works again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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