Repository navigation
Releases
v1.0.10
Fixed
- Fix
d?????????placeholder entries andENOENT(No such file or directory) on Linux 6.9+ kernels when files or directories exist only on secondary read targets and not onstorage_paths[0](#5). - Remove
*fs.LoopbackNodeembedding from the FUSENodeimplementation and returnENOSYSforFUSE_STATXso kernels fall back to PolicyFS's router-awareGetattrinstead of probingstorage_paths[0]directly. - Route
Symlink,Readlink, andMknod(mkfifo) operations through configured write and read targets instead of falling back to the primary storage path. - Preserve accurate
S_IFMTentry types (symlinks, FIFOs, sockets, and device nodes) when merging non-indexedReaddirresults. - Fall back to
primaryRootPathinstatfsfallback_loopbackmode when the queried subdirectory does not exist on the primary storage path.
Improved
- Fix
GIT_COMMON_DIRhandling in the coverage workflow and Go setupPATHin the RPM release workflow.
Compatibility
- No configuration migration is required.
Full Changelog: v1.0.9...v1.0.10
v1.0.9
Added
- Add zero-copy cache eviction mode (
mode: evict) for mover jobs to reclaim source storage space after verifying a matching replica (IsRegular, equalsize,dest.mtime >= src.mtime) exists on at least one destination storage (#8). - Report
skipped_unmirroredinpfs moveandpfs maintsummaries when eviction candidates do not yet have a verified replica on destination tiers.
Fixed
- Preserve existing live directory
mode/uid/gidinindex.dbduringUpsertFileand sync newly materialized destination directory metadata in the mover. - Apply directory
Setattr(chmod/chown/utimens) across all matching read targets instead of stopping at the first branch. - Inherit parent permissions, group-write/traverse bits, and
setgidwhenpfs prunecreates missing destination parent directories duringRENAME. - Keep indexed disks asleep during
pfs doctorchecks. - Avoid marking verified destination storages as modified (
touched) duringpfs maint --index=touchformode: evictjobs.
Improved
- Order mover candidates oldest
mtimefirst (tie-broken by largest size first) so recently created files remain cached on fast storage tiers longer. - Isolate Docker Compose dev containers per Git worktree with dynamic ports and shared Git metadata.
Compatibility
- No configuration migration is required (
mover.jobs[].modedefaults tomove).
Full Changelog: v1.0.8...v1.0.9
v1.0.8
Fixed
- Preserve source ownership and permissions for destination directories created by the mover.
- Keep newly created mover directories group-writable and traversable while preserving setgid behavior.
- Leave existing destination directory ownership and permissions unchanged.
- Reject symlink components while creating destination directory chains.
- Handle concurrent destination directory creation without failing the move unnecessarily.
- Surface unexpected rollback failures instead of silently leaving partial directory chains.
- Recreate writable destination directories correctly after
delete_empty_dirremoves a source chain. - Fall back to another eligible destination when a
path_preservingparent is belowmin_free_gb.
Improved
- Report clearer write rejection diagnostics when targets are below
min_free_gb. - Clarify
min_free_gb, mover directory metadata, and systemd permission behavior in the documentation.
Compatibility
- No configuration migration is required.
- Existing destination directories are not modified.
- Packaged mover and maintenance services continue to run as root so source UID/GID metadata can be preserved.
Full Changelog: v1.0.7...v1.0.8
v1.0.7
Changed
- Expand debug visibility in the FUSE layer for mutation and indexed open fallback paths.
- Bump Go toolchain to
1.26.4.
Added
- Add more debug logs for FUSE mutation flows, including
rename,unlink,create,mkdir,link,symlink,setattr, and writable-handlerelease. - Add log coverage for indexed-path open fallback when a stale indexed
real_pathno longer exists on disk.
Fixed
- Fix
releaselogging so the error path does not leave an unfinished zerolog event behind. - Fix indexed open fallback logs to report the actual fallback path that was opened successfully.
- Remove misleading
real_pathfields fromsymlinklogs when the loopback-backed storage path cannot be derived accurately.
Notes for operators
-
To capture the new FUSE traces, run PolicyFS with debug logging enabled:
log: level: debug
-
This release is focused on observability and log accuracy. It does not intentionally change filesystem semantics.
Full Changelog: v1.0.6...v1.0.7
v1.0.6
Fixed
- Fix lookup/getattr for directories surfaced by
readdirfrom indexed backends or descendant-matching routing rules. - Prevent false
ENOENT/ls -ldmetadata failures (?????????) for visible directories. - Preserve first-match read visibility: the fix does not widen file visibility beyond configured read routing.
Verified
- Add integration coverage for nested FUSE mounts, including:
- parent/child daemon startup
- subtree routing through the child mount
EXDEVon rename/hardlink across mount boundaries- directory shadowing while the child is mounted
- recovery of the parent view after child unmount
- independent mount device/statfs behavior
- concurrent mutations across parent and child mounts
Notes
- This is a patch release.
- The main user-facing runtime change is the lookup/getattr fix.
- Nested mount support is now covered by integration tests; this release mainly strengthens verification rather than introducing a new nested-mount implementation.
Full Changelog: v1.0.5...v1.0.6
v1.0.5
This release focuses on operability and debugging.
Added
pfs doctor <mount> <path>now supports--diskto force on-disk stat during file inspection.- By default, doctor file inspection now avoids touching physical disks when indexed metadata is already available, which helps prevent unnecessary HDD spin-ups.
pfs mountnow supports a pprof endpoint for runtime profiling and memory investigations.
Changed
- Improved doctor file inspection behavior to prefer index-backed results when possible, while still falling back to on-disk stat when no index row exists for a storage.
- Added troubleshooting and command documentation for doctor disk inspection and mount-time pprof usage.
- Bumped the Go toolchain to
1.26.3.
Full Changelog: v1.0.4...v1.0.5
v1.0.4
Highlights
Improved disk space reporting (for df -h, SMB clients, Finder)
PolicyFS can now report a more intuitive, pooled view of available space for a mount, instead of reflecting a single underlying filesystem.
New per-mount options:
mounts.<name>.statfs.reportingmount_pooled_targets(default): mount-wide pooled stats using the union of all write targets across all routing rulespath_pooled_targets: path-aware pooled stats using write targets resolved for the queried path
mounts.<name>.statfs.on_error- Defaults to
ignore_failed(existing error policies remain supported)
- Defaults to
Docs: https://docs.policyfs.org/config/#statfs
FUSE: more accurate errno propagation
FUSE operations now unwrap and propagate underlying errno more reliably, improving correctness and making failures easier to diagnose.
Added integration coverage:
tests/integration/fuse_errno_propagation_test.go
pfs doctor: better visibility into permission issues
pfs doctor now reports recent permission-related errors to help debug "it works for root but not for my apps" situations.
Docs: https://docs.policyfs.org/commands/doctor/
Notes
mount_pooled_targetsis recommended if you want stable, mount-wide numbers that match user expectations fordf/SMB.path_pooled_targetsmay report different totals between directories by design (it follows routing semantics).
Full Changelog: v1.0.3...v1.0.4
v1.0.3
- Mover
- Add
source.include_fileandsource.ignore_filefor file-based candidate selection (ignore always wins, selection ispatterns OR include_file). - Add
destination.skip_if_exists_anyto skip candidates when the destination path already exists on any destination storage (avoids duplicate copies; may increase disk I/O).
- Add
- Doctor
- Show pool size and annotate storages with mover usage thresholds (
threshold_start/threshold_stop) for the first usage-triggered job.
- Show pool size and annotate storages with mover usage thresholds (
- Packaging / CI
- Improve RPM/DEB release workflows: unique repo metadata, install retries, and smoke tests for APT/RPM repos.
- Rename RPM assets to include distro in the filename (Fedora vs EL9).
- Docs / Website
- Add FAQ and refresh configuration/getting-started/troubleshooting content
- Polish website pages/styles.
- Tooling
- Fix formatter/linter to normalize Unicode dashes.
- Bump Go version to
1.26.2.
Full Changelog: v1.0.2...v1.0.3
v1.0.2
Highlights
- Added RPM packaging and publishing for Fedora and EL9, including a GitHub Pages RPM repository.
- Updated install docs with
dnfinstructions usinghttps://repo.policyfs.org/rpm.
Added
- RPM release workflow: .github/workflows/release-rpm.yml
- Builds RPMs for Fedora + EL9
- Signs artifacts and publishes repodata to GitHub Pages
- RPM spec: packaging/rpm/policyfs.spec
- RPM packaging script: scripts/package_rpm.sh
- Fedora/EL9 install instructions:
docs/getting-started.md- Fedora repo baseurl:
https://repo.policyfs.org/rpm/fedora/x86_64 - EL9 repo baseurl:
https://repo.policyfs.org/rpm/el/9/x86_64
- Fedora repo baseurl:
Changed
- README: packaging support now includes Debian/Ubuntu + Fedora/EL9 (linux/amd64).
- Debian packaging metadata: updated maintainer in
packaging/deb/control.in.
Notes
- Release assets include both:
- Versioned packages (canonical names)
- “Latest-friendly” package names for stable download links
Full Changelog: v1.0.1...v1.0.2