Bug 278429 - archivers/py-borgbackup: wrong pkg-message instructions
Summary: archivers/py-borgbackup: wrong pkg-message instructions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Matthias Andree
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-18 11:37 UTC by gotnull
Modified: 2024-04-18 21:52 UTC (History)
1 user (show)

See Also:
mandree: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gotnull 2024-04-18 11:37:03 UTC
In order to load the necessary module "fusefs" the message recommends the command: 
sysrc fusefs_load="YES" 

But this loads the module from "/etc/rc.conf" not "/boot/loader.conf", so it doesn't work.

The following command make it work for me:
echo fusefs_load="YES" >> /boot/loader.conf


Tested on:
~ : freebsd-version -u ; uname -rms
13.3-RELEASE-p1
FreeBSD 13.3-RELEASE-p1 amd64
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-04-18 21:36:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=334e8e98b3a625df06b3a5c3d44b0cbc01c77f31

commit 334e8e98b3a625df06b3a5c3d44b0cbc01c77f31
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-04-18 21:28:10 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-04-18 21:34:53 +0000

    archivers/py-borgbackup: fix pkg-message instructions

    which were suggesting to add the loader.conf variable fusefs_load
    to rc.conf instead via sysrc.

    Reported by:    zero1@zaclys.net
    PR:             278429
    MFH:            2024Q2

 archivers/py-borgbackup/Makefile    |  2 +-
 archivers/py-borgbackup/pkg-message | 16 ++++++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-04-18 21:37:23 UTC
A commit in branch 2024Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69dfc6cd49309b7990db0d931b44633d58bcf739

commit 69dfc6cd49309b7990db0d931b44633d58bcf739
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-04-18 21:28:10 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-04-18 21:36:32 +0000

    archivers/py-borgbackup: fix pkg-message instructions

    which were suggesting to add the loader.conf variable fusefs_load
    to rc.conf instead via sysrc.

    Reported by:    zero1@zaclys.net
    PR:             278429
    MFH:            2024Q2

    (cherry picked from commit 334e8e98b3a625df06b3a5c3d44b0cbc01c77f31)

 archivers/py-borgbackup/Makefile    |  2 +-
 archivers/py-borgbackup/pkg-message | 16 ++++++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)
Comment 3 Matthias Andree freebsd_committer freebsd_triage 2024-04-18 21:37:54 UTC
Thanks for the report. I've added different instructions to avoid accumulating fusefs_load="YES" lines in /boot/loader.conf when following the echo >> ... suggestion repeatedly.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-04-18 21:47:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c457fb00e613885e4aab48afd69a6fe129a3d6d

commit 5c457fb00e613885e4aab48afd69a6fe129a3d6d
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-04-18 21:46:06 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-04-18 21:46:06 +0000

    archivers/py-borgbackup11: fix pkg-message instructions

    which were suggesting to add the loader.conf variable fusefs_load
    to rc.conf instead via sysrc.

    Reported by:    zero1@zaclys.net
    PR:             278429
    MFH:            2024Q2

 archivers/py-borgbackup11/Makefile    |  2 +-
 archivers/py-borgbackup11/pkg-message | 16 ++++++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-04-18 21:50:26 UTC
A commit in branch 2024Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=61b51313bf905a0806887d6775a77bc541d46bdf

commit 61b51313bf905a0806887d6775a77bc541d46bdf
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-04-18 21:46:06 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-04-18 21:47:15 +0000

    archivers/py-borgbackup11: fix pkg-message instructions

    which were suggesting to add the loader.conf variable fusefs_load
    to rc.conf instead via sysrc.

    Reported by:    zero1@zaclys.net
    PR:             278429
    MFH:            2024Q2

    (cherry picked from commit 5c457fb00e613885e4aab48afd69a6fe129a3d6d)

 archivers/py-borgbackup11/Makefile    |  2 +-
 archivers/py-borgbackup11/pkg-message | 16 ++++++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)
Comment 6 Matthias Andree freebsd_committer freebsd_triage 2024-04-18 21:52:53 UTC
The instructions had been provided by the former maintainer, and were never right, and the then-committer swills@ didn't audit them and request change. 

(grepping through the entire ports tree, it does not appear that any other ports would use to use sysrc and _load on the same line.)

So, thanks again for reporting a five-year-old issue with the borgbackup ports' pkg-message files.