I investigated the problem a little more and found, that when there is a non-existent directory entry in my PATH, the problem occurs. If all of the directories from my PATH exist, then it works fine.
niedz., 20 sty 2019 o 12:00 Dariusz Sendkowski <dsendkow...@gmail.com> napisaĆ(a): > This is -stable 6.4. > doas.conf: > permit nopass myuser as root > > > > > On Sun, 20 Jan 2019 at 11:50, Hiltjo Posthuma <hil...@codemadness.org> > wrote: > >> On Sun, Jan 20, 2019 at 11:15:38AM +0100, Dariusz Sendkowski wrote: >> > Hi, >> > >> > Calling 'doas' in a loop makes the machine hang. >> > I guess this is not an expected behavior. >> > It can be checked by executing the following simple bash script: >> > >> > for i in {0..20000} >> > do >> > doas ls some_dir >> > done >> > >> > I have run it on three different machines and the result is the same on >> > each of them. After about 9000 iterations the entire machine hangs. >> > Executing the script without 'doas' works fine. >> >> Hi, >> >> Just tested, but no issue here on -current. >> >> What is your doas.conf contents and OpenBSD version / dmesg? >> >> -- >> Kind regards, >> Hiltjo >> >