tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: /dev/clockctl, O_CLOEXEC and forking
Christos Zoulas wrote:
> In article <20180429192706.GA25516@neva>,
> Alexander Nasonov <alnsn%yandex.ru@localhost> 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
Home |
Main Index |
Thread Index |
Old Index