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
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
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
@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
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
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
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
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
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
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
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
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/
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
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
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.
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
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
>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
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
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
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
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
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
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
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
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
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
** 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
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
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
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
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
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/
** 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.
--
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
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
** 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
** 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
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.
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
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
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
** 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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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
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
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
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:/
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-
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
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
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
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
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
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
73 matches
Mail list logo