Print  |  Close

RJ-3050

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.

Print  |  Close