Running targeted/enforcing, latest rawhide.<br><br>If I 'remove' a USB printer (via 'rmmod usblp') and then reboot, printconf-tui tries to create the directory /var/cache/foomatic. This fails with:<br><br>type=AVC msg=audit(
1126301390.416:17): avc:&nbsp; denied&nbsp; { create } for&nbsp; pid=3106 comm=&quot;printconf-tui&quot; name=&quot;foomatic&quot; scontext=system_u:system_r:cupsd_config_t tcontext=system_u:object_r:var_t tclass=dir<br>type=SYSCALL msg=audit(
1126301390.416:17): arch=40000003 syscall=39 success=no exit=-13 a0=9aefe10 a1=1ed a2=778468 a3=b7345a2c items=1 pid=3106 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 comm=&quot;printconf-tui&quot; exe=&quot;/usr/bin/python&quot;
<br>type=CWD msg=audit(1126301390.416:17):&nbsp; cwd=&quot;/&quot;<br>type=PATH msg=audit(1126301390.416:17): item=0 name=&quot;/var/cache/foomatic&quot; flags=10&nbsp; inode=2142136 dev=fd:00 mode=040755 ouid=0 ogid=0 rdev=00:00<br>

<br>[This seems 'harmless', since printing appears to work, but ...]<br><br>Does this seem correct?<br>&nbsp;&nbsp; tom<br><br>--- /tmp/cups.te&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2005-09-09 15:38:31.000000000 -0700<br>+++ ./cups.te&nbsp;&nbsp; 2005-09-09 14:56:26.000000000
 -0700<br>@@ -240,7 +240,7 @@<br>&nbsp;rw_dir_create_file(cupsd_config_t, cupsd_etc_t)<br>&nbsp;rw_dir_create_file(cupsd_config_t, cupsd_rw_etc_t)<br>&nbsp;file_type_auto_trans(cupsd_config_t, cupsd_etc_t, cupsd_rw_etc_t, file)<br>-file_type_auto_trans(cupsd_config_t, var_t, cupsd_rw_etc_t, file)
<br>+file_type_auto_trans(cupsd_config_t, var_t, cupsd_rw_etc_t, { file dir })<br>&nbsp;allow cupsd_config_t var_t:lnk_file read;<br><br>&nbsp;can_network_tcp(cupsd_config_t)<br><br>-- <br>Tom London