Friday, April 24, 2026

Re: ttyplot and amd64 snapshots

On Thu, Apr 23, 2026 at 08:15:52AM +0200, Matthieu Herrb wrote: > > When I invoke "vmstat 1 | awk 'NR>2 { print 100-$(NF); fflush(); }' | > > ttyplot -t "Cpu usage" -s 100" > > I get a "waiting for data from stdinttyplot[23086]: pledge "rpath", syscall > > 5" and then Abort trap (core dump). > > > > I assume the dump may not interest you - as either I am doing something > > wrong, or I somehow need to convince pledge/unveil to allow me do my > > ttyplot invocation. > > > > I wanted to let you know, as ttyplot may not be high on the list of > > packages needing attention. > > > > Thank you for your time. > > > > Thanks for the report. This is caused by the pledge tighting changes > that happenned a couple of weeks ago. > > Possible fix is to postpone the pledge() call after /dev/tty has been > opened. Yes, looks good to me. > ok? OK fcambus@, pending an OK from naddy@ or sthen@

No comments:

Post a Comment