Icinga / Icinga/icinga-powershell-framework
Updating icinga cause the service user config to be reset on Windows
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 87
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
seen on multiple windows version.
we use the local system as the default user for most devices as it has the permissions required for our checks and when running an update for incinga2 on every devices the config for the service user is lost.
the command to change the user only use "sc.exe" to change the user and it seems that the installer is ignoring previous config and resetting it anyway,
(we use the chocolatey package but i don't think it is linked.)
not sure to what repo this issue should be opened in but i didn't found any code for the installer and this issue is more linked to the installer interacting with previous configs than the PS framework
probably linked: https://github.com/Icinga/icinga-powershell-framework/issues/761
Expected Behavior: The installer should respect the existing service user configuration
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read lib/core/icingaagent/setters/Set-IcingaAgentServiceUser.psm1 at the linked section and review the related issue 761 first. Trace which installer or update path resets the Windows service user, then verify that an update preserves an existing service user configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- infrastructure, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100