Repository navigation
v0.8.1
Security
- The .NET SDK search behind
lanq doctor --remoteandlanq makeready --addno longer proposespath_prependfor a
folder other local users could plant code in, judged as lanq-makeready 0.3.0 does: only Administrators, SYSTEM,
TrustedInstaller (root), members of the local Administrators group and the build account may write the folder, its
dotnet,sdk,hostandsharedtrees, and nobody else may rename or replace it through a parent folder (on Linux
the file modes; POSIX ACLs are not read). On a shared PC, a world-writable folder such asC:\tools\dotnetcould
otherwise make every later .NET job run a planted program as the build account. Such a folder is skipped, and
doctor --remoteand--addsay so. The search now goes to the worker on stdin and runs from memory, like
lanq makeready, instead of on the command line.
Behaviour changes
lanq makereadyruns lanq-makeready 0.3.0. On a Windows worker whose build account is denied WMI/CIM it now reports
memory, CPUs, the Windows version and disks instead of 0 GB and "unreadable", and no longer reports OpenSSH Server as
"installed but not running" when that account may not read the service status. Keys in a filesshd_confignames
(such as aMatch Userblock's central file) are found. The .NET SDK search covers the same folderslanq doctor --remotesearches, with the same ownership rule.- The suggested
machines.ymlentry (text and--add) takes the script'spath_prependandenv: DOTNET_ROOTwhen
the newest .NET SDK is in a folder that is not thedotneton PATH. lanq takes it only as exactly one absolute folder
in printable ASCII withDOTNET_ROOTset to the same folder and none of"\<>|?*;:; anything
else is left out. A folder the report hides (under the user's home, redacted) is shown as a comment, and--addthen
looks the SDK up itself as before.--addnever writes a secondpath_prepend:orenv:key or a seconddotnet
capability.--jsonpasses the script'ssuggestedMachinethrough as reported.
Full changelog: https://github.com/jangolath/lanqueue/blob/main/CHANGELOG.md
What's Changed
- v0.8.0: job routing (size, --on, lanq.yml plans), Windows worker fixes by @jangolath in #13
Full Changelog: v0.8.0...v0.8.1