RJ-4230B
FAQs & Troubleshooting |
Disable or reconfigure SELinux. (Linux)
Do the following to disable or reconfigure SELinux:
To disable SELinux
- From the Desktop drop-down menu, select [System Settings] - [Security label].
- Select the [SELinux] tab, clear [Enable], and then click the [OK] button.
- Restart the system.
To reconfigure SELinux
-
Back up the following file:
/etc/selinux/targeted/contexts/files/file_contexts -
Do one of the following depending on the contents of the /usr/local/Brother directory:
-
If there are "inf", "lpd" and "cupswrapper" directories in /usr/local/Brother, add the following three lines to the "file_contexts" file:
/usr/local/Brother/inf/.* - system_u: object_r: cupsd_etc_t: s0
/usr/local/Brother/lpd/.* - system_u: object_r: bin_t: s0
/usr/local/Brother/cupswrapper/.* - system_u: object_r: bin_t: s0
-
If there are "inf", "lpd" and "cupswrapper" directories in /usr/local/Brother/Printer/(printer name), add the following three lines to the "file_contexts" file:
/usr/local/Brother/Printer/(printer name)/inf/.* -- system_u:object_r:cupsd_etc_t:s0
/usr/local/Brother/Printer/(printer name)/lpd/.* -- system_u:object_r:bin_t:s0
/usr/local/Brother/Printer/(printer name)/cupswrapper/.* -- system_u:object_r:bin_t:s0
The contents that need to be described depend on your distribution.
Make sure that:
- The description for "lpd" and "cupswrapper" is the same as the description in /usr/lib(64)/cups/daemon/.*.
- The description for "inf" is the same as the description in /etc/cups/ppd/.*.
-
If there are "inf", "lpd" and "cupswrapper" directories in /usr/local/Brother, add the following three lines to the "file_contexts" file:
-
Run the restorecon * command in the following directories:
If you performed Step 2-A
/usr/lib/cups/filter
/usr/lib64/cups/filter (only for 64 bit distributions)
/usr/local/Brother/lpd
/usr/local/Brother/inf
/usr/local/Brother/cupswrapper
If you performed Step 2-B
/usr/lib/cups/filter
/usr/lib64/cups/filter (only for 64 bit distributions)
/usr/local/Brother/Printer/(printer name)/inf
/usr/local/Brother/Printer/(printer name)/lpd
/usr/local/Brother/Printer/(printer name)/cupswrapper
-
Restart your computer.
For more information about SELinux, contact your distribution provider.
Related Models
PT-9500PC, PT-9700PC, PT-9800PCN, PT-P900W/P900Wc, PT-P950NW, QL-1050, QL-1050N, QL-1060N, QL-500, QL-500A, QL-550, QL-570, QL-580N, QL-600, QL-650TD, QL-700, QL-710W, QL-720NW, QL-800, QL-810W/810Wc, QL-820NWB/820NWBc, RJ-2030, RJ-2050, RJ-2140, RJ-2150, RJ-3050, RJ-3150, RJ-3230B, RJ-3250WB, RJ-4230B, RJ-4250WB, TD-2020/2020A, TD-2120N, TD-2125N, TD-2125NWB, TD-2130N, TD-2135N, TD-2135NWB, TD-4000, TD-4100N, TD-4210D, TD-4410D, TD-4420DN/4420DN(FC), TD-4520DN, TD-4550DNWB / 4550DNWB(FC)