Open dlangille opened 3 years ago
If the jail path does not match the jail name, the update fails:
During a sudo ./bin/mkjail update -a, I encountered this:
sudo ./bin/mkjail update -a
Updating git jail... /jails/git: No such file or directory File does not exist or is not readable: /jails/git/etc/freebsd-update.conf
From /etc/jail.conf:
/etc/jail.conf
git { host.hostname = "git.langille.org"; path = /jails/git.langille.org; ... }
I later found that you can update that jail manually via : sudo ./bin/mkjail update -j git.langille.org
sudo ./bin/mkjail update -j git.langille.org
jail names cannot contain .
I renamed the mountpoint to /jails/git and removed the path directive.
mountpoint
/jails/git
path
This affects jails which were not originally created with mkjail
mkjail
If the jail path does not match the jail name, the update fails:
During a
sudo ./bin/mkjail update -a
, I encountered this:From
/etc/jail.conf
:I later found that you can update that jail manually via :
sudo ./bin/mkjail update -j git.langille.org