-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
systemd::user_service broken for puppet running in background #459
Comments
traylenator
changed the title
systemd::user_service non functional with puppet running in background daemon mode
systemd::user_service broken for puppet running in background
Apr 29, 2024
The full
|
Trying newer systemd and different puppet versions:
Looks to be something fixed between systemd 252 and 255. |
Unfortunately upgrading systemd from source to 256~rc1 and reboot on EL9 does not resolve the situation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Run puppet agent in background, i.e
pkill -SIGUSR1 puppet
and notpuppet agent -t -v
What are you seeing
The service does not start, the type fails to check the status of the service assumes it is not running and then
fails to start it. ( In fact the service is running however that is some what immaterial if puppet can't detect that.
What behaviour did you expect instead
The service should be started and enabled enabled correctly.
Output log
Note the error:
Any additional information you'd like to impart
Expanding the underlying exec it is:
This command is fine from the cmd line:
Just will not run in background puppet exec.
The text was updated successfully, but these errors were encountered: