SmartOS/live 1788a86src sysinfo

TRITON-2520: Servers should not change UUID on reboot

Portions generated by: Claude <noreply at anthropic.com>
Reviewed by: Dan McDonald <danmcd at edgecast.io>
Reviewed by: Toomas Soome <tsoome at edgecast.io>
Approved by: Toomas Soome <tsoome at edgecast.io>
DeltaFile
+54-0src/sysinfo
+54-01 files

SmartOS/live 15682d4src sysinfo

only run get_or_store_uuid in global zone
DeltaFile
+3-1src/sysinfo
+3-11 files

SmartOS/live 37e5b0asrc sysinfo

use org.smartos:server_uuid instead of com.tritondatacenter:uuid
DeltaFile
+2-2src/sysinfo
+2-21 files

SmartOS/live 34dec75src sysinfo

clean up invalid data if that ever happens
DeltaFile
+24-14src/sysinfo
+24-141 files

SmartOS/live 5b5be90src sysinfo

update copyright
DeltaFile
+1-0src/sysinfo
+1-01 files

SmartOS/live a695ad1src sysinfo

use the var dataset instead of the root of the pool
DeltaFile
+5-5src/sysinfo
+5-51 files

SmartOS/live ef87b72src sysinfo

Allow an override to clean up an invalid value written to pool somehow
DeltaFile
+1-3src/sysinfo
+1-31 files

SmartOS/live 7f35c02src sysinfo

Only write out valid uuids to the pool
DeltaFile
+13-2src/sysinfo
+13-21 files

SmartOS/live b8d4052src sysinfo

TRITON-2520: Fix syntax error and indentation in get_or_store_uuid

- Add missing space before ]] in conditional test
- Fix indentation to use spaces consistently

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+4-4src/sysinfo
+4-41 files

SmartOS/live 350be86src sysinfo

TRITON-2520: Servers should not change UUID on reboot
DeltaFile
+32-0src/sysinfo
+32-01 files

SmartOS/live 2552526src/node-qlocker package-lock.json

Bump js-yaml from 3.13.1 to 3.14.2 in /src/node-qlocker

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.13.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support at github.com>
DeltaFile
+969-575src/node-qlocker/package-lock.json
+969-5751 files

SmartOS/live bf2edfasrc/node-qlocker package-lock.json package.json

Bump js-yaml and tap in /src/node-qlocker

