Red Hat Bugzilla – Bug 461346
Command semodule not found
Last modified: 2008-09-23 02:14:47 EDT
Description of problem:
I've the problem to store a newly created module. I'm able to create the local.te and local.mod files and the policy package local.pp with
checkmodule -M -m -o local.mod local.te and
semodule_package -o local.pp -m local.mod.
But the command semodule -i local.pp is not found.
Following packages were installed:
policycoreutils - 2.0.33-3.fc8.i386
policycoreutils-gui - 2.0.33-3.fc8.i386
policycoreutils-newrole - 2.0.33-3.fc8.i386
Were can I find the script semodule ?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 315946 [details]
Created attachment 315947 [details]
Created attachment 315948 [details]
Policy Package local.pp
You just need to add /usr/sbin to your path.
Should do it for you.
What fifo file is cups trying to communicate with?
allow cupsd_t var_t:fifo_file write;
Could you attach your audit messages that caused you to build this policy module.
Created attachment 316087 [details]
log file used to create local.te /var/log/audit/audit.log
Used fifo: /var/ccpd/fifo0
Ok I will update policy to handle this location.
Thank you for your help! However the printer is already working with the general policy which does not specify the fifo file. The only problem now is to start the script /etx/init.d/ccpd automatically during booting. I don't know the command line. I have to do it myself as a root. While the computer is shutting down there seem to be a slight problem to kill the daemon /usr/sbin/ccpd called by the script at first sight.
I don't understand what you are asking. If you are asking how to turn the daemon on at boot,
# chkconfig ccpd on
Will do it, or you could use system-config-services
System->Administration->Services from the toolbar
Or are you seeing another SELinux problem.
I have no SELinux problem or bug, it's my low-level knowledge.
/sbin/chkconfig ccpd on
/sbin/chkconfig --add ccpd
service ccpd does not support chkconfig
I think if you just add a link
# cd /etc/rc5.d/
# ln -s ../init.d/ccpd S98ccpd
# cd /etc/rc0.d/
# ln -s ../init.d/ccpd K10ccpd
Creation of either the symbolic links does not help. They are broken. There is also a problem with command line
lpr: Error - no default destination available.
I think you need to address this on fedora list. Not in a bugzilla. Please also put a bug in to ccpd.
Fine, I've subscribed for the fedora list .... report the bug in ccpd to the fedora list ? I already helped myself with information from other internet sources. The Daemon /usr/sbin/ccpd (v1.60) does not work properly and must be replaced by an older version. The ccpd (v1.30) installed under Debian "Etch" does!
I'm not able to address the fedora list as a non-administrator. I get no reply. Where should I put the bug?
I was talking about this list
For users of Fedora Core releases <email@example.com>
Ok, I can describe how to install the printer LBP2900 and send it to the mentioned list. It's not really a bug just my problems with command line - except the problem with binary ccpd of the newest Canon driver version (You have to switch on the computer and printer both together). No fedora bug!