net-mgmt/thanos: Build with '-tags slicelabels' to fix gRPC panics
Thanos in at least build version 0.41.0-1 causes panics once gRPC
calls to the sidecar or store component are made. This appears to be
an issue known in upstream [0], but the fix requires the use of the
`-tags slicelabels` Go build flags.
[0] https://github.com/thanos-io/thanos/issues/8543
PR: 294337
Tested by: Magnus Kaiser <freebsd at 4xoc.com>
Approved by: db@, yuri@ (Mentors, implicit)
MFH: 2026Q2
(cherry picked from commit b21fae5132961c8b37bb83b5ddfebb77752f60cd)
NAS-140608 / 26.0.0-BETA.2 / Filter ctdb-related logs into dedicated files (by anodos325) (#18692)
This commit adds syslog-ng filters to ensure that ctdb logs are written
to /var/log/ctdb/ctdb.log rather than by default landing in
/var/log/syslog
Original PR: https://github.com/truenas/middleware/pull/18687
---------
Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
NAS-140612 / 26.0.0-BETA.2 / Do not generate directory services config when disabled (by anodos325) (#18691)
If administrator for some reason temporarily disables directory services
we should not add configuration to the smb.conf otherwise they may
encounter errors on starting / stopping dependent services.
Although this has potential to break the SMB service when the directory
service is disabled, the practical impact of the bug is actually fairly
small. In practice administrators do not choose to temporarily disable
AD (for example) in favor of local accounts.
Original PR: https://github.com/truenas/middleware/pull/18689
Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
Add cross-mode iSCSI compatibility test suite
test_264 exercises common iSCSI behaviours (extents, targets, sessions, CHAP,
XCOPY, etc.) across both SCST and LIO to catch regressions on mode switch.
test_265 covers portal binding.
NAS-140613 / 27.0.0-BETA.1 / Remove unused parameters for validate_filters (#18690)
This PR adds changes to remove unused parameters for `validate_filters`
as they are not used anywhere anymore and the underlying library handles
them nicely already.
Add LIO as an alternative iSCSI target stack
The LIO path uses a configfs reconciler (utils/lio/config.py) that writes
desired state directly to /sys/kernel/config/target/. Service, ALUA, and
iSER handling all gate on the active stack. Pre-switch validation on mode
change rejects configurations incompatible with LIO.
net-mgmt/thanos: Build with '-tags slicelabels' to fix gRPC panics
Thanos in at least build version 0.41.0-1 causes panics once gRPC
calls to the sidecar or store component are made. This appears to be
an issue known in upstream [0], but the fix requires the use of the
`-tags slicelabels` Go build flags.
[0] https://github.com/thanos-io/thanos/issues/8543
PR: 294337
Tested by: Magnus Kaiser <freebsd at 4xoc.com>
Approved by: db@, yuri@ (Mentors, implicit)
MFH: 2026Q2
NAS-140608 / 27.0.0-BETA.1 / Filter ctdb-related logs into dedicated files (#18687)
This commit adds syslog-ng filters to ensure that ctdb logs are written
to /var/log/ctdb/ctdb.log rather than by default landing in
/var/log/syslog
NAS-140612 / 27.0.0-BETA.1 / Do not generate directory services config when disabled (#18689)
If administrator for some reason temporarily disables directory services
we should not add configuration to the smb.conf otherwise they may
encounter errors on starting / stopping dependent services.
Although this has potential to break the SMB service when the directory
service is disabled, the practical impact of the bug is actually fairly
small. In practice administrators do not choose to temporarily disable
AD (for example) in favor of local accounts.
[LV] Replace dead invalidateCostModelingDecisions with assert (NFC) (#190837)
Replace dead invalidateCostModelingDecisions with assertion that no
decisions have been taken yet.
[lldb/test] Add yield to spin loop in thread_filter test (#191025)
This should fix:
https://lab.llvm.org/buildbot/#/builders/211/builds/7439
The timeout might be caused by three threads busy-spinning at 100% CPU,
starving the CI machine.
Add std::this_thread::yield() to the spin loop to reduce CPU pressure
while keeping threads alive at a debugger-friendly location.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
[AArch64] Add error handling for unsupported bases in lowerConstantPtrAuth (#189474)
This is part of work being done in #188378 and #188638, split out from
#188650.
`lowerConstantPtrAuth` silently miscompiled `ConstantPtrAuth` constants
with non-`GlobalValue` pointer bases — emitting `0 at AUTH(da,0)` instead
of erroring.
Changes:
- Handle `ConstantPointerNull` bases explicitly
- Error via `reportFatalUsageError` on any remaining unresolved base
(e.g. nested ptrauth) instead of silently miscompiling
This PR was mostly developed with LLM assistance
x11/hamclock: Upstream is going away due to programmer passing away
- Added temporary LOCAL distfile since upstream seems erratic
this will quiet pkg builder errors
- Marked as Deprecated and expiration date set
Upstream server will be turned off in June
- Looking into alternative such as OpenHamclock etc.
[lldb-dap] Using an empty target instead of a dummy target. (#189734)
Removing the use of the dummy target and instead letting the debugger
instance create the target it needs.
[lldb] Disable TestTsan{CPP}GlobalLocation.py on Linux (#191018)
Skip `TestTsanGlobalLocation.py` and `TestTsanCPPGlobalLocation.py` on
Linux. The tests are failing on GreenDragon and at desk.
Tracked by https://github.com/llvm/llvm-project/issues/191012
[VPlan] Fix incorrect wrap-flags in partial-red transform (#190214)
The flags are incorrect for the transform, and fixes an underlying
miscompile.
Proof: https://alive2.llvm.org/ce/z/tPJnJk
[flang][OpenACC] Support DO CONCURRENT locality specs inside ACC constructs (#190406)
- Lower DO CONCURRENT locality specs (REDUCE, LOCAL, LOCAL\_INIT) that
appear inside OpenACC compute constructs and combined directives.
- Previously, any locality spec on DO CONCURRENT inside ACC hit a `TODO`
and aborted. This resolves that limitation.
- Per OpenACC 2.17.2, DO CONCURRENT without a loop construct in a
kernels construct is treated as `loop auto`; in a parallel construct it
is treated as `loop independent`. Both cases are covered.
## Mapping
| Locality Spec | ACC Operation |
|---|---|
| `REDUCE(op:vars)` | `acc.reduction` with reduction recipe |
| `LOCAL(vars)` | `acc.private` with privatization recipe |
| `LOCAL_INIT(vars)` | `acc.firstprivate` with firstprivatization recipe
|
| `SHARED` / `DEFAULT(NONE)` | No-op (variables already accessible) |
[20 lines not shown]