close(2) on a PF_ROUTE socket returns -1 and sets errno to EOPNOTSUPP

2023-01-14 Thread Guy Yur
== -1) err(1, "close()"); return 0; } Regards, Guy Yur

Re: Interrupted fputc followed by fprintf in _IOLBF mode causes core dump

2022-03-25 Thread Guy Yur
On Fri, Mar 25, 2022 at 5:50 PM Mark Johnston wrote: > > On Fri, Mar 25, 2022 at 03:18:40PM +0300, Guy Yur wrote: > > Hi, > > > > dhcpcd on head (Mar 24) and 13.1-BETA2 crashes in fprintf/__sfvwrite. > > It doesn't crash if If I revert t

Interrupted fputc followed by fprintf in _IOLBF mode causes core dump

2022-03-25 Thread Guy Yur
int main() { struct sigaction sa; sa.sa_handler = alrm; sigemptyset(_mask); sa.sa_flags = 0; sigaction(SIGALRM, , NULL); setvbuf(stderr, buf, _IOLBF, sizeof(buf)); alarm(1); while (!ferror(stderr)) { fputc('\n', stderr); } fprintf(stderr, "%s", "a"); return 0; } Regards, Guy Yur

no message of the day displayed by login after reboot when update_motd="NO"

2021-04-05 Thread Guy Yur
was done in second diff: https://reviews.freebsd.org/D26654?id=78733 Regards, Guy Yur ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: adding existing ipv6 network route returns ENOMEM instead of EEXIST if loopback route also exists

2021-01-24 Thread Guy Yur
Hi, On 25/11/20 1:12 pm, Alexander V. Chernikov wrote: 21.11.2020, 22:48, "Guy Yur" : Hi, When adding a route with a netmask, add_route() in route_ctl.c adds the route with destination address masked. If the add failed (for example, the route exists) it calls lookup_prefix() with th

adding existing ipv6 network route returns ENOMEM instead of EEXIST if loopback route also exists

2020-11-21 Thread Guy Yur
the interface address as the destination. rtinit returned ENOMEM instead of EEXIST causing dhcpcd to printCannot allocate memory. route commands above showing the problem were run in r367863 without D15406 changesas well. Thanks, Guy Yur ___ freebsd-current

Re: pkg.c revision 367687 breaks pkg

2020-11-15 Thread Guy Yur
("user.localbase", mib, ) == 0) {   for (int i = 0; i < miblen; i++)     printf("%d ", mib[i]);   printf("\n"); } tmplen = sizeof(path); if (sysctl(mib, miblen, path, (size_t *), NULL, 0) == 0)   printf("%s : %zd\n", path, tmplen); prints:  : 1  : 1 8 21 /usr/lo

Re: emulators/qemu-user-static needs MAP_GUARD support

2017-07-05 Thread Guy Yur
Hi Alan, On 1 July 2017 at 23:07, Alan Cox <alan.l@gmail.com> wrote: > > On Sat, Jul 1, 2017 at 2:46 PM, Guy Yur <guy...@gmail.com> wrote: >> >> Hi, >> >> I tried to run armv6 /bin/sh in a chroot on an >> amd64 host using qemu-arm-static. >

running binary in chroot using qemu-arm-static fails to mmap after r320318

2017-07-01 Thread Guy Yur
Hi, I tried to run armv6 /bin/sh in a chroot on an amd64 host using qemu-arm-static. It failed on invalid argument to mmap. # cp /usr/local/bin/qemu-arm-static /chroots/armv6/root/ # chroot /chroots/armv6 /root/qemu-arm-static /bin/sh /lib/libedit.so.7: mmap of entire address space failed:

Re: compiler-metadata.mk for main arch deleted when crossbuilding

2017-06-24 Thread Guy Yur
On 23 June 2017 at 21:50, Bryan Drewery <bdrew...@freebsd.org> wrote: > On 6/23/2017 11:28 AM, Bryan Drewery wrote: >> On 6/23/2017 11:00 AM, Guy Yur wrote: >>> Hi Bryan, >>> >>> I use a script for building both amd64 and armv6 on an amd64 machi

compiler-metadata.mk for main arch deleted when crossbuilding

