On Mon, Mar 16, 2026 at 06:33:54AM -0700, Kastus Shchuka wrote:
> On Mon, Mar 16, 2026 at 11:18:07AM +0100, [email protected] wrote:
> > hi everyone
> > 
> > since i got no replies on the bugs mailing list[0], i was wondering if
> > it also stopped working for others or if i am doing something wrong here
> > 
> > /etc/daily runs `calendar -a` and it stopped sending emails for me
> 
> I observe the same behavior after installing patch 21--no emails are sent 
> from calendar
> invocation from /etc/daily or manual run of "doas calendar -a"
> 
I wonder if it breaks here in io.c:

    386         /* set output to a temporary file, so if no output don't send 
ma    386 il */
    387         return(tmpfile());

As tmppath is no longer available in pledge(2), I guess calendar
should use unveil(2) with path "/tmp" and permissions "rwc".

Simple recompiling of calendar as suggested in OpenBSD 7.8 errata 021, March 
10, 2026
is not enough to keep "calendar -a" functionality.


> > 
> > running openbsd 7.8 -stable. applied all syspatches
> > 
> > nathanael
> > 
> > 0. https://marc.info/?l=openbsd-bugs&m=177325427032613&w=2
> > 
> 

Reply via email to