Public bug reported:

Binary package hint: selinux-policy-refpolicy-cups

With selinux permissive, I print without problem.  When enforced, I
can't print.  I click on the printer icon in the upper bar, a window
opens indicating that the document is in queue but time passes and
nothing happens.  Syslog gives the following:

Oct 29 05:24:58 localhostlouis cupsd: Unable to open log file 
"/var/log/cups/access_log" - Permission denied
Oct 29 05:24:58 localhostlouis kernel: [ 5311.663595] 
audit(1225272298.789:153): avc:  denied  { read append } for  pid=7046 
comm="cupsd" name="access_log" dev=sdb3 ino=979382 
scontext=system_u:system_r:cupsd_t tcontext=system_u:object_r:file_t tclass=file

I checked the owner:group permissions for the file access_log and they
are "root:lp 100640"

I'm not sure it's a bug, I'm relatively new to Linux and I don't know
anything about selinux.  I did a search on Google with the terms "ubuntu
selinux printer problem" and there are very few results.

I use selinux-policy-refpolicy-cups 20071214 on Ubuntu Hardy 32bits on
an Intel Core2 computer with an inkjet printer HP Photosmart C6180 with
HPLIP Toolbox installed.

ProblemType: Bug
Architecture: i386
Date: Wed Oct 29 18:33:46 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/yelp
NonfreeKernelModules: nvidia ath_hal
Package: yelp 2.22.1-0ubuntu2.8.04.3
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fr_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: yelp
Uname: Linux 2.6.24-21-generic i686

** Affects: refpolicy (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
selinux enforced (Ubuntu Hardy) : printer doesn't print : cupsd: Unable to open 
log file "/var/log/cups/access_log" - Permission denied
https://bugs.launchpad.net/bugs/290891
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

Reply via email to