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.service
file in a text editor such asvi
.For example, the
saslauthd.service
file 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.service
BindsTo=secfs-fs-barrier.service
For example, the
saslauthd.service
file might have the following existing[Unit]
section:[Unit]
After=syslog.target
After=network.target
In this case, you would add the two new lines after
After=network.target
. -
Save and close the
saslauthd.service
file. -
To force the system to re-read the
systemd
configuration 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.