Skip to content

openvpn, share-users: install the keep.d fragments PR #118 added - #151

Merged
ispyisail merged 1 commit into
masterfrom
fix/openvpn-share-users-keepd-install
Jul 31, 2026
Merged

openvpn, share-users: install the keep.d fragments PR #118 added#151
ispyisail merged 1 commit into
masterfrom
fix/openvpn-share-users-keepd-install

Conversation

@ispyisail

Copy link
Copy Markdown
Owner

Summary

  • Found while building vnet phase 63 coverage for PR backup: close sysupgrade.conf/backup coverage gaps, add keep.d registry #118's backup work: plugin-gargoyle-openvpn's and share-users' install: sections never copy files/lib/upgrade/keep.d/* into the built .ipk — both use narrow, explicit install rules (unlike gargoyle's own package, which does a blanket files/ tree copy), so the keep.d source files PR backup: close sysupgrade.conf/backup coverage gaps, add keep.d registry #118 added for these two packages were dead code.
  • Confirmed live: a running vnet router has both packages installed, but neither gargoyle-openvpn nor gargoyle-share-users exists in /lib/upgrade/keep.d/ — only the pre-existing base openvpn package's own keep.d entry is present.
  • Impact was masked so far: the same two paths (/etc/openvpn, /etc/samba/smbpasswd) were also added directly to /etc/sysupgrade.conf by the same PR, so backups still captured the data via that redundant path — but the keep.d union mechanism itself (the PR's own stated fix for "the two lists had already drifted apart once") was non-functional for these two fragments.

Test plan

  • Real scoped compile of both packages (make package/plugin-gargoyle-openvpn/{clean,compile}, make package/share-users/{clean,compile}) inside the build container
  • Extracted both built .ipks and confirmed lib/upgrade/keep.d/gargoyle-openvpn / lib/upgrade/keep.d/gargoyle-share-users are now genuinely present in the packaged output
  • New vnet phase 63 (gargoyle-tools repo) exercises the real keep.d union mechanism end-to-end against a live router

Neither package's install: section copied files/lib/upgrade/keep.d/*
into the built .ipk -- both use narrow, explicit install rules (unlike
gargoyle's own package, which does a blanket files/ tree copy), so the
keep.d source files PR #118 added for these two packages were dead:
never actually installed, confirmed live on a running router (neither
gargoyle-openvpn nor gargoyle-share-users present in /lib/upgrade/keep.d/
despite both packages being installed).

Impact was masked so far -- the same two paths (/etc/openvpn,
/etc/samba/smbpasswd) were also added directly to /etc/sysupgrade.conf
in the same PR, so backups still captured the data via that redundant
path -- but the keep.d union mechanism itself (the PR's own stated fix
for the two lists drifting apart) was non-functional for these two.

Verified via a real scoped compile of both packages: the built .ipks
now contain lib/upgrade/keep.d/gargoyle-openvpn and
lib/upgrade/keep.d/gargoyle-share-users respectively.
@ispyisail
ispyisail merged commit 1a1d4bf into master Jul 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant