PT-9700PC

FAQs & Troubleshooting

FAQs & Troubleshooting

Disable or reconfigure SELinux. (Linux®)

Do the following to disable or reconfigure SELinux:
 

To disable SELinux

  1. From the Desktop drop-down menu, select [System Settings] - [Security label].
  2. Select the [SELinux] tab, clear [Enable], and then click the [OK] button.
  3. Restart the system.

To reconfigure SELinux

  1. Back up the following file:
    /etc/selinux/targeted/contexts/files/file_contexts

  2. Do one of the following depending on the contents of the /usr/local/Brother directory:
     
    1. 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
       
    2. 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/.*.

  3. 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
     
  4. Restart your computer.

    For more information about SELinux, contact your distribution provider.

If your question was not answered, have you checked other FAQs?

Have you checked manuals?

If you need further assistance, please contact Brother customer service:

Related Models

PT-9500PC, PT-9700PC, PT-9800PCN, PT-P900W, PT-P950NW, QL-550, QL-570, QL-700, QL-720NW, QL-800, QL-820NWB, RJ-3150, RJ-4230B, RJ-4250WB, TD-2120N, TD-2130N, TD-4000, TD-4410D, TD-4420DN, TD-4550DNWB

Content Feedback

To help us improve our support, please provide your feedback below.

Step 1: How does the information on this page help you?

Step 2: Are there any comments you would like to add?

Please note this form is used for feedback only.