[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2011-02-12 Thread Mauricio Lorca
*** This bug is a duplicate of bug 295318 *** https://bugs.launchpad.net/bugs/295318 I did as John Stiles instructs in post #18 and worked ok at the first attempt in my Linux Mint Julia edition (based on Ubuntu Maverick Meerkat). Thanks a lot to John for this clear and simple workaround. --

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2010-06-28 Thread saisyukusanagi
*** This bug is a duplicate of bug 295318 *** https://bugs.launchpad.net/bugs/295318 SOLVED by the easiest way (Disabling cups apparmor profile) Run these commands ... mkdir $HOME/PDF mkdir $HOME/PDF sudo mv /etc/apparmor.d/usr.sbin.cupsd /etc/apparmor.d/disable/. sudo /etc/init.d/apparmor

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2010-03-07 Thread pasche
*** This bug is a duplicate of bug 295318 *** https://bugs.launchpad.net/bugs/295318 I had nearly same problem in karmic. I already had the PDF directory in my $HOME. Before updating to karmic, this worked normal. Since karmic, I couldn't create PDF, too. I got logs like this.

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2010-02-04 Thread dcam
*** This bug is a duplicate of bug 295318 *** https://bugs.launchpad.net/bugs/295318 I'm having the same problem in karmic Happens even when I have already created ~/PDF and tried it with a number of permissions without success. Adding capability dac_read_search, to the cups-pdf section of

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-06-22 Thread papukaija
*** This bug is a duplicate of bug 295318 *** https://bugs.launchpad.net/bugs/295318 ** This bug has been marked a duplicate of bug 295318 cups-pdf requires user to create output folder before working correctly. -- apparmor prevent cups-pdf to create ~/PDF folder

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-05-23 Thread Mark Alan
In Ubuntu 9.04 Jaunty this works: mkdir ~/PDF ; chmod 701 $HOME ~/PDF -- apparmor prevent cups-pdf to create ~/PDF folder https://bugs.launchpad.net/bugs/270046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-04-27 Thread ward
Confirmed. This is an old bug from at least Intrepid, possibly Hardy. It's still present on Jaunty: Mon Apr 27 21:07:41 2009 [DEBUG] switching to new gid (lpadmin) Mon Apr 27 21:07:41 2009 [DEBUG] initialization finished (v2.5.0) Mon Apr 27 21:07:41 2009 [DEBUG] user identified (ward) Mon Apr

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-04-26 Thread BrowneR
Bug still present in 9.04 Jaunty even if i manually create the ~/PDF directory. Works fine with apparmor disabled. -- apparmor prevent cups-pdf to create ~/PDF folder https://bugs.launchpad.net/bugs/270046 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-04-26 Thread BrowneR
I have added capability dac_read_search, to the cups-pdf section of /etc/apparmor.d/usr.sbin.cupsd and also chmod 700 ~/PDF and $HOME. capability dac_override, is already present in the general cupsd section. Made no difference. cups-pdf remains unusable. -- apparmor prevent cups-pdf

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-03-12 Thread Mathew Cairns
The problem seems to be occurring in the prepareuser function of /usr/lib/cups/backend/cups-pdf. Specifically, the following check fails to correctly identify the presence of the user output directory (line 338 of cups-pdf.c): if (stat(dirname, fstatus) || !S_ISDIR(fstatus.ts_mode)) Using

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-03-12 Thread Mathew Cairns
Adding the line: capability dac_read_search, to the cups-pdf section of /etc/apparmor.d/usr.sbin.cupsd allows cups-pdf to function as expected in cases where ~/PDF/ exists with permissions 700, and $HOME also has 700 permissions. This is unusual, as AppArmor should not be interfering with the

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-02-27 Thread syldeb35
Not working here in Jaunty up-to-date. Same messages: from /var/log/syslog: Feb 27 09:34:07 malouce kernel: [ 2911.778762] type=1503 audit(1235723647.524:177): operation=capable name=dac_override pid=9049 profile=/usr/lib/cups/backend/cups-pdf Feb 27 09:34:07 malouce kernel: [ 2911.778776]

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-01-30 Thread John Stiles
Thanks for all the info and suggestions above, but still not working cups-pdf printer state Stopped - Backend /usr/lib/cups/backend/cups-pdf does not exist I confirm ~/PDF added by me I also chmod +rwx /usr/lib/cups/backend/cups-pdf to match other backends, so should exist and now be seen. AA

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-01-30 Thread John Stiles
Okay now working. So after upgrade to Ibex: Delete printer in System, Administration, Printer Configuration Make directory ~/PDF Reinstall Cups-pdf Printer added back automatically in System Printer Configuration, now printing to ~/PDF note: capability dac_override now added in aa repository,

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-01-25 Thread Lutfi
My Ibex got this problem also. So anyone??? Any update package for this? Or i have to do manually? This bug already 4 moth !!! I cannot imagine if some company using a lot off ubuntu client -- apparmor prevent cups-pdf to create ~/PDF folder https://bugs.launchpad.net/bugs/270046 You received

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-01-17 Thread pt123
Running sudo aa-logprof prompts the user with a so many questions which not many would know what is being requested. like listed in here http://beginlinux.com/desktop_training/ubuntu/1108-create-a-profile-in-apparmor Would you like to enable access to the profile repository? (E)nable

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-12-20 Thread Mark Alan
Running: sudo aa-logprof solves the problem, as expected. Without any further need to disable (or fiddle with) AppArmor. Also the /var/log/cups/cups-pdf_log log file will be clean again. -- apparmor prevent cups-pdf to create ~/PDF folder https://bugs.launchpad.net/bugs/270046 You received

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-11-28 Thread Gurinder Chhabra
Works for me after creating the PDF directory manually. -- apparmor prevent cups-pdf to create ~/PDF folder https://bugs.launchpad.net/bugs/270046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-11-19 Thread Felipe Alfaro Solana
Any update on this? This is a very annoying bug which, for a typical Linux user, will require to disable or remove AppArmor. -- apparmor prevent cups-pdf to create ~/PDF folder https://bugs.launchpad.net/bugs/270046 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-11-08 Thread Guglielmo Cola
Unable to use PDF printer.. even if PDF directory exists. :( -- apparmor prevent cups-pdf to create ~/PDF folder https://bugs.launchpad.net/bugs/270046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-11-03 Thread David
Using dac_override works although it keeps on failing in /var/log/cups /cups-pdf_log with: Mon Nov 3 18:48:50 2008 [ERROR] failed to create directory (/home/user/PDF) Mon Nov 3 18:48:50 2008 [ERROR] failed to create user output directory (/home/user/PDF) Besides, I've also added the

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-28 Thread Adolfo González Blázquez
cups-pdf doesn't work out of the box, but as pointed here, using dac_override make it work again. -- apparmor prevent cups-pdf to create ~/PDF folder https://bugs.launchpad.net/bugs/270046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-22 Thread Timo Aaltonen
I can't get it to work even if I create the PDF directory first. cups- pdf still complains about not being able to create it. I need to print PDF's from a windows app with wine, and can't think of another way to do it.. -- apparmor prevent cups-pdf to create ~/PDF folder

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-07 Thread Martin Pitt
Oh, I see. But I don't really want to give DAC_OVERRIDE to cups-pdf, it's crackful enough as it is, and DAC_OVERRIDE is very powerful. The actual creation of ~/PDF works just fine for me (/home/martin/PDF), at least it did in Hardy (we don't install cups-pdf by default any more). Does it actually

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-07 Thread Saïvann Carignan
Martin Pitt : This bug does not exist in Hardy, you're right. However, this bug is always reproducible in intrepid with standard home folders. ~/PDF folder is not automatically created in intrepid, making cups-pdf unusable for users that won't think to manually create the folder. -- apparmor

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-06 Thread Martin Pitt
*** This bug is a duplicate of bug 151190 *** https://bugs.launchpad.net/bugs/151190 Saivann, right, but the apparmor profile lives in the cups package itself. Steve, I fixed your cache/cups/help.index thing in bzr trunk. The main part of this bug report is a dupe of bug 151190. ** Changed

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-06 Thread Steve Beattie
Martin, sorry, but this is different from bug 151190; my home directories are in the default location. I'm seeing this despite: [denisovich ~]$ grep HOME /etc/apparmor.d/tunables/home # @{HOME} is a space-separated list of all user home directories. While @[EMAIL PROTECTED]/*/ /root/ #

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-03 Thread kgoeser
Same here, one needs to create the directory by hand. Error message in /var/log/cups/cups-pdf_log: Fri Oct 3 14:44:32 2008 [ERROR] failed to create directory (/home/myuser/PDF) Fri Oct 3 14:44:32 2008 [ERROR] failed to create user output directory (/home/myuser/PDF) Corresponding entry in

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-03 Thread Saïvann Carignan
** Changed in: cupsys (Ubuntu) Importance: Undecided = Medium Status: New = Confirmed -- apparmor prevent cups-pdf to create ~/PDF folder https://bugs.launchpad.net/bugs/270046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-03 Thread Steve Beattie
The cupsys package got renamed in the Intrepid cycle to cups; editing the package information on this bug. Yes, bug 276502 is the same as this; the cups-pdf apparmor profile needs capability dac_override, added to it. I had another apparmor rejection on the main cupsd profile I mentioned in

[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-10-03 Thread Saïvann Carignan
Steve Beattie : Thanks for your terminal outputs. Are these outputs related to the document that you tried to print with your PDF printer? If not, these outputs would get a more appropriate attention if you are able to reproduce the bug that caused this apparmor profile to refuse the operation and