Skip to content

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 10 Nov 14:30
· 10 commits to main since this release
9e565b4

Security

  • The .NET SDK search behind lanq doctor --remote and lanq makeready --add no longer proposes path_prepend for 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, host and shared trees, 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 as C:\tools\dotnet could
    otherwise make every later .NET job run a planted program as the build account. Such a folder is skipped, and
    doctor --remote and --add say 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 makeready runs 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 file sshd_config names
    (such as a Match User block's central file) are found. The .NET SDK search covers the same folders lanq doctor --remote searches, with the same ownership rule.
  • The suggested machines.yml entry (text and --add) takes the script's path_prepend and env: DOTNET_ROOT when
    the newest .NET SDK is in a folder that is not the dotnet on PATH. lanq takes it only as exactly one absolute folder
    in printable ASCII with DOTNET_ROOT set 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 --add then
    looks the SDK up itself as before. --add never writes a second path_prepend: or env: key or a second dotnet
    capability. --json passes the script's suggestedMachine through 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