Christos Zoulas wrote:
> In article <20180429192706.GA25516@neva>,
> Alexander Nasonov  <al...@yandex.ru> wrote:
> 
> >I don't think adjtime will work because ntpd still runs as root and
> >it can't drop to an unprivileged user before it calls chroot(2).
> 
> Right it is the chicken and the egg problem. Your case of running it in
> a non-dev chroot is special :-)

In general, should I expect that /var/chroot can be mounted with nodev?

On a quick look in my rc.d directory, only ntpd and named create nodes
in /var/chroot/dev. I run named with nodev on one of my machines and it
works fine.

-- 
Alex

Reply via email to