Re: Non stop /bsd: smtpctl[51626]: pledge "fattr", syscall 124
Hello,Thank you for your answers.I did nothing except applying the errata patches.So after reading your emails I recompiled libc# cd /usr/src/lib/libc && make obj && make && make installAnd in the past 15 minutes I have not seen any more messages.Let's see how it goes Le mardi 7 janvier 2020 à 17:17:43 UTC+1, Martijn van Duren a écrit : Quite some time I made a change that made smtpctl use tmpfile(3). Are you kernel, libc and smtpctl all up to date? (e.g. did you compile smtpctl from source without updating libc) martijn@ On 1/7/20 5:04 PM, Johannes Krottmayer wrote: > On 07.01.20 at 07:22, Mik J wrote: >> Hello, >> >> I keep having these logs in my /var/log/messages do you know what this >> means ? >> Jan 7 06:51:01 v /bsd: smtpctl[51626]: pledge "fattr", syscall 124 >> Jan 7 06:52:01 v /bsd: smtpctl[64532]: pledge "fattr", syscall 124 >> Jan 7 06:52:01 v /bsd: smtpctl[13532]: pledge "fattr", syscall 124 >> Jan 7 06:53:01 v /bsd: smtpctl[20480]: pledge "fattr", syscall 124 >> Jan 7 06:53:01 v /bsd: smtpctl[70486]: pledge "fattr", syscall 124 >> Jan 7 06:54:01 v /bsd: smtpctl[88165]: pledge "fattr", syscall 124 >> Jan 7 06:54:01 v /bsd: smtpctl[96175]: pledge "fattr", syscall 124 >> Jan 7 06:55:01 v /bsd: smtpctl[22724]: pledge "fattr", syscall 124 >> Jan 7 06:55:01 v /bsd: smtpctl[56931]: pledge "fattr", syscall 124 >> Jan 7 06:55:01 v /bsd: smtpctl[99044]: pledge "fattr", syscall 124 >> >> Thank you > > FYI: > > The pledge mechanism is a security feature from OpenBSD. > > I your case it means that the kernel AFAIK has prevent "smtpctl" to call > the function "fattr". > > Details: > https://man.openbsd.org/pledge.2 > > Cheers, > Johannes K. > > > >
Re: Non stop /bsd: smtpctl[51626]: pledge "fattr", syscall 124
Quite some time I made a change that made smtpctl use tmpfile(3). Are you kernel, libc and smtpctl all up to date? (e.g. did you compile smtpctl from source without updating libc) martijn@ On 1/7/20 5:04 PM, Johannes Krottmayer wrote: > On 07.01.20 at 07:22, Mik J wrote: >> Hello, >> >> I keep having these logs in my /var/log/messages do you know what this >> means ? >> Jan 7 06:51:01 v /bsd: smtpctl[51626]: pledge "fattr", syscall 124 >> Jan 7 06:52:01 v /bsd: smtpctl[64532]: pledge "fattr", syscall 124 >> Jan 7 06:52:01 v /bsd: smtpctl[13532]: pledge "fattr", syscall 124 >> Jan 7 06:53:01 v /bsd: smtpctl[20480]: pledge "fattr", syscall 124 >> Jan 7 06:53:01 v /bsd: smtpctl[70486]: pledge "fattr", syscall 124 >> Jan 7 06:54:01 v /bsd: smtpctl[88165]: pledge "fattr", syscall 124 >> Jan 7 06:54:01 v /bsd: smtpctl[96175]: pledge "fattr", syscall 124 >> Jan 7 06:55:01 v /bsd: smtpctl[22724]: pledge "fattr", syscall 124 >> Jan 7 06:55:01 v /bsd: smtpctl[56931]: pledge "fattr", syscall 124 >> Jan 7 06:55:01 v /bsd: smtpctl[99044]: pledge "fattr", syscall 124 >> >> Thank you > > FYI: > > The pledge mechanism is a security feature from OpenBSD. > > I your case it means that the kernel AFAIK has prevent "smtpctl" to call > the function "fattr". > > Details: > https://man.openbsd.org/pledge.2 > > Cheers, > Johannes K. > > > >
Re: Non stop /bsd: smtpctl[51626]: pledge "fattr", syscall 124
On 07.01.20 at 07:22, Mik J wrote: > Hello, > > I keep having these logs in my /var/log/messages do you know what this > means ? > Jan 7 06:51:01 v /bsd: smtpctl[51626]: pledge "fattr", syscall 124 > Jan 7 06:52:01 v /bsd: smtpctl[64532]: pledge "fattr", syscall 124 > Jan 7 06:52:01 v /bsd: smtpctl[13532]: pledge "fattr", syscall 124 > Jan 7 06:53:01 v /bsd: smtpctl[20480]: pledge "fattr", syscall 124 > Jan 7 06:53:01 v /bsd: smtpctl[70486]: pledge "fattr", syscall 124 > Jan 7 06:54:01 v /bsd: smtpctl[88165]: pledge "fattr", syscall 124 > Jan 7 06:54:01 v /bsd: smtpctl[96175]: pledge "fattr", syscall 124 > Jan 7 06:55:01 v /bsd: smtpctl[22724]: pledge "fattr", syscall 124 > Jan 7 06:55:01 v /bsd: smtpctl[56931]: pledge "fattr", syscall 124 > Jan 7 06:55:01 v /bsd: smtpctl[99044]: pledge "fattr", syscall 124 > > Thank you FYI: The pledge mechanism is a security feature from OpenBSD. I your case it means that the kernel AFAIK has prevent "smtpctl" to call the function "fattr". Details: https://man.openbsd.org/pledge.2 Cheers, Johannes K.