Another thing to consider while talking about chrooting is running OpenVPN in a Docker image. I put one together:
https://registry.hub.docker.com/u/kylemanna/openvpn/ https://github.com/kylemanna/docker-openvpn On Tue Feb 03 2015 at 12:27:10 AM Polotnyanko Nikita Sergeevich < pboxw...@gmail.com> wrote: > I'll add this just in case it'll be helpful for someone: when using > chroot, ovenpvn can't access /etc/localtime file and can't get correct > timezone, so you need to mount this file in chroot as well: > mkdir /etc/openvpn/etc > touch /etc/openvpn/etc/localtime > mount --bind /etc/localtime /etc/openvpn/etc/localtime > > And write this changes in your /etc/fstab: > echo "/etc/localtime /etc/openvpn/etc/localtime none bind" >> /etc/fstab > > -- > Regards, > Polotnyanko Nikita Sergeevich mailto:pboxw...@gmail.com > > >