PT-9700PC
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/deamon/.*.
- 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.
Content Feedback
To help us improve our support, please provide your feedback below.