Adding Dependencies to the `saslauthd.service` File
The saslauthd process handles plaintext authentication requests on behalf of the SASL library. It isolates all code requiring superuser privileges into a single process, and it can be used to provide proxy authentication services to clients that do not understand SASL based authentication.
The saslauthd service must start after the secfs-fs-barrier service:
-
As a root user, open the
saslauthd.servicefile in a text editor such asvi.For example, the
saslauthd.servicefile is located in/usr/lib/systemd/system/saslauthd.service. -
Locate the
[Unit]area in the file and add the following two lines at the end of the[Unit]section:After=secfs-fs-barrier.serviceBindsTo=secfs-fs-barrier.serviceFor example, the
saslauthd.servicefile might have the following existing[Unit]section:[Unit]After=syslog.targetAfter=network.targetIn this case, you would add the two new lines after
After=network.target. -
Save and close the
saslauthd.servicefile. -
To force the system to re-read the
systemdconfiguration files that you changed in this section and the previous section, typesystemctl daemon-reload. -
Start each application that you shut down to make the configuration changes.