Removes [js-yaml](https://github.com/nodeca/js-yaml). It's no longer used after updating ancestor dependency [tap](https://github.com/tapjs/tapjs). These dependencies need to be updated together.


Removes `js-yaml`

Updates `tap` from 12.7.0 to 21.1.3
- [Release notes](https://github.com/tapjs/tapjs/releases)
- [Commits](https://github.com/tapjs/tapjs/compare/v12.7.0...tap@21.1.3)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 
  dependency-type: indirect
- dependency-name: tap
  dependency-version: 21.1.3
  dependency-type: direct:development

    [2 lines not shown]
DeltaFile
+4,000-1,829src/node-qlocker/package-lock.json
+1-1src/node-qlocker/package.json
+4,001-1,8302 files

SmartOS/live e6d9b8fsrc/node-qlocker package.json

OS-8701 (missing cleanup)

Reviewed by: Travis Paul <tpaul at edgecast.io>
Reviewed by: Toomas Soome <tsoome at edgecast.io>
Approved by: Toomas Soome <tsoome at edgecast.io>
DeltaFile
+1-1src/node-qlocker/package.json
+1-11 files

SmartOS/live 3d5cc98src/node-qlocker package.json

OS-8701 (missing cleanup)
DeltaFile
+1-1src/node-qlocker/package.json
+1-11 files

SmartOS/live 379eb8bsrc/node-dtrace-provider package.json, src/node-qlocker package-lock.json package.json

OS-8701 smartos-live (and node-0.10 of node-fs-ext) need to freeze "nan" version

Reviewed by: Carlos Neira <cneira at edgecast.io>
Reviewed by: Travis Paul <tpaul at edgecast.io>
Reviewed by: Toomas Soome <tsoome at edgecast.io>
Approved by: Carlos Neira <cneira at edgecast.io>
DeltaFile
+2-2src/node-qlocker/package-lock.json
+1-1src/node-dtrace-provider/package.json
+1-1src/node-qlocker/package.json
+1-1src/node-zonename/package.json
+5-54 files

SmartOS/live 1316c36src/node-qlocker package-lock.json

post-push node-fs-ext
DeltaFile
+2-2src/node-qlocker/package-lock.json
+2-21 files

SmartOS/live 2303363src/node-dtrace-provider package.json, src/node-qlocker package-lock.json package.json

smartos-live (and node-0.10 of node-ext-fs) need to freeze "nan" version.
DeltaFile
+3-3src/node-qlocker/package-lock.json
+1-1src/node-zonename/package.json
+1-1src/node-dtrace-provider/package.json
+1-1src/node-qlocker/package.json
+6-64 files

SmartOS/live 7a117a9tools/ucodecheck ucodecheck.c

OS-8698 smartos-live ucodecheck needs to address AMD fallback ucode

Reviewed by: Carlos Neira <carlos.neira at edgecast.io>
Reviewed by: Travis Paul <tpaul at edgecast.io>
Approved by: Travis Paul <tpaul at edgecast.io>
DeltaFile
+25-1tools/ucodecheck/ucodecheck.c
+25-11 files

SmartOS/live 833f6bdtools/ucodecheck ucodecheck.c

nicer output for pre-fallback illumos
DeltaFile
+2-1tools/ucodecheck/ucodecheck.c
+2-11 files

SmartOS/live 6d5e795tools/ucodecheck ucodecheck.c

oops, wrong place
DeltaFile
+5-5tools/ucodecheck/ucodecheck.c
+5-51 files

SmartOS/live 129466dtools/ucodecheck ucodecheck.c

Overlook missing AMD fallback
DeltaFile
+8-0tools/ucodecheck/ucodecheck.c
+8-01 files

SmartOS/live a858539tools/ucodecheck ucodecheck.c

OS-8698 smartos-live ucodecheck needs to address AMD fallback ucode
DeltaFile
+16-1tools/ucodecheck/ucodecheck.c
+16-11 files

SmartOS/live 057a582src piadm.sh

OS-8697 piadm's fatal() helper should echo all args (#1160)

Reviewed by: Carlos Neira <carlos.neira at edgecast.io>
Reviewed by: Dan McDonald <danmcd at edgecast.io>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+2-1src/piadm.sh
+2-11 files

SmartOS/live f22d49esrc piadm.sh

Update copyright
DeltaFile
+1-0src/piadm.sh
+1-01 files

SmartOS/live df2d7e7src piadm.sh

OS-8697 piadm's fatal() helper should echo all args
DeltaFile
+1-1src/piadm.sh
+1-11 files

SmartOS/live 6731c94src piadm.sh

OS-8697 piadm's fatal() helper should echo all args
DeltaFile
+1-3src/piadm.sh
+1-31 files

SmartOS/live 44e65b8src/vm/sbin vmadmd.js

Fix resource leaks and add handshake timeout in console proxy

Critical fixes for console connection handler:

1. Replace deprecated net.Stream() with new net.Socket()
2. Add cleanup() function with idempotent guard to prevent double-cleanup
3. Add 5-second timeout for zone console handshake
4. Ensure socket.destroy() called on all error paths:
   - Client close
   - Console socket error
   - Client error
   - Handshake timeout
   - Handshake failure
5. Rename 'console' variable to 'consoleSocket' to avoid shadowing global
6. Truncate handshake error messages to prevent log spam

These fixes prevent file descriptor leaks and hanging connections that
could exhaust system resources under error conditions.


    [3 lines not shown]
DeltaFile
+51-14src/vm/sbin/vmadmd.js
+51-141 files

SmartOS/live abfe095src/vm/sbin vmadmd.js

Add zoneadmd console handshake for non-KVM brands

The zoneadmd console_sock requires a protocol handshake before data flows.
Send 'IDENT C 0\n' and wait for 'OK' response before proxying data.

This matches the zlogin -C handshake protocol.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+28-3src/vm/sbin/vmadmd.js
+28-31 files

SmartOS/live 44a60a8src/vm/sbin vmadmd.js

Use zoneadmd console socket instead of /dev/zcons device

The correct console socket for zlogin -C is managed by zoneadmd at
/var/run/zones/<zonename>.console_sock, not the /dev/zcons device.

All brands now use unix sockets:
- KVM: /zones/<uuid>/root/tmp/vm.console (serial console)
- Others: /var/run/zones/<zonename>.console_sock (zoneadmd console)

This allows simple net.Stream() connection for all brands.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+15-59src/vm/sbin/vmadmd.js
+15-591 files

SmartOS/live dda998bsrc/vm/sbin vmadmd.js

Use socat to proxy zone console devices

fs.createReadStream doesn't work properly with character devices like
/dev/zcons/*/zoneconsole. Use socat instead to handle the device I/O
properly.

For non-KVM brands, spawn socat process per connection to proxy between
TCP socket and zone console device with proper raw/echo settings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+22-10src/vm/sbin/vmadmd.js
+22-101 files