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

windows_service action :start resets credentials on service #8080

Open
gdoddsy opened this Issue Dec 27, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@gdoddsy
Copy link

gdoddsy commented Dec 27, 2018

Description

When we run the following in a recipe it resets the credentials on the service to Local System

windows_service 'myServiceName' do
	action :start
	only_if { ::Win32::Service.exists?("myServiceName")}
end

Chef Version

14.7.17

Platform Version

Windows 2016

Replication Case

Whenever we use windows_service with action :start it replaces the credentials the service runs as with Local System.

@vijaymmali1990 vijaymmali1990 referenced a pull request that will close this issue Jan 8, 2019

Open

Fix for windows service action start resets credentials on service #8103

2 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment