On Thu, Oct 29, 2015 at 12:17:15PM +0200, Gregory Edigarov wrote:
> Hello
>
> ntpd_flags=-sv
>
> Oct 29 11:19:32 lbld12 /bsd: ntpd(15132): syscall 5
> Oct 29 11:19:32 lbld12 ntpd[697]: ntp_dispatch_imsg in ntp engine: pipe
> closed
> Oct 29 11:19:32 lbld12 ntpd[10730]: dispatch_imsg in main: pipe closed
>
> Without flags everithing works.
>
Without a dmesg or more information it is a bit complex to be sure... I
suppose your running kernel isn't enough current. A problem like that
was corrected some days ago (by revision 1.72 of
src/sys/kern/kern_pledge.c).
Please check your running kernel (the rev 1.72 is from Sun Oct 25
11:09:28 2015 UTC).
If the problem is on latest -current, please include in your report at
least:
- dmesg
- a kdump extract of the ntpd running
ktrace -di /etc/rc.d/ntpd start ; kdump | tail -40
For a more complete report for pledge(2) issue, please refer to previous
mails in tech: http://marc.info/?l=openbsd-tech&m=144412493925465&w=2
(note: pledge(2) was tame(2) before).
Thanks.
--
Sebastien Marie