#5330 /usr/libexec/ipa-otpd process added with every WebUI authentication attempt
Closed: Invalid Opened by adelton.

On fresh freeipa-server-4.2.1-1.fc22.x86_64 installation, I create one account besides admin and add and enable OTP (counter-based, should it matter).

Then with every authentication attempt (successful or not), another process

/usr/libexec/ipa-otpd ldapi://%2fvar%2frun%2fslapd-EXAMPLE-TEST.socket

is added to ps output.


ipa-otpd is socket activated. Its lifecycle is identical to the socket which activated it. The KDC activates it at most once per worker process. The KDC has 8 worker processes by default.

Every time you authenticate, it is likely hitting a new KDC worker process which handle incoming requests effectively at random. Hence, what you are describing is the correct behavior up to 8 processes (or the number of KDC workers you have configured).

A simple "systemctl stop krb5kdc.service" should cause all the ipa-otpd processes to exit when their sockets are closed.

Metadata Update from @adelton:
- Issue assigned to someone
- Issue set to the milestone: 0.0 NEEDS_TRIAGE

Metadata