2017-06-23 Thread Guy Yur
Hi Bryan, I use a script for building both amd64 and armv6 on an amd64 machine. Basically, export TARGET=amd64 TARGET_ARCH=amd64 make -j2 -DNO_CLEAN buildworld export TARGET=arm TARGET_ARCH=armv6 make -j2 -DNO_CLEAN buildworld The amd64 build creates /usr/obj/usr/src/compiler-metadata.mk The

Re: release.sh: sh: head: not found \n Unable to determine linker type from LD=ld

2017-06-23 Thread Guy Yur
On 23 June 2017 at 15:36, Alastair Hogge wrote: > Hi, > > My 12.0-CURRENT r320259 host is unable to complete a release.sh build of > a generic world: > > [...] > =/tmp/install.hb5C6cay PATH_LOCALE=/tmp/install.hb5C6cay/locale rm -rf > /tmp/install.hb5C6cay > sh: head: not found

IPV6_ORIGDSTADDR documentation in ip6.4 man page was added commented out in r314722

2017-03-11 Thread Guy Yur
?id=197256 Thanks, Guy Yur ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

resolvconf Makefile RESTARTCMD sed after r312992

2017-02-03 Thread Guy Yur
Hi, In openresolv 3.9.0, the only RESTARTCMD pattern left is @RESTARTCMD@. The '@RESTARTCMD something@' pattern was dropped from pdns_recursor.in. r312992 removed RESTARTCMD_WITH_ARG for @RESTARTCMD something@ but reverted the sed to be '@RESTARTCMD \(.*\)@' and RESTARTCMD= to be the value of

Re: installworld fails on missing tzsetup when WITHOUT_DIALOG is set

2016-10-23 Thread Guy Yur
On Sat, Oct 22, 2016 at 7:23 PM, Baptiste Daroussin <b...@freebsd.org> wrote: > On Sat, Oct 22, 2016 at 06:51:28PM +0300, Guy Yur wrote: >> Hi, >> ... > > My proposal is a bit different: build tzsetup without dialog support :) > > https://reviews.freebsd.org/D8325

installworld fails on missing tzsetup when WITHOUT_DIALOG is set

2016-10-22 Thread Guy Yur
Hi, installworld fails on missing tzsetup when src.conf has WITHOUT_DIALOG= and delete-old was previously run to remove tzsetup from the system. mkdir -p /tmp/install.8gNIwAFV progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp date echo egrep find grep id install ln make mkdir

Re: panic "wlock already held" when changing ipv6 default route

2016-08-05 Thread Guy Yur
On Fri, Mar 25, 2016 at 8:14 AM, Alexander V. Chernikov <melif...@freebsd.org> wrote: > 25.03.2016, 02:11, "Guy Yur" <guy...@gmail.com>: >> Hi, >> >> When changing the ipv6 default route I get a panic on wlock already held. >> Could be related

Re: resolvconf needs @RESTARTCMD@ to be replaced after r303062

2016-08-01 Thread Guy Yur
On Sun, Jul 31, 2016 at 9:09 PM, Pedro Giffuni <p...@freebsd.org> wrote: > > > On 07/31/16 11:56, Guy Yur wrote: >> >> Hi, >> >> I meant for the RESTARTCMD_= statement to be added too. >> I should have sent a patch file. >> > > Ugh ... ye

Re: resolvconf needs @RESTARTCMD@ to be replaced after r303062

2016-07-31 Thread Guy Yur
On Sun, Jul 31, 2016 at 5:46 AM, Pedro Giffuni wrote: > > >>> Index: sbin/resolvconf/Makefile >>> === >>> --- sbin/resolvconf/Makefile(revision 303557) >>> +++ sbin/resolvconf/Makefile(working copy) >>> @@

resolvconf needs @RESTARTCMD@ to be replaced after r303062

2016-07-30 Thread Guy Yur
Hi, openresolv 3.8.1 added RESTARTCMD=@RESTARTCMD@ in contrib/openresolv/resolvconf.in. It is not replaced by the sed expressions in sbin/resolvconf/Makefile. Error seen is "eval: @RESTARTCMD@: not found". Current @RESTARTCMD \(.*\)@ sed expression needs to be kept for pdns_recursor.in and a

