-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate sssd_pac process when using IPA backend #5013
Labels
Comments
There is now Ideally |
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Sep 18, 2024
with shell one-liner All sockets already have ``` After=sssd.service BindsTo=sssd.service ``` - this ensures SSSD was started and running before socket activation. It's much easier to simply check if corresponding responder is already running than to parse sssd.conf or config.ldb Resolves: SSSD#5013
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Sep 18, 2024
with shell one-liner All sockets already have ``` After=sssd.service BindsTo=sssd.service ``` - this ensures SSSD was started and running before socket activation. It's much easier to simply check if corresponding responder is already running than to parse sssd.conf or config.ldb Resolves: SSSD#4333 Resolves: SSSD#5013
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Sep 19, 2024
with shell one-liner All sockets already have ``` After=sssd.service BindsTo=sssd.service ``` - this ensures SSSD was started and running before socket activation. It's much easier to simply check if corresponding responder is already running than to parse sssd.conf or config.ldb Resolves: SSSD#4333 Resolves: SSSD#5013
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Sep 19, 2024
with shell one-liner All sockets already have ``` After=sssd.service BindsTo=sssd.service ``` - this ensures SSSD was started and running before socket activation. It's much easier to simply check if corresponding responder is already running than to parse sssd.conf or config.ldb Resolves: SSSD#4333 Resolves: SSSD#5013
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Sep 20, 2024
with a schell script. All sockets already have ``` After=sssd.service BindsTo=sssd.service ``` - this ensures SSSD was started and running before socket activation. New 'ExecStartPre' condition checks if a responder with the same name is running and, if so, if it runs in the same mnt namespace. The latter is to ignore processes run in a container on the same host. Resolves: SSSD#4333 Resolves: SSSD#5013
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Sep 20, 2024
with a schell script. All sockets already have ``` After=sssd.service BindsTo=sssd.service ``` - this ensures SSSD was started and running before socket activation. New 'ExecStartPre' condition checks if a responder with the same name is running and, if so, if it runs in the same mnt namespace. The latter is to ignore processes run in a container on the same host. Resolves: SSSD#4333 Resolves: SSSD#5013
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Oct 9, 2024
(instead of sssd.conf) using new helper to take into account implictly configured services. Resolves: SSSD#5013
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Oct 9, 2024
(instead of sssd.conf) using new helper to take into account implictly configured services. Resolves: SSSD#5013
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Oct 10, 2024
(instead of sssd.conf) using new helper to take into account implictly configured services. Resolves: SSSD#5013
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Oct 11, 2024
(instead of sssd.conf) using new helper to take into account implictly configured services. Resolves: SSSD#5013
Pushed PR: #7638
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/4045
sssd-pac.socket
uses the usual mechanism for preventing it from starting whileservices = pac
is present insssd.conf
:However, in the case that
sssd
is configured to use a backend using the IPA provider andservices
is not set, or is set but does not containpac
, then theadd_implicit_services
function will add thepac
to the service list at run time. This is not detected bysssd_check_socket_activated_reponders
and you end up with two instances ofsssd_pac
running, one spawned bysssd
and the other bysystemd
.Quick and dirty fix: modify
sssd_check_socket_activated_responders
to use the same logic assssd
, that is, fail if anydomain
section insssd.conf
hasid_provider = ipa
.Comments
Comment from pbrezina at 2020-03-13 14:36:07
Metadata Update from @pbrezina:
The text was updated successfully, but these errors were encountered: