Re: patch to ksh to show current rdomain

2022-07-26 Thread Omar Polo
mgra...@brainfat.net wrote: > Having the information in an env variable would make it useful in > scripts. The only thing I'm not sure of is can the $RDOMAIN variable be > used to show the current rdomain in the prompt? (which is my use case) > If it's not possible to use an env variable in the PS

Re: httpd+slowcgi sometimes wrongly interpret next request

2022-08-10 Thread Omar Polo
Claudio Jeker wrote: > On Tue, Jul 05, 2022 at 10:08:53AM +, alex.vatche...@gmail.com wrote: > > >Synopsis: httpd+slowcgi sometimes wrongly interpret next request > > >Category: daemon > > >Environment: > > System : OpenBSD 7.1 > > Details : OpenBSD 7.1 (GENERIC.MP) #3: Sun

Re: doas bug

2022-08-13 Thread Omar Polo
cmd venera$ doas whoami root venera$ doas head -1 /etc/doas.conf permit keepenv nopass "cmd" same thing for all the other keywords. Cheers, Omar Polo

Re: [PATCH] mg: batch mode leaves terminal in insane mode

2023-10-24 Thread Omar Polo
On 2023/10/23 21:09:00 +0100, Mark Willson wrote: > Hi Folks, > > When mg(1) is run in batch mode (-b), at exit the terminal is left in a > non-sane state. Entering ^Jstty sane^J at the shell prompt corrects the > display. This behaviour was observed on OpenBSD 7.4. It there since the introducti

Re: xenodm doesn't login after enabling UTF-8 by setting LC_CTYPE

2023-11-25 Thread Omar Polo
On 2023/11/25 22:02:38 +0700, hahahahacker2...@airmail.cc wrote: > > Description: > Adding the line export LC_CTYPE="en_US.UTF-8" then login, it just check > the > password, then fall back to the xenodm login screen. > Can't find any log for the error, tried /var/log and logs at ~ but no > result

Re: touchpad sometimes stops working

2024-03-01 Thread Omar Polo
1399 irq0/ipi 1765094 712 Total 5490384 2216 Thanks, Omar Polo

Re: ls -l Segmentation fault

2024-03-26 Thread Omar Polo
[moving to bugs@] On 2024/03/26 17:15:28 +, Peter Fraser wrote: > For some reason I don't know my partition /var/www got screwed up and there > was a long list in /var/www/lost+found. > > Since I populate /var/www by using rsync from another computer, and I expect > didn't notice the exist

Re: Kernel lock vmmaplk using net/toxic

2022-12-17 Thread Omar Polo
On 2022/12/12 16:15:22 -0800, Jacqueline Jolicoeur wrote: > >Synopsis:Kernel lock vmmaplk using net/toxic > >Category:Kernel > >Environment: > System : OpenBSD 7.2 > Details : OpenBSD 7.2-current (GENERIC.MP) #874: Fri Dec 9 > 10:09:48 MST 2022 >

Re: segmentation fault in opensmtpd mda

2023-03-18 Thread Omar Polo
On 2023/03/18 15:06:43 +0100, p...@delphinusdns.org wrote: > >Synopsis:segmentation fault in opensmtpd mda > >Category:system > >Environment: > System : OpenBSD 7.2 > Details : OpenBSD 7.2 (GENERIC.MP) #2: Thu Nov 24 23:53:03 MST 2022 > > r...@sy

Re: segmentation fault in opensmtpd mda

2023-03-18 Thread Omar Polo
On 2023/03/18 13:10:49 -0600, "Todd C. Miller" wrote: > Thanks, I was unable to get a backtrace so this really helped. I > think the safest thing to do is to just return an error if the > expanded string is NULL. I'm not sure if there are other expansions > that can also be NULL here. > > Alter

Re: segmentation fault in opensmtpd mda

2023-03-18 Thread Omar Polo
On 2023/03/18 15:58:14 -0600, Todd C. Miller wrote: > On Sat, 18 Mar 2023 21:17:36 +0100, Omar Polo wrote: > > > If cscope is not missing anything, mda_expand_token is only called by > > mda_expand_format which is only called by mda_unpriv. > > > > Now, m

Re: grive2 doesn't work

