ntp: $chroot/var/db needs to exist with proper perms for ntpd.
--HG-- extra : convert_revision : ee3acd664fd8cbaca155305be3835a7b976bad73
This commit is contained in:
parent
6de2fad1d4
commit
e02ea7ddb8
|
@ -20,5 +20,11 @@ post)
|
||||||
[ $? -ne 0 ] && exit $?
|
[ $? -ne 0 ] && exit $?
|
||||||
echo "Created ntpd system user."
|
echo "Created ntpd system user."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Fix ntpd initialization with -i (chrooted).
|
||||||
|
if [ ! -d var/chroot/ntpd/var/db ]; then
|
||||||
|
mkdir -p var/chroot/ntpd/var/db
|
||||||
|
chown ntpd:ntpd /var/chroot/ntpd/var/db
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue