[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2019-09-16 Thread Zenaan Harkness
For reference, just steamrolled through this same saga, and finally
figoured out that Geany and Mousepad each use the same print dialog
(gnome?) which provides a "print to file" option, which provides to
choose both a save location and the output/save format (PDF, PS, SVG).
That might help some who missed the obvious...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/147551

Title:
  cups-pdf fails to generate file when user does not print to default
  ~/PDF (apparmor vs.cups-pdf inconsistency)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/147551/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2014-10-08 Thread Norbert
Found interesting moment:
  my home folder has two partitions (with AuFS), cups-pdf stopped to work after 
such migration with  messages:
  [ERROR] failed to create user output directory (/home/norbert/PDF)

  Oct  8 22:26:52 localhost kernel: [ 1266.664351] type=1400
audit(1412792812.136:170): apparmor=DENIED operation=mknod
profile=/usr/lib/cups/backend/cups-pdf
name=/mnt/UHOME_HDD/norbert/PDF/Untitled_Document_1.pdf pid=7276
comm=gs requested_mask=c denied_mask=c fsuid=1000 ouid=1000

I got it working again after adding /mnt/UHOME_HDD and /mnt/UHOME_SSD as
homes to 'dpkg-reconfigure apparmor'. Hope it help somebody.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/147551

Title:
  cups-pdf fails to generate file when user does not print to default
  ~/PDF (apparmor vs.cups-pdf inconsistency)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/147551/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2014-10-05 Thread Josef Hopfgartner
This is what syslog says:
apparmor=DENIED operation=connect profile=/usr/lib/cups/backend/cups-pdf 
name=/run/samba/winbindd/pipe pid=15076 comm=cups-pdf requested_mask=wr 
denied_mask=wr fsuid=0 ouid=0

So, in /etc/apparmor.d/usr.sbin.cupsd a new entry has to be entered:
/run/samba/winbindd/pipe rw,

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/147551

Title:
  cups-pdf fails to generate file when user does not print to default
  ~/PDF (apparmor vs.cups-pdf inconsistency)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/147551/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2010-10-20 Thread Willy Ted Manga
@christian
Also in Lucid, if home is in NFS mount, is not necessary any more to export it 
no_root_squash 

Are you sure about your statement ?
When I read  cups-pdf README [1] it is said  Make sure if any of CUPS-PDF's 
working directories (e.g. output) are located on an NFS mounted volume they are 
mounted without root_squash! 

1. /usr/share/doc/cups-pdf/README , setting up the PDF queue with CUPS

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2010-08-05 Thread Christian
If user home is not in default linux path (/home/...) you need to
reconfigure apparmor, previous to Lucid you need to edit:

sudo gedit /etc/apparmor.d/tunables/home

an add your home directories path in:

@{HOMEDIRS}=/home/ /my_homes_path/

In Lucid you can do:

sudo dpkg-reconfigure apparmor

Also in Lucid, if home is in NFS mount, is not necessary any more to
export it no_root_squash

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2010-07-04 Thread Tim Golobic
I'd like to output to the desktop instead of the cups-pdf folder.

I changed the cups-pdf output directory in /etc/cups/cups-pdf.conf:
Out ${HOME}/Desktop

But now nothing happens. The PDF does not end up on the Desktop not in
the cups-pdf folder. The log says successfully created.

This is under a new Snow Leopard install. With the AnonDirName and Spool
path settings commented out as the default.

Thanks

Tim

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2010-02-11 Thread pmoreno
Hi all,


We've configurated CUPS which prints correctly both in local (in
/home/pilar/PDF directory) and remote (in /var/spool/cups-
pdf/ANONYMOUS).


In local, we can print the pdf file in any directory we indicate (E.g.:
/home/pilar/PDF). However, in remote we are just able to print in
/var/spool/cups-pdf/ANONYMOUS.


If we change the directory name AnonDirName /var/spool/cups-
pdf/ANONYMOUS to AnonDirName /home/pilar/java, we get the following
error in the cups-pdf-log file:



[ERROR] failed to set file mode for PDF file (non fatal)
(/home/pilar/java/Crear_impresora_virtual_de_PDF___Kript__polis.pdf)


We tried with the command sudo aa-complain cupsd, but the error remains.


Do you know why is this happening? We would really appreciate your help.



Looking forward to hear from you.



Thank's in advance

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2010-02-11 Thread pmoreno
Hi all again,

