mknod still not working after suggested fix

Antonio Olivares olivares14031 at yahoo.com
Tue Jun 5 11:11:21 UTC 2007


selinux is still not allowing mknod to do its job.  

I have to manually create the device node every boot 

[root at localhost ~]# mknod -m 600 /dev/slamr0 c 242 0
[1]+  Done                    gedit /boot/grub/grub.conf
[root at localhost ~]# modprobe ungrab-winmodem
[root at localhost ~]# modprobe slamr
[root at localhost ~]# slmodemd -c USA /dev/slamr0 &
[1] 2709
[root at localhost ~]# SmartLink Soft Modem: version 2.9.11 Jun  4 2007 00:14:21
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `slamr0' created. TTY is `/dev/pts/1'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.



audit(1181023411.825:4): avc:  denied  { mknod } for  pid=673 comm="mknod" capability=27 scontext=system_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=capability


[root at localhost ~]# grep insmod /var/log/audit/audit.log | audit2allow -M myinsmod
******************** IMPORTANT ***********************
To make this policy package active, execute:

semodule -i myinsmod.pp

[root at localhost ~]# semodule -i myinsmod.pp

What should I try now?  

Regards,

Antonio




       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php




More information about the fedora-selinux-list mailing list