netlink socket does not accept SOCK_DGRAM

2023-01-14 Thread User Ngor
man 4 rtnetlink says:     int socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); The following snippet fails int fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); if (fd < 0) { perror("Failed to open netlink socket"); return -1; } printf("all good\n");

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

2023-01-14 Thread Guy Yur
Hi, close(2) on a PF_ROUTE socket returns -1 and sets errno to EOPNOTSUPP. I am testing 14.0-CURRENT (main branch) built today. On 13.1-RELEASE-p5 close returns 0. The problem looks to be related to 36b10ac2cd18a535cac20ccf51e3fc6c408671e8. The commit removed rts_disconnect and initialization

install: wdatwd.4.gz: No such file or directory

2023-01-14 Thread Graham Perrin
After each update to the OS, I routinely update the main jail that I use for poudriere: poudriere jail -u -j main Today's update of the jail failed, as outlined below. install: wdatwd.4.gz: No such file or directory It seems that the 'copperbowl' part of the 'Jail fs:' line for the jail