i solved my problem with:  sudo chmod 777 -R /home/pilar/java

thanks

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2009-08-30 Thread hanasaki
2009-08-30 Juanty with all current updates
- out of the box installation
- apparmor : not changed
 @{HOME}/PDF/ rw,
 @{HOME}/PDF/* rw,
- NFS mounted home dir fails to print PDF
/storage/data-01/dist-export

etab = 
10.1.1.0/255.255.255.0(rw,sync,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)
~home directories are automounted by autofs from /storage/data-01/dist-export
automount file
* -fstype=nfs,lock,rw,intr,hardrsize=8192,wsize=8192,nosuid,minproto=3 
fileserver-01:/storage/data-01/home/export/

ERROR SHOWN IN SYSLOG
==
... operation=inode_create requested_mask=a:: denied_mask=a:: fsuid=1001 
name=/home/export/ ...

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2009-08-13 Thread Jay
Sorry I haven't got the time to read the rest,

What about changing /etc/apparmor.d/usr.sbin.cups like that :

 @{HOME}/PDF/ rw,
 @{HOME}/PDF/* rw,

by that :

 @{HOME}/ rw,
 @{HOME}/** rw,

Anybody can set up his output as he wants in /etc/cups/cups-pdf.conf

And everything's okay.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2009-04-13 Thread blabj
Had this issue on hardy, found this bug - thought I'd share my solution.

In /etc/apparmor.d/usr.sbin/cupsd , here is my /usr/lib/cups/backend
/cups-pdf section:

/usr/lib/cups/backend/cups-pdf {
  #include abstractions/base
  #include abstractions/fonts
  #include abstractions/nameservice
  #include abstractions/user-tmp

  capability chown,
  capability fowner,
  capability fsetid,
  capability setgid,
  capability setuid,

  /bin/dash ixr,
  /bin/bash ixr,
  /etc/papersize r,
  /etc/cups/cups-pdf.conf r,
  @{HOME}/PDF/ rw,
  @{HOME}/PDF/* rw,
  /usr/bin/gs ixr,
  /usr/lib/cups/backend/cups-pdf mr,
#  /usr/lib/ghostscript/** mr,
  /usr/share/** r,
  /var/log/cups/cups-pdf_log w,
  /var/spool/cups-pdf/** rw,
  /var/tmp/ rw,
  /var/tmp/** rw,
  /var/spool/cups/ rw,
  /var/spool/cups/** rw,
}

NOTE:  commented out reference to non-existent /usr/lib/ghostscript, and
added /var/tmp and /var/spool/cups.

ALSO - output directory has to have perms at 700.. ie. chmod 700 ~/PDF

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-08-29 Thread cfrein
Same issue for me using likewise-open to authenticate against Active
Directory. The path to  $HOME seems not to be used by apparmor for
domain-users.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-07-17 Thread drdabbles
My Hardy machine is part of a Windows domain, meaning my home is
/home/DOMAIN/user. This throws off AppArmor, and I have to manually add
the full path to my ~/PDF directory just to print a PDF. Seems AppArmor
is a bit buggy with non-typical paths.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-07-04 Thread mexlinux
http://ubuntuforums.org/showthread.php?t=569873

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-06-14 Thread pt123
confirming this in Hardy, changing the PDF folder in the home dir to a Syslink 
folder, throws the same error.
[ERROR] failed to set file mode for PDF file 

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-05-17 Thread drink
I'm having this problem on Gutsy, too. Soon I guess I will be upgrading to 
Hardy, but it is sad to have to upgrade the OS to fix printing.
My system is saving PDFs to ~/PDF. Or at least it should:

Out ${HOME}/PDF

Haven't messed with the apparmor config at all. In fact AppArmor has
NEVER worked on my system:

$ sudo /etc/init.d/apparmor start
FATAL: Error inserting apparmor 
(/lib/modules/2.6.22-14-generic/ubuntu/security/apparmor/apparmor.ko): Resource 
temporarily unavailable
$Loading AppArmor module: Failed.

The system was upgraded from dapper to edgy to feisty to gutsy. So it
doesn't even register! So, how could it be responsible for this problem?
Maybe it isn't?

Sat May 17 14:41:07 2008  [ERROR] failed to set file mode for PDF file
(non fatal)
(/home/drink/PDF/california_highway_sign_-_Google_Search.pdf)

Of course doing grep audit /var/log/kern.log produces no output -
because AppArmor doesn't even load here.

This worked in Feisty, magically broke itself in Gutsy, AppArmor is not
or at least should not be the problem. What's up?

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-05-08 Thread Martin Pitt
Sean Diggity O'Brien [2008-05-08  5:36 -]:
 There is nothing in /var/log/apparmor.  None of the info above seems
 helpful, so please let me know if I should look elsewhere.

Unfortunately AppArmor kernel errors do not land there, but in
kern.log. Please try

  grep audit /var/log/kern.log

right after you reproduced the problem. Thanks!

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-05-07 Thread Sean Diggity O'Brien
On my updated Hardy machines, I have to edit two files to get this to
work.

I changed the cups-pdf output directory in /etc/cups/cups-pdf.conf:
Out ${HOME}/Desktop

and also in /etc/apparmor.d/usr.sbin.cupsd:
  @{HOME}/Desktop/ w,
  @{HOME}/Desktop/* w,

...I did not need to set cupsd to complain mode as in the past with
Gutsy, however.  Not sure why I had to edit those two files, since
editing only /etc/cups-pdf.conf worked when I posted last month.  I'm
running the same package versions I did then:

ii  apparmor   2.1+1075-0ubuntu9
  User-space parser utility for AppArmor
ii  apparmor-utils 2.1+1075-0ubuntu9
  Utilities for controlling AppArmor

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-05-07 Thread John Johansen
Sean,

would it be possible to attach your log files or a section of them so that I 
can analyze why it is requiring
  @{HOME}/Desktop/ w,
  @{HOME}/Desktop/* w,

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-05-07 Thread Sean Diggity O'Brien
From /var/log/cups/cups-pdf_log:

Wed May  7 14:03:43 2008  [ERROR] failed to set file mode for PDF file (non 
fatal) (/home/diggity/Desktop/aaa_card.pdf)
Wed May  7 16:27:15 2008  [ERROR] failed to set file mode for PDF file (non 
fatal) (/home/diggity/Desktop/Microsoft_Word_-_unencumber_ws_08-09.pdf)

I was not able to generate /home/diggity/Desktop/aaa_card.pdf.  After
editing /etc/apparmor.d/usr.sbin.cupsd, I could generate
/home/diggity/Desktop/Microsoft_Word_-_unencumber_ws_08-09.pdf.

For the corresponding jobs, /var/log/cups/access_log reads:

localhost - - [07/May/2008:14:03:43 -0400] POST / HTTP/1.1 200 181 Get-Jobs 
successful-ok
localhost - - [07/May/2008:16:27:15 -0400] POST / HTTP/1.1 200 181 Get-Jobs 
successful-ok

For the corresponding jobs, /var/log/cups/error_log mentions nothing.

For the corresponding jobs, /var/log/cups/page_log reads:

PDF diggity 13 [07/May/2008:14:03:43 -0400] 1 1 - localhost
PDF diggity 14 [07/May/2008:16:27:15 -0400] 1 1 - localhost

There is nothing in /var/log/apparmor.  None of the info above seems
helpful, so please let me know if I should look elsewhere.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-04-23 Thread Mark Kohler
In case someone else is having these symptoms independently of apparmor,
the problem on my gutsy system was that there was no /var/tmp, and
without that, ghostscript refused to create the PDF file. I have no idea
what happened to my /var/tmp, but once I re-created it, cups-pdf worked
fine.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-04-23 Thread Martin Pitt
LeoRochael [2008-04-22 23:20 -]:
 /var/lib/cups/backend/cups-pdf {
 
 Since that was the path to the executable which apparmor complained
 about violations in /var/log/kern.log

What??? The Debian/Ubuntu package does no such thing. The binaries are
shipped and installed into /usr/lib/cups/backend/, where they belong.
Do you use some third-party packages or other customizations?

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-04-22 Thread LeoRochael
In my system, a Gutsy, the problem was solved by editing

  /etc/apparmor.d/usr.sbin.cupsd

and changing the entry that read:

/usr/lib/cups/backend/cups-pdf {

to:

/var/lib/cups/backend/cups-pdf {

Since that was the path to the executable which apparmor complained
about violations in /var/log/kern.log

Reading /var/log/kern.log is the ticket out of this issue.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-04-11 Thread Rüdiger Blach
My problem was a non-standard home directory:

Fri Apr 11 17:27:37 2008  [ERROR]  failed to set file mode for PDF file
(non fatal) (/wihome/wi/blach/PDF/Get_Organized_with_Emacs_Org-mode.pdf)

Chris Conroy's  (2008-01-19) solution works for me. Thank you Chris!

I changed in `/etc/apparmor.d/tunables/home' 
the line @{HOMEDIRS}=/home/ 
into @{HOMEDIRS}=/home/ /wihome/*/
and reloaded it with `/etc/init.d/apparmor reload'.

So I think it is not really a bug,
but an apparmor related configuration task for an administrator.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-04-09 Thread Sean Diggity O'Brien
ii  apparmor   2.1+1075-0ubuntu9
  User-space parser utility for AppArmor
ii  apparmor-utils 2.1+1075-0ubuntu9
  Utilities for controlling AppArmor


I just did a fresh install of Hardy on a Thinkpad T30, and it worked.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-04-06 Thread Martin-Éric Racine
Sean, can you please paste us the result of the following command?

dpkg -l | grep armor

Thanks!

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-04-05 Thread Sean Diggity O'Brien
This appears to be fixed in the Hardy beta. I changed the cups-pdf output 
directory in /etc/cups/cups-pdf.conf:
Out ${HOME}/Desktop

...and it worked with no need to do anything else :)

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-03-22 Thread Pascal De Vuyst
** Tags added: metabug

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-03-19 Thread Martin Pitt
If you change configuration files in cups-pdf, then you need to do the
corresponding change in cupsys' apparmor profile. While this is slightly
inconvenient, we won't change this. cups-pdf is scary enough as it is,
so we won't relax the AppArmor proptection further.

Thank you! Martin

** Changed in: cupsys (Ubuntu)
   Status: Confirmed = Won't Fix

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-03-19 Thread Martin Pitt
cups-pdf itself works as designed, not a bug there either.

** Changed in: cups-pdf (Ubuntu)
   Status: Confirmed = Invalid

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-03-19 Thread Martin Pitt
Not an AppArmor bug.

** Changed in: apparmor (Ubuntu)
   Status: Confirmed = Invalid

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-03-10 Thread Onno Benschop
Helge, in /etc/cups/cups-pdf.conf look for LogType, the instructions are
above it.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-03-07 Thread Helge Stenström
How do you bump the log level of /etc/cups/cups-pdf.conf?

I have a similar problem. When I'm logged in as my regular user,
printing to ~/PDF doesn't work. But as another user it works.

An perhaps important difference is that the first user is at
/localhome/username, whereas the other is at /home/username, where /home
is mounted using NFS and NIS. The first user comes from /etc/passwd and
the second comes from NIS.

Or perhaps not. I just saw in /var/log/cups/cups-pdf_log:
Fri Mar  7 16:45:12 2008  [ERROR] failed to set file mode for PDF file (non 
fatal) (/localhome/helge/PDF/nios_print_and_fax_curr_SEK_loc_en-SE.pdf)
a number of times.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-03-03 Thread Brian Murray
** Tags added: qa-hardy-server

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-01-23 Thread Mark Kohler
I'm seeing the same error everyone else is talking about (failure to
set file mode), except that setting aa-complain, or even removing
apparmor entirely doesn't fix the problem for me. Plus, my home
directory isn't in a non-standard place.

I had this working on edgy, but I seem to remember I had to do a bunch
of configuration hacking to make it work. I'm wondering if something I
did then is causing a problem now. (I'm using an up-to-date gutsy.)

I've bumped up the log level of /etc/cups/cups-pdf.conf, and attached
the log file. Can anyone suggest where to look next?

** Attachment added: cups-pdf_log
   http://launchpadlibrarian.net/11512661/cups-pdf_log

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-01-19 Thread Chris Conroy
i have my /home directory symlinked to another location due to my
partitioning setup. as a result, I had to add another entry into
$HOMEDIRS in /etc/apparmor.d/tunables/home in order to let apparmor
recognize my symlinked home directory

I imagine users experienced with apparmor already know to do this, but
I'm new to Ubuntu and it took me a little while to troubleshoot this
bug. perhaps it will be a useful hint to others who google the error and
come here.

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

2008-01-17 Thread Rolf Leggewie
** Also affects: cups-pdf (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: cups-pdf (Ubuntu)
   Status: New = Confirmed

-- 
cups-pdf fails to generate file when user does not print to default ~/PDF 
(apparmor vs.cups-pdf inconsistency)
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs