Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 225:ffd24013d346
When configuring a jail also call "newaliases" within the jail
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Wed, 31 Aug 2022 13:04:25 +0200 |
| parents | 6713d97b4180 |
| children | 73f2436fdf86 |
| files | sbin/fjail |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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).
