[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

[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): app

[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/sam

[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

[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 A

[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

[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 membe

[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/spoo

[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_a

[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 f

[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 #include #include #include capability chown, capability fowner, capability

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

[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 do

[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

[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.

[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 o

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 ri

[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

[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.launchp

[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

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

[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 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. -- cup

[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/ke

[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/tunabl

[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 instal

[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 yo

[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 inconsiste

[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-b

[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

[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 t

[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 i

[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

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

[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. --

[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

[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

[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/14755

[Bug 147551] Re: cups-pdf fails to generate file

2008-01-17 Thread Rolf Leggewie
** Also affects: apparmor (Ubuntu) Importance: Undecided Status: New ** Changed in: apparmor (Ubuntu) Status: New => Confirmed ** Summary changed: - cups-pdf fails to generate file + cups-pdf fails to generate file when does not print default ~/PDF (apparmor vs.cups-pdf inconsi

Re: [Bug 147551] Re: cups-pdf fails to generate file

2008-01-10 Thread Martin Pitt
Hi, Sean Diggity O'Brien [2008-01-01 19:57 -]: > ...and now the cups-pdf printer saves PDFs to the ~/Desktop folder. > Thanks labinnsw for the (temporary?) solution. Does anyone know if > setting cupsd to "complain mode" is unwise for any reason? I don't have > any expertise on this issue.

[Bug 147551] Re: cups-pdf fails to generate file

2008-01-01 Thread Sean "Diggity" O'Brien
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, It didn't work, so I ran: sudo aa-complain cupsd ...and now the cups-pdf printer saves PDFs to the ~/Desktop folder. Th

[Bug 147551] Re: cups-pdf fails to generate file

2007-12-12 Thread Paolo
the solution proposed by labinnsw didn't work for me $ sudo apt-get remove --purge apparmor apparmor-utils worked properly in order to reetabilish pdf printing with desired output. it would be interesting to know when apparmor will have a fix, in order to reinstall it. -- cups-pdf fails to gene

[Bug 147551] Re: cups-pdf fails to generate file

2007-12-06 Thread ericbe
The solution proposed by labinnsw works for me too. ericbe -- cups-pdf fails to generate file 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.ubu

[Bug 147551] Re: cups-pdf fails to generate file

2007-12-06 Thread Till Kamppeter
** Changed in: cupsys (Ubuntu) Sourcepackagename: cups-pdf => cupsys Assignee: (unassigned) => Martin Pitt (pitti) -- cups-pdf fails to generate file https://bugs.launchpad.net/bugs/147551 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact fo

[Bug 147551] Re: cups-pdf fails to generate file

2007-12-06 Thread Till Kamppeter
AppArmor issue, moving to CUPS ... -- cups-pdf fails to generate file 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.ub

[Bug 147551] Re: cups-pdf fails to generate file

2007-12-06 Thread labinnsw
I have found a solution to my problem. Before I give the solution, I would like to briefly describe what my problem was and how it started. I had a working Feisty and upgraded to Gutsy. After that I could no longer print to PDF. I read and followed the instructions from various posts and nothing c

[Bug 147551] Re: cups-pdf fails to generate file

2007-12-03 Thread ericbe
I have the same with a cups-pdf fails to generate any file, on an updated Gutsy system (everything was perfect with Feisty). In /var/log/cups/cups-pdf_log: Mon Dec 3 07:11:26 2007 [ERROR] failed to set file mode for PDF file (non fatal) (/home/eric/ubuntu/PDF/foo_bs3_bulpaie.pdf) In /var/log/

[Bug 147551] Re: cups-pdf fails to generate file

2007-11-28 Thread labinnsw
I am trying to find the solution to the original problem in here, but I cannot seem to understand it. Could someone please do a step by step summation of the steps that need to be taken to solve the problem. -- cups-pdf fails to generate file https://bugs.launchpad.net/bugs/147551 You received th

[Bug 147551] Re: cups-pdf fails to generate file

2007-11-09 Thread atom
I was having this same problem with a non-standard HOME location. For example, my home is /adam . To me, @{HOME} should work for any home location, but clearly it does not. -- cups-pdf fails to generate file https://bugs.launchpad.net/bugs/147551 You received this bug notification because you ar

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-30 Thread Martin-Éric Racine
Till, I never said anything about scripts; I spoke about uses beyond the desktop. CUPS-PDF is meant as a printer. As with any other printer, the point is to make it accessible via CUPS. It is not meant to replace an application's ability to generate a PDF via the Desktop Environment's own services

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-30 Thread modred
I tried to change the output directory to 'autosave' from 'PDF' by changing the /etc/apparmor.d/usr.sbin.cupsd and /etc/cups/cups-pdf.conf files and rebooting. A PDF file is not created and the kernel log shows the following: Oct 30 11:53:47 dell kernel: [ 341.940275] audit(1193770427.334:10): ty

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-24 Thread JSladek
I concur 100% with stefangachter. As far as I can see, the only item showing up in anonymous is the Test Page from the printer setup tool - which inconsistent with the Kamppeter discussion. -- cups-pdf fails to generate file https://bugs.launchpad.net/bugs/147551 You received this bug notificat

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-24 Thread stefangachter
I understand, however, in my case, I sent the test pages from system- config-printer (System -> Administration -> Printing) and they ended up in anonymous. So, there is something "wrong". What you described above makes sense from a sys admin point of view, however, from user point of view, it can

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-24 Thread Till Kamppeter
How did you send the test page to the PDF printer? If you send it from system-config-printer (the standard printer setup tool in Ubuntu Gutsy) from hp-toolbox (HP printers only) or by simply printing the file /usr/share/cups/data/testprint.ps the PDF should arrive in the ~/PDF directory, as the jo

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-24 Thread stefangachter
Yes, indeed, all the test-page-files ended up in /var/spool/cups- pdf/ANONYMOUS instead of the specified directory... -- cups-pdf fails to generate file 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

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-24 Thread JSladek
The same thing happened to me, however, I found the "PrintTest Page" file in /var/spool/cups-pdf/ANONYMOUS.I have no idea how this happens and how to work around it. -- cups-pdf fails to generate file https://bugs.launchpad.net/bugs/147551 You received this bug notification because you are a

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-24 Thread stefangachter
Sorry for my pleading... in a final attempt, I restarted my system again. Restarting the services seems not to be enough. And now it works. BUT, only if I do a printout from an application. If I use the "Print Test Page" button, in the printer configuration, nothing happens. I had this problem in 7

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-24 Thread stefangachter
Please, can anybody help. I delete Ubuntu 7.04 and installed 7.10 and now I have exactly this problem. So, I followed the steps above. My /etc/cups/cups-pdf.conf entry: Out ${HOME}/Download My /etc/apparmor.d/usr.sbin.cupsd entries: @{HOME}/Download/ w, @{HOME}/Download/* w, I restarted t

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-05 Thread Till Kamppeter
The printer icon is another implementation now. It is provided by system-config-printer and not by gnome-cups-manager any more. system- config-printer replaces gnome-cups-manager because gnome-cups-manager is not maintained any more upstream. system-config-printer is developed very actively. In sys

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-05 Thread NoOp
Added apparmor back in, installed all of todays Gutsy updates (Accepted cups-pdf 2.4.6-3ubuntu9 (source)) etc., and print to cups-pdf to /PDF worked. I then changed /etc/cups/cups-pdf.conf to print to an alternate directory /PDFPrinter (Out ${HOME}/PDFPrinter), and printing failed. Var log for cups

Re: [Bug 147551] Re: cups-pdf fails to generate file

2007-10-05 Thread NoOp
> NoOp, AppArmor is installed by default as a new security concept for > CUPS, replacing the old, ugly patches making CUPS running as a non-root > user (which are not supported upstream). As cups-pdf is called by CUPS, > the AppArmor profile of CUPS also applies to cups-pdf. > Thanks for the inf

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-05 Thread Till Kamppeter
NoOp, AppArmor is installed by default as a new security concept for CUPS, replacing the old, ugly patches making CUPS running as a non-root user (which are not supported upstream). As cups-pdf is called by CUPS, the AppArmor profile of CUPS also applies to cups-pdf. Martin-Éric Racine, cups-pdf i

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-04 Thread NoOp
After today's updates, I found that none of my cups-pdf printers work on any of my Gutsy systems. I resolved the problem by: $ sudo apt-get remove --purge apparmor apparmor-utils IMHO apparmor should not be installed by default (it was optional in Feisty). Added apparmor info: https://launchpad

Re: [Bug 147551] Re: cups-pdf fails to generate file

2007-10-04 Thread Martin-Éric Racine
On 10/4/07, Till Kamppeter <[EMAIL PROTECTED]> wrote: > I have withdrawn the proposed fix of moving the output to the ~/Desktop > directory (and allowing cups-pdf to write to there) as this will have > several problem. Agreed. > cups-pdf is an interim solution for all the apps which did not yet a

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-04 Thread Till Kamppeter
I have withdrawn the proposed fix of moving the output to the ~/Desktop directory (and allowing cups-pdf to write to there) as this will have several problem. Users can configure another directory to be displayed on the desktop and also they could not like the desktop being cluttered by the generat

Re: [Bug 147551] Re: cups-pdf fails to generate file

2007-10-03 Thread Martin-Éric Racine
On 10/3/07, Till Kamppeter <[EMAIL PROTECTED]> wrote: > Martin, Gert, sorry, cut-and-paste mistake. No problemo. :) -- cups-pdf fails to generate file 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 U

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-03 Thread Till Kamppeter
Martin, Gert, sorry, cut-and-paste mistake. -- cups-pdf fails to generate file 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:/

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-03 Thread Gert Kulyk
I've posted a possible cause for the mentioned behavior, the idea is from Martin-Éric Racine :-). -- cups-pdf fails to generate file 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-

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-03 Thread Till Kamppeter
The next release of the cups-pdf and cupsys packages will allow ~/Desktop as PDF destination directory and use it as the default. -- cups-pdf fails to generate file https://bugs.launchpad.net/bugs/147551 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-03 Thread Till Kamppeter
Gert Kulyk, good idea with moving the AppArmor config to cups-pdf. This improves the maintainability a lot. Pitti, is this possible without any problems? ** Changed in: cups-pdf (Ubuntu) Status: Incomplete => Fix Committed -- cups-pdf fails to generate file https://bugs.launchpad.net/bu

Re: [Bug 147551] Re: cups-pdf fails to generate file

2007-10-03 Thread Martin-Éric Racine
On 10/3/07, Gert Kulyk <[EMAIL PROTECTED]> wrote: > One line in your post may explain why it fails: The default (and therefore > allowed by apparmor) place for created pdf's is $(HOME)/PDF. If this > directory is not used (or is a symlink, just to add this), that means you've > changed the defau

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-03 Thread Gert Kulyk
One line in your post may explain why it fails: The default (and therefore allowed by apparmor) place for created pdf's is $(HOME)/PDF. If this directory is not used (or is a symlink, just to add this), that means you've changed the default path in cups-pdf.conf, you'll need to apply this change

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-03 Thread Alexander Hunziker
I already do have the latest version of CUPS. -- cups-pdf fails to generate file 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

[Bug 147551] Re: cups-pdf fails to generate file

2007-10-03 Thread Till Kamppeter
Probably the AppArmor protection of CUPS prevents the generation of the PDF. Please update your system to have the newest CUPS (at least 1.3.2-1ubuntu1). ** Changed in: cups-pdf (Ubuntu) Importance: Undecided => Medium Status: New => Incomplete -- cups-pdf fails to generate file https