# HG changeset patch # User Franz Glasner # Date 1661943865 -7200 # Node ID ffd24013d3466877a11bc5df99b2baaeafacdb97 # Parent 6713d97b418047510d8763b5c4bfb0785eb687b0 When configuring a jail also call "newaliases" within the jail diff -r 6713d97b4180 -r ffd24013d346 sbin/fjail --- a/sbin/fjail Wed Aug 31 13:01:35 2022 +0200 +++ b/sbin/fjail Wed Aug 31 13:04:25 2022 +0200 @@ -370,6 +370,9 @@ echo "WARNING: \"${_mp}/etc/resolv.conf\" exists already -- not changed" fi + # Call newaliases within the jail + chroot "${_mp}" /usr/bin/newaliases + # # hostid and hostuuid should be set (at least for consistency ressons) # in vnet jails (see /etc/rc.d/hostid and /etc/rc.d/hostid_save).