FAQs & Troubleshooting

Close

TD-4000

FAQs & Troubleshooting

FAQs & Troubleshooting

Date: 07/01/2019 ID: faqp00100413_000

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/daemon/.*.

    - 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.

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)

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

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.