Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Oct 2020 15:03:16 -0700
From:      Carl Johnson <carlj@peak.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Borg Backup in a Jail?
Message-ID:  <868scl4pjv.fsf@elm.localnet>
In-Reply-To: <20201004193720.GA53167@mithril> (Jacques Foucry's message of "Sun, 4 Oct 2020 21:37:20 %2B0200")
References:  <20201004193720.GA53167@mithril>

next in thread | previous in thread | raw e-mail | index | archive | help
Jacques Foucry <jacques+freebsd@foucry.net> writes:

> Hello colleagues,
>
> Did somebody sucessfully install and run `borg backup` int=E3=81=BD a jai=
l?
>
> My jail definition looks like:
>
> ```
> backup{
>    host.hostname=3D"backup.FQN";
>    path=3D"/jails/backup";
>    ip4.addr=3D"lo1|192.168.12.29/24";
>    ip4.addr+=3D"lo0|127.0.1.29/32";
>    ip6.addr=3D"em0|<IPv6::29/64";
>    enforce_statfs =3D 1;
>    allow.mount=3D1;
>    allow.mount.fusefs=3D1;
>    persist=3Dtrue;
> }
> ```
> I runi on the host and the jail:
>
> `FreeBSD 12.1-RELEASE-p6 amd64`
>
-snip-
>
> But inside the jail I cannot load fusefs kernel module:
>
> ```
> backup# kldload fuse
> kldload: can't load fuse: Operation not permitted
> ```
>
> And BorgBackup need it. :-(
>
> Is there something I miss? Something wrong in my configuration?
>
> Thnaks in advane for your advices,

Have you tried doing the kldload before starting the jail?  If that
works, then you can load it at boot in loader.conf, or rc.conf with
kld_load.

--=20
Carl Johnson		carlj@peak.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868scl4pjv.fsf>