LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 609|回复: 3

[求助]linux系统共享打印机无法打印问题?求教

[复制链接]
发表于 2010-6-30 13:07:10 | 显示全部楼层 |阅读模式
新装了fedora12,也安装了canon ir1022 linux驱动,可以找到并与windows共享打印机,但是一按打印,就提示selinux配置有问题,问题如下:


概述: SELinux is preventing /usr/bin/c3pldrv "execstack" access.


详细描述: SELinux denied access requested by c3pldrv. It is not expected that this access is required by c3pldrv and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access.
允许访问:You can generate a local policy module to allow this access - see FAQ(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug report.
附加信息:
源上下文 system_u:system_r:cupsd_t:s0-s0:c0.c1023
目标上下文 system_u:system_r:cupsd_t:s0-s0:c0.c1023
目标对象 None [ process ]
源 c3pldrv
源路径 /usr/bin/c3pldrv 端口 <未知> 主机 ga-linux
源 RPM
软件包 cndrvcups-common-2.00-2
目标 RPM
软件包
策略 RPM selinux-policy-3.6.32-41.fc12
启用 Selinux True
策略类型 targeted
启用 MLS True Enforcing
模式 Enforcing
插件名称 catchall
主机名 ga-linux
平台 Linux ga-linux 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686
警报计数 10
第一个 2010年06月27日星期日 21时08分05秒 最后一个 2010年06月28日星期一 16时23分04秒

行号
原始核查信息
node=ga-linux type=AVC msg=audit(1277713384.358:85): avc: denied { execstack } for pid=791 comm="c3pldrv" scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tclass=process

node=ga-linux type=SYSCALL msg=audit(1277713384.358:85): arch=40000003 syscall=125 success=no exit=-13 a0=bfb58000 a1=1000 a2=1000007 a3=bfb5845c items=0 ppid=789 pid=791 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="c3pldrv" exe="/usr/bin/c3pldrv" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)

请问我该怎么配置selinux?谢谢
发表于 2010-6-30 13:13:47 | 显示全部楼层
# setsebool -P allow_execstack 1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-30 16:30:26 | 显示全部楼层
可以告诉我是什么意思吗?谢谢,本人菜
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-30 16:31:23 | 显示全部楼层
到底是什么原因,这是触发了selinux什么规则呢?请说明,谢谢啦
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表