Skip to content

(WIP) Replace goxsys IsAnInteractiveSession with IsWindowsService#18

Open
JeremyRand wants to merge 1 commit into
hlandau:masterfrom
JeremyRand:is-windows-service
Open

(WIP) Replace goxsys IsAnInteractiveSession with IsWindowsService#18
JeremyRand wants to merge 1 commit into
hlandau:masterfrom
JeremyRand:is-windows-service

Conversation

@JeremyRand
Copy link
Copy Markdown
Contributor

Upstream goxsys deprecated IsAnInteractiveSession.

Refs #17

Upstream goxsys deprecated IsAnInteractiveSession.

Refs hlandau#17
@JeremyRand
Copy link
Copy Markdown
Contributor Author

Actually, hmm, hold off on this for a while, might be other issues with this.

@JeremyRand JeremyRand changed the title Replace goxsys IsAnInteractiveSession with IsWindowsService (WIP) Replace goxsys IsAnInteractiveSession with IsWindowsService Mar 10, 2021
@JeremyRand
Copy link
Copy Markdown
Contributor Author

Yeah, hmm, this breaks ncdns for reasons I am unclear on. Possibly related to the usage of a restricted service user. Will try to investigate more.

@JeremyRand
Copy link
Copy Markdown
Contributor Author

Yeah this is not going to be fun to fix; I'll get back to you when I have more useful info. For now, leave this PR open.

@JeremyRand
Copy link
Copy Markdown
Contributor Author

Did some debugging; upstream goxsys is ignoring a permission error in an unsafe way, which causes it to interpret restricted services as non-services. I'll look into filing a bug upstream.

@JeremyRand
Copy link
Copy Markdown
Contributor Author

Filed upstream bug:golang/go#44921

@hlandau hlandau force-pushed the master branch 2 times, most recently from 81f5fff to cc3fa98 Compare May 28, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant