question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The serviceaccount settings doesn't work, but serviceAccount does

See original GitHub issue

Summary

I’m using WinSW with the YAML config format, and using serviceaccount does not work:

image

But switching it to serviceAccount makes it create the Log on configuration correctly:

image

Which wasted quite a lot of time for me, because both documentation: https://github.com/winsw/winsw/blob/v2.11.0/doc/yamlConfigFile.md#service-account

And example use the lower case version: https://github.com/winsw/winsw/blob/e380e6c64e961c77e679f16bb315aa9f88fe289a/examples/sample-allOption.yml#L5-L9

Environment

  • WinSW version: 2.11.0
  • WinSW package type: .NET 4.6.1
  • Windows version: Windows Server 2019 Datacenter
  • Wrapped executable and version: irrelevant

Possible Solution

Fix the parsing to either accept lower case name, or fix docs and examples to use the upper case version.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

0reactions
jakubgscommented, Sep 26, 2022

You could for example look at the template I use in the Ansible role I linked in: https://github.com/winsw/winsw/issues/839#issuecomment-894990942 https://github.com/status-im/infra-role-winsw/blob/44f33571/templates/service.yml.j2#L19-L24

Please note that allowservicelogon doesn’t actually work as described in:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Service accounts overview | IAM Documentation
Conceptual and lifecycle information about IAM service accounts.
Read more >
Service Accounts
A service account is a user account that's created explicitly to provide a security context for services that are running on Windows Server ......
Read more >
Troubleshoot Cluster service account - Windows Server
Start the Local Security Settings console from the Administrative Tools group. · Navigate to User Rights Assignments under Local Policies.
Read more >
Resolve “login failure” issue for Service Account after Restart
On a domain controller, open the Group Policy Management Console · Open the policy where you configured the “login and as service” right...
Read more >
I cannot acces service accounts tab in Firebase console
1 Answer 1 ... Clear your browser cache: Sometimes clearing your browser cache can help resolve issues with Firebase project settings. Try ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found