2023-06-12 Thread Omar Polo
d `megadl' from that package to download files. There was a submission in ports for megacmd which didn't got any replies, but you might want to give it a shot: https://marc.info/?l=openbsd-ports&m=168414335307603&w=2 Cheers, Omar Polo

Re: ftp(1) will never attempt to set the modification date of any file retrieved by http[s]

2023-06-28 Thread Omar Polo
On 2023/06/25 18:22:31 -0700, a dog wrote: > >Synopsis:ftp(1) will never attempt to set the modification date of any > >file retrieved by http[s] > >Category:user > >Environment: > System : OpenBSD 7.3 > Details : OpenBSD 7.3-current (GENERIC.MP) #1259: Fri Jun 23 >

Re: Syslog does not attempt DNS resolution if it previously failed during startup - proposed patch In

2023-06-28 Thread Omar Polo
;f_file = fd_udp6; > + break; > + } > + } > + > + > memset(&msghdr, 0, sizeof(msghdr)); > msghdr.msg_name = &f->f_un.f_forw.f_addr; > msghdr.msg_namelen = f->f_un.f_forw.f_addr.ss_len; > @@ -2704,25 +2796,12 @@ cfline(char *line, char *progblock, char > f->f_un.f_forw.f_loghost); > break; > } > - if (priv_getaddrinfo(ipproto, host, port, > -(struct sockaddr*)&f->f_un.f_forw.f_addr, > -sizeof(f->f_un.f_forw.f_addr)) != 0) { > - log_warnx("bad hostname \"%s\"", > -f->f_un.f_forw.f_loghost); > - break; > - } > f->f_file = -1; > if (strncmp(proto, "udp", 3) == 0) { > - switch (f->f_un.f_forw.f_addr.ss_family) { > - case AF_INET: > - f->f_file = fd_udp; > - break; > - case AF_INET6: > - f->f_file = fd_udp6; > - break; > - } > + f->f_un.f_forw.f_resolved = 0; > f->f_type = F_FORWUDP; > } else if (strncmp(ipproto, "tcp", 3) == 0) { > + f->f_un.f_forw.f_resolved = 0; > if ((f->f_un.f_forw.f_bufev = bufferevent_new(-1, > tcp_dropcb, tcp_writecb, tcp_errorcb, f)) == NULL) { > log_warn("bufferevent \"%s\"", Thanks, Omar Polo

Re: mg: auto-indent-mode gets indentation wrong [PATCH]

2024-07-08 Thread Omar Polo
if ((n = cols / 8) != 0 && linsert(n, '\t') == FALSE) + if ((n = cols / curbp->b_tabw) != 0 && linsert(n, '\t') == FALSE) return (FALSE); - if ((n = cols % 8) != 0 && linsert(n, ' ') == FALSE) + if ((n = cols % curbp->b_tabw) != 0 && linsert(n, ' ') == FALSE) return (FALSE); return (TRUE); } Thanks, Omar Polo

Re: sysupgrade Verifying sets FAILED

2024-08-20 Thread Omar Polo
On 2024/08/20 21:39:50 +0200, UDENIX wrote: > >> "WireGuard is not included in the base system because it violates >> > >> OpenBSD's copyright policy" huh? > >> > > > > I am referring to the Reguardar configuration tools > > (net/reguardar-tools). I think they are essential for using Reguardar

Re: relayd TLS handshake failure

2024-08-21 Thread Omar Polo
On 21/08/24 14:49, Kirill A. Korinsky wrote: > On Wed, 21 Aug 2024 14:32:34 +0200, > David McMackins II wrote: >> rsae_send_imsg: privenc poll timeout, keyop #0 >> relay gemini, session 1 (1 active), 0, 192.168.1.1 -> :11965, TLS >> handshake error: handshake failed: error:1402D438:SSL >> routines

Re: Manual page "forward" and error message from sendmail when reading .forward

2024-08-22 Thread Omar Polo
behind TRACE_EXPAND, so not immediately visible. I'm wondering if, only for this case, we should raise the logging to a warning and/or return a permfail instead. My suggestion, however, is to alias the root user to another user, as per the installer default (if you add one that is), and then handle the mail as you prefer *as that regular unprivileged user*. Thanks, Omar Polo

Re: Signed integer overflow in telnet.

2024-08-26 Thread Omar Polo
On 2024/08/25 20:55:09 -0700, Collin Funk wrote: > "Theo de Raadt" writes: > > > Noone uses telnet, we (mostly) killed it! > > > > https://www.openbsd.org/images/tshirt-9b.jpg > > > > There is no way in heck this code is going to be converted in OpenBSD > > to use strtol(), which is even more wi

Re: [ksh?] quote missing exit error message

2024-08-30 Thread Omar Polo
On 30/08/24 18:09, Anon Loli wrote: > On Thu, Aug 29, 2024 at 07:03:11PM -0400, Nick Holland wrote: >> On 8/29/24 16:11, Anon Loli wrote: >>> Okay, I have an vague idea about what happens, let me 1st add this to the >>> bug >>> report: >>> >>> So I launched a half a dozen tmux windows and they had

Re: [ksh?] quote missing exit error message

2024-08-30 Thread Omar Polo
On 2024/08/30 17:51:55 +, Anon Loli wrote: > On Fri, Aug 30, 2024 at 06:41:50PM +0200, Omar Polo wrote: > > On 30/08/24 18:09, Anon Loli wrote: > > > On Thu, Aug 29, 2024 at 07:03:11PM -0400, Nick Holland wrote: > > >> On 8/29/24 16:11, Anon Loli wrote: >

Re: touchpad sometimes stops working

2024-03-14 Thread Omar Polo via bugs
joshua stein wrote: > On Fri, 01 Mar 2024 at 09:52:51 +0100, o...@omarpolo.com wrote: > > >Description: > > Sometimes the touchpad stops working. It doesn't respond to > > finger movements nor to clicks with the buttons. > > So far it happened only while I was moving the mouse, i.e. i