You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The release tarball and install.sh do not carry the mount helper #533
#136 ships mount.objectfs in the .deb and .rpm only. Two other install paths do not get it:
The release tarball..goreleaser.yml's archives: block packs the packages build. The mount-helper build is deliberately not in it, because an archive member named mount.objectfs is
inert — the registration is the file being at/sbin/mount.objectfs, which only an installer can
arrange. But leaving it out entirely means someone who installs from the tarball has no way to get
an fstab mount short of building the helper themselves.
scripts/install.sh. It installs the objectfs binary and nothing else, so it has the same gap
even though it is the path that could create the symlink, since it already runs as root.
What is needed is the tarball carrying the helper plus install.sh doing what scripts/postinstall.sh already does with it: install to /usr/bin/mount.objectfs and link it at /sbin/mount.objectfs, with the same conservatism the scriptlet has — leave a foreign symlink or a
real file alone with a warning naming the ln -s, never create a dangling link, and be idempotent.
Which suggests the link logic should be one shell function the two scripts share rather than a second
copy of it, since a second copy is how the two drift.
Also unresolved: an uninstall path. scripts/preremove.sh unlinks on package removal; install.sh
has no counterpart, so a tarball install would leave the symlink behind.
Activity
feat(mount): an /etc/fstab mount helper for -t objectfs (#136) (#530)
ci(packaging): open a built tarball and assert it carries the mount h…
feat(release): the tarball carries the mount helper, and install.sh c…
fix(release): the tarball inventory gate fails on a correct artifact (#…