LSPP: only warn when unable to get printer context.
This commit is contained in:
parent
97ac79159a
commit
39e46cce3e
@ -2802,7 +2802,7 @@ diff -up cups-1.4.5/scheduler/printers.c.lspp cups-1.4.5/scheduler/printers.c
|
||||
+ if (getfilecon(printerfile, &devcon) == -1)
|
||||
+ {
|
||||
+ if(is_selinux_enabled())
|
||||
+ cupsdLogMessage(CUPSD_LOG_ERROR, "cupsdSetPrinterAttrs: Unable to get printer context");
|
||||
+ cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdSetPrinterAttrs: Unable to get printer context");
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
|
@ -8,7 +8,7 @@
|
||||
Summary: Common Unix Printing System
|
||||
Name: cups
|
||||
Version: 1.4.6
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
|
||||
@ -572,6 +572,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{php_extdir}/phpcups.so
|
||||
|
||||
%changelog
|
||||
* Thu Mar 10 2011 Tim Waugh <twaugh@redhat.com> 1:1.4.6-7
|
||||
- LSPP: only warn when unable to get printer context.
|
||||
|
||||
* Fri Feb 25 2011 Tim Waugh <twaugh@redhat.com> 1:1.4.6-6
|
||||
- Fixed build failure due to php_zend_api macro type.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user