Re: crossbuild buildworld on amd64 for arm fails to find KERNCONF GENERIC after r302865

2016-07-15 Thread Guy Yur
On Fri, Jul 15, 2016 at 6:11 PM, Cy Schubert <cy.schub...@komquats.com> wrote: > In message <CAC67Hz-ZqcYR3p4fR+cBiBcju3JrOxtU+wTr6hwMn_eoo=Wedw@mail.gmail.c > om> > , Guy Yur writes: >> Hi, >> >> I am trying to crossbuild arm on an amd64 machine and

crossbuild buildworld on amd64 for arm fails to find KERNCONF GENERIC after r302865

2016-07-15 Thread Guy Yur
Hi, I am trying to crossbuild arm on an amd64 machine and buildworld is checking for KERNCONF and fails to find GENERIC kernel. I only set KERNCONF when I am doing buildkernel/installkernel so KERNCONF is the default set in Makefile.inc1. # make buildworld TARGET=arm TARGET_ARCH=armv6 make[1]:

Re: Samba 4.3 and 4.4 crashes on FreeBSD 11-ALPHA4

2016-06-25 Thread Guy Yur
Hi, On Sat, Jun 25, 2016 at 12:20 PM, Konstantin Belousov <kostik...@gmail.com> wrote: > On Sat, Jun 25, 2016 at 11:49:39AM +0300, Konstantin Belousov wrote: >> On Sat, Jun 25, 2016 at 01:03:13AM +0300, Guy Yur wrote: >> > libtdb.so.1`tdb_runtime_check_for_robust_mutex

Re: Samba 4.3 and 4.4 crashes on FreeBSD 11-ALPHA4

2016-06-24 Thread Guy Yur
Hi, I got the same crash on a VirtualBox VM with r302170 and samba43-4.3.9, tdb-1.3.9,1. Based on the smbd log, when I was on r301989 smbd didn't crash. smbd started crashing when I installed r302170 today. gdb 6.1.1 and 7.11.1 don't see the shared libraries for some reason so I don't get the

panic "wlock already held" when changing ipv6 default route

2016-03-24 Thread Guy Yur
Hi, When changing the ipv6 default route I get a panic on wlock already held. Could be related to r293424 lock changes, haven't checked an older version yet. route add -inet6 default fe80::7 route change -inet6 default fe80::7 panic: rw_rlock: wlock already held for rib head lock @

ncurses (non-w) is missing from _LIBRARIES= in src.libnames.mk

2014-12-04 Thread Guy Yur
Hi, ncurses (non-w version) is missing from _LIBRARIES= in src.libnames.mk This causes libmenu, libpanel and libform to not list ncurses as a needed library. head r275469M i386: readelf -d /usr/lib/libmenu.so | grep NEEDED 0x0001 (NEEDED) Shared library: [libc.so.7]

Re: delete-old issue with src.opts.mk

2014-05-10 Thread Guy Yur
Hi, On Sat, May 10, 2014 at 10:54 PM, Warner Losh i...@bsdimp.com wrote: On May 10, 2014, at 9:45 AM, Thomas Hoffmann trh...@gmail.com wrote: Three questions: 1. Why is delete-old repeatedly asking me if I want to remove /usr/share/mk/ src.opts.mk? It seems to keep getting installed. It

Re: WITHOUT_NIS after bsd.opts.mk / src.opts.mk split

2014-05-09 Thread Guy Yur
Hi, On Fri, May 9, 2014 at 2:54 AM, Warner Losh i...@bsdimp.com wrote: On May 8, 2014, at 3:26 PM, Guy Yur guy...@gmail.com wrote: Hi, After the bsd.opts.mk / src.opts.mk split WITHOUT_NIS in src.conf doesn't work. It should still work… At least that’s the intention... src.conf

WITHOUT_NIS after bsd.opts.mk / src.opts.mk split

2014-05-08 Thread Guy Yur
Hi, After the bsd.opts.mk / src.opts.mk split WITHOUT_NIS in src.conf doesn't work. src.conf is included in src.opts.mk after bsd.own.mk which includes bsd.opts.mk. Should bsd.opts.mk options overrides now be set in make.conf instead of src.conf? Was on r265455, updated to r265715 and rebuilt