JAIL environment variable inside build chroot leads to rc misbehavior,
since it thinks it runs inside a jail, but isn't.
This commit is contained in:
Thomas von Dein
2020-11-28 14:34:10 +01:00
parent 8cdab3fb8a
commit c7362f3904

2
jaildk
View File

@@ -864,7 +864,7 @@ jaildk_blogin() {
fi
chroot $chroot /etc/rc.d/ldconfig onestart > /dev/null 2>&1
env - JAIL=$jail HOME=$home TERM=$term SHELL=$shell PATH=$path chroot $chroot $shell
env - HOME=$home TERM=$term SHELL=$shell PATH=$path chroot $chroot $shell
}
jaildk_login() {