00:00:12 oh wait.. it's still running 00:00:16 Something is wrong. 01:02:33 does anyone have a preferred FTP server with Kerberos support? 01:09:27 people still use ftp? 06:30:50 Hi. Where can I configure which user will send a mail with the daily/weekly/security periodic? Usually I got this mail from "root@mydomain" but now after 13-STABLE upgrade I get it from "polkitd@", sometimes "_sndio@" which is very strange. 06:34:25 I have had it spuriously from various sources because I didn't have my /etc/mail/mailer.conf set up for my then-Postfix, now-qmail setup; what MTA are you using? 06:34:31 For me those emails always come from root. I am using postfix so I can map them there in the canonical map. 06:36:29 imm_: that's definitely not normal, something has gone wrong on your system. you can't configure this as they should always be sent from root 06:36:58 imm_: can you paste the contents of /etc/passwd somewhere (e.g. on bsd.to)? 06:38:48 lw, I think that's a red herring. My passwd file wasn't muckled up and I still had this problem long ago. 06:39:34 strange, not having mailer.conf should just default to sendmail which shouldn't do this 06:39:40 (i mean, i believe you, but it's strange) 06:40:09 If /etc/mail/mail.conf is not set up then the result depends upon PATH and if something is hard coded for /usr/sbin/sendmail for example. 06:40:56 If something calls "sendmail" then gets /usr/local/sbin/sendmail and that is (in my case) postfix then the result might be different from /usr/sbin/sendmail being called from a hard coded path and not having /etc/mail/mail.conf configured it might send that one through the base sendmail instead. 06:42:06 s/mail.conf/mailer.conf/ as clearly I don't remember the exact path when typing this in off the top of my head. 06:42:35 rwp: whether this depend on $PATH isn't affected by whether mailer.conf exists. if mailer.conf doesn't exist, /usr/sbin/sendmail falls back to _PATH_DEFAULTMTA, it doesn't do a $PATH lookup. but the default (at least in -current) is dma, not sendmail like i said 06:43:09 at 13-stable the default was still sendmail I believe? 06:43:35 yeah, could be. i don't remember when the switch to dma happened 06:44:22 (imo it's wrong that postfix installs /usr/local/sbin/sendmail, but this is a whole other discussion...) 06:44:44 Looks like it is still sendmail to me on 13. And postfix is a port and ports install in /usr/local by policy. 06:45:20 rwp: it should be in /usr/local but it shouldn't be in /usr/local/sbin. /usr/local/libexec/postfix/sendmail would be more appropriate. that way there's only a single 'sendmail' on $PATH 06:46:58 I would be okay with that configuration. Note that I was not consulted in any way or at any time about this. :-) 06:47:19 yeah, i'm not disagreeing with you, it just occurs to me that this is wrong since you mentioned $PATH 06:47:30 In any case I was just pointing out one possible way for things to pop through two different MTAs on a system, in a confusing way. 06:48:18 I always set PATH so that /usr/local is ahead of /usr here. That way installed ports always have priority override to what is installed in base. That's just the way I think things should be done. 06:49:38 There are other things that are both in base and in ports and if PATH was for /usr before /usr/local then, say, installing openssh as a port would never be used and only the base version would be used. Just for an example. (I don't ever install the openssh port. I just always use the one in base.) 06:50:32 i'm having fun here with kerberos at the moment because i want to use /usr/bin/kinit to get a ticket to make sure the ticket is compatible with base libkrb5, but i have to /usr/local/bin/kadmin to manage the MIT KDC... (at least this one will be fixed when we get MIT krb in base) 06:52:14 Just for another tidbit on the mailer.conf topic... If /usr/local/etc/mail/mailer.conf exists then it overrides /etc/mail/mailer.conf and of course I set the /usr/local one so that I never need to merge at upgrade time. And then /usr/sbin/sendmail via mailwrapper will call the installed MTA port rather than the sendmail base. 06:53:19 Meaning that probably /etc/mail/mailer.conf is not really actually used if people are using /usr/local/etc/mail/mailer.conf instead. (shrug) 06:54:29 So far I have successfully avoided ever needing to learn much about kerberos. I have never worked in a kerberized environment. 06:55:10 this feels like an obvious question but what's the most straightforward way to chroot to /compat/linux as a non-root uid? 06:55:28 i can't use su(do) because my uid doesn't exist in the chroot... i suppose maybe i could add it 06:56:00 ah, maybe it makes more sense to change compat.linux.emul_path 07:01:43 I haven't tried this on freebsd in /compat but on other systems I can "sudo chroot /srv/chroots/foo su - rwp" or instead of su - use "login -f rwp" or instead use other similar things. 07:11:15 That's assuming that the uid that does exist that I want to run as is there and might be different from the one outside. If I want to run as root then I can run as root the same way of course. But otherwise yes one would need to have some uid in the chroot available to run. 07:30:21 * lw decides emulators/wine-proton is probably going to be easier 08:09:45 does DRI under Linuxulator just... not work? Mesa is trying to load "amdgpu_dri.so" which doesn't exist anywhere, as far as i can see 08:13:34 lw: normally those would be in /usr/lib/dri 08:14:02 considering people are running steam games under the Linuxulator, I would imagine it's at least available even if it's not installed by default 08:14:04 tm512: /usr/lib/x86_64-linux-gnu/dri in this case. but it's not, and nothing seems to provide it (tried ubuntu 22.04 and 20.04) 08:15:16 as far as i can tell, it should be using radeonsi_dri.so, which does exist 08:16:00 linuxulator-steam-utils seems to utilize the CentOS 7 base, where there's a package linux-c7-dri 08:16:32 maybe i'll try centos instead 08:22:35 also MESA_LOADER_DRIVER_OVERRIDE will explicitly set the DRI driver to use. at least on Linux at one point I remember having to use that to stop it from trying to use iris which was causing me some desktop-breaking issues 09:14:56 32bit going away isn't exactly shocking. 09:15:53 32bit kernels, I guess I should say; lib32 will probably not go anywhere, if I understand the announcement correctly. 09:18:41 lw: rwp: AmyMalik: I'm using sendmail, like on 12-STABLE. If I do 'doas mail root' then it has the correct From:. 09:19:22 Feb 13 00:18:48 xxxx sendmail[56550]: 41CNImvB056550: from=polkitd, size=9261, class=0, nrcpts=1, msgid=<202402122318.41CNImvB056550@xxx>, relay=root@localhost 09:19:29 This is what I get in the maillog. 09:20:15 The strangest thing is that it changed from polkitd to _sndio back to polkitd :D 09:21:23 Maybe it's a problem with periodic, not sendmail? 09:24:44 imm_: 'id polkitd' ? 09:25:00 lw: /etc/passwd has not changed during upgrade, should I maybe run mkdb_pw or what's the command. 09:25:11 I have /etc/ in git, no diff on passwd. 09:25:21 uid=565(polkitd) gid=565(polkitd) groups=565(polkitd) 09:25:24 pwd_mkdb -p /etc/master.passwd, but it's unlikely not updating it would cause this 09:26:04 Yes, no change, only removed the # $FreeBSD$ thingy. 09:38:48 I created a hourly periodic that just does echo and exit 1. If I do 'periodic hourly' from root shell, I get a mail from "marko" which is my main user id. But I don't see marko anywhere in the root's env or anywhere. 10:25:44 tm512: gave up on Linuxulator, ran under Wine, works great. except no sound... but sound didn't work under Linuxulator either, apparently working audio is my eternal bane on freebsd 10:48:24 am I missing something with sha256sum here: https://dpaste.org/myyQj 10:48:25 Title: dpaste/myyQj (Perl) 10:51:20 daemon: yes, you're doing it wrong. sha256sum -c expects file containing lines of the form " ", then it verifies the checksum of each file, so you don't specify the filenames themselves on the command line. the manual page is a bit unclear on this 10:51:55 ah I see 10:52:52 if you invoke it as 'sha256' then -c expects its argument to be the hash, so you could use sha256 -c $(cat sha256.txt) file.txt 10:53:43 I went for: 10:53:44 checksum=$(cat "${link}.sha256.txt") 10:53:44 echo "$checksum $link" > "${link}.sha256.txt" 10:53:52 rebuild the checksum filke 10:54:24 but working :) link should probably be 'file' maybe 10:54:38 wait no it can be filename because .sha256.txt is extension 10:55:17 voy4g3r2: have you seen md5(1)? a single manual page for 25 different utilities, with 3 different command-line syntaxes 11:07:50 brrrrr 11:19:52 lw: yes it is ugly 11:20:02 but i am just using my feelings 11:41:10 Hi there, how to extract from tar archive only specific dir content into directory? 11:41:35 nerozero: tar xf file.tar some/directory 11:41:45 doesn't seems to work ... 11:42:20 tar -xf archive.tar.gz dir -C destination/ 11:42:51 The error: No such file or directory 11:43:49 assuming 'dir' is the archived path you want to extract, tar xf archive.tar.gz -C destination dir 11:45:15 this is kinda works but it create a directory inside of the "destination" 11:45:45 is there a chance to extract only content of a "dir" without creating "destination/dir" ? 11:46:46 HA! 11:46:49 Found ! 11:46:50 --strip-components=1 11:46:55 lw thanks ! 12:27:28 lw: I did a lot of things so I can't be sure, but maybe it was stale aliases.db, but the users have not changed so it's strage. 12:29:19 aliases shouldn't affect the sender of a mail, only the destination 12:31:11 lw: Yeah, that was my thinking also, but in my test, if I have root: marko alias, then if I send from root to marko, I receive from marko to marko. 12:31:20 If I remove that alias, then it's from root. 12:32:22 odd. are you using sendmail? i wonder if this is related to the recent sendmail update 12:33:28 I'm using sendmail which was default for local mail for these periodics. 12:33:54 imm_: are you on 13-STABLE? if this only started happening recently, it might be worth asking gshapiro⊙fo 12:35:03 I'm on 13-STABLE, but I upgraded yesterday from 12-STABLE. 12:35:20 I suspect it's something in this upgrade process that was not done correctly 12:35:46 But now I can't replicate this issue with aliases, so disregard my conclusions. 12:36:07 well, maybe post on freebsd-stable@ anyway, it does seem like something is wrong somewhere 12:36:50 fwiw, sendmail update was 6 days ago: https://cgit.freebsd.org/src/commit/?h=stable/13&id=a64caf2cb2dc3ddd6f325e323c281d1463a80ccf but if you upgraded yesterday maybe unrelated. it is a newer version than in 12, though 12:36:52 Title: src - FreeBSD source tree 12:37:00 Thanks for the help, I'll see how it runs the periodics now. If I'm able to narrow the problem, I'll post to the freebsd-stable@ 12:38:10 But from hourly testing it seem to work now as expected. I don't understand it. 12:38:24 I shouldn't have rebuilt pwdb/alias.db/everything at once. 13:21:40 upgrading 13.2-RELEASE to 14.0-RELEASE. second stage freebsd-install has been running for like an hour now... dang 13:21:53 freebsd-update install* 13:31:51 yes it is super slow 13:32:19 if you installed src it uses 'install' to put into place every single file 13:35:07 maybe PKGBASE will be a reality one day .. :) 13:49:38 lw: the md5 man page has no .Xr issues and as such "out of scope" would md5 be a contrib package? i see a lot of packages that reference it... 13:52:18 but man.. perl, gnu, bsd options.. lets throw the kitchen sink at the utility. 14:09:41 mage: i hope we can flip the default on 16.0 for PkgBase 14:26:14 the only thing that is missing in freebsd-update is unattended upgrades 14:27:48 in my case I'm using jails for everything and config is in Saltstack, so I don't care about merging changes, etc .. I would like an option to by default installed new files, automatically override stuff, etc 14:54:33 Perhaps pkgbase would get you closer to what you want mage? 16:37:30 Hi. Is /usr/include/execinfo.h part of a library or is it from core FreeBSD? Do I need something special (link to something) to be able to make use of execinfo on FreeBSD? 16:38:19 it's a part of base 16:38:39 it's a part of libexecinfo, see backtrace(3) 16:40:22 Thanks! I'm not an actual FreeBSD user, I'm just testing my program here. Your overly standard compiler has already uncovered some errors in my code. 16:52:35 meator: that's an often overlooked feature of platform diversity :-) 16:54:23 try musl as well 16:56:39 hear, hear 16:56:42 My Linux distro supports musl, so that is easy to test. But I had to set up a VM to run FreeBSD. It was pretty painful actually, had to switch my hypervisor because libvirt doesn't work, but it's working now. 16:57:37 meator: libvirt didn't work for FreeBSD, or at all on the host? 17:00:18 Cursor movements weren't detected on FreeBSD guest. I kinda needed that. 17:01:02 Hrm. I've never tried a graphical FreeBSD guest inside libvirt. I run any number of console-only guests that way though. 17:04:34 Where could I get more information about libexecinfo? 17:09:41 https://github.com/ronchaine/libexecinfo 17:09:42 Title: GitHub - ronchaine/libexecinfo: libexecinfo for `execinfo.h` in musl systems 17:37:40 mason: Thanks! I have fixed my buildsystem. It now tries to look for this library. 18:22:41 so i just finished upgrading from 13.2-RELEASE to 14.0-RELEASE and then i proceeded to upgrade ezjail's basejail 18:22:52 but after this i can no longer "su" 18:23:19 i get "su: pam_start: System error" every time in all jails 19:22:48 hjf: not sure, but can check for the existence of /etc/pam.d/su or /usr/local/etc/pam.d/su 19:28:38 folks with bastille had this issue of no console, and it remains to be solved in an automated fashion, but there is a PR for bastille for one way to solve it, which is a makeshift etcupdate procedure, which would fix the pam thing plus some other stuff 19:30:50 yeah, maybe hjf forgot to run etcupdate / mergemaster (i guess mergemaster is gone) 20:21:59 meator, I am running libvirt under Debian/Devuan/Ubuntu/Mint/Trisquel and running a FreeBSD guest VM is no problem. By "Cursor movements" I assume you mean arrow keys and those work okay here. 20:22:49 I did not find installing FreeBSD in a VM to be any problem. It was pretty much the same as installing using the Debian netinst image which is pretty much the same type of install interface. 20:23:19 rwp: I was assuming he meant mouse movements, but I could be confused. 20:23:25 I applaud your efforts to improve your code by compiling it on different platforms. 20:23:54 I mean this: https://pngimg.com/uploads/cursor/cursor_PNG78.png 20:24:01 The mouse works okay in a graphical environment too. 20:25:01 Okay. But the mouse pointer also works okay for me too in libvirt. I do use the X-Y tablet input device. 20:25:50 The mouse moves relative movements +/- direction from the current direction. The result is quite laggy behavior with high latency. Hard to use. But the default when installing is to attach an X-Y tablet device to the guest. The tablet produces absolute coordinate input. 20:26:12 The tablet input is so good that it is really impossible to think other than that one is on the bare metal device. I can play games using it. 20:27:43 I remember I spent at the very least half an hour trying to fix the cursor in libvirt/qemu/virt-manager but without success. 20:28:10 Computers can be the most frustrating things. 20:28:21 What do you mean, can be? 20:28:40 Right. Sorry. Computers *are* the most frustrating things. :-) 20:28:44 s/be\?/?/ 20:28:54 The smallest of details can create the biggest of problems. 20:29:10 Did you have to install special packages, enable unusual services or edit config files to make the cursor (not the rectangle one) work rwp? 20:29:31 The funny thing is, the more you know about touching computers, the less simple issues you'll face. 20:29:54 Nope. And for me that is the default on Debian/Devuan without me needing to do anything. I think the default is set based upon the OS being installed based upon the templates used. 20:30:10 meator: moused(8) should be the only thing that needs to be enabled, and that's done by default if you plug in a USB mouse, because of devd(8). 20:30:25 At least for FreeBSD. 20:30:36 And humorously I always *disable* moused because it's just a waste for me. 20:31:06 I always set moused_nondefault_enable="NO" in /etc/rc.conf to keep it from starting at all. I don't want it. 20:31:33 I remember that there is some other (maybe obsolete) service that has been mentioned on some forums I was scavenging while debugging the problem. But even that service didn't help. 20:32:42 As you can tell by what I just said that I would recommend using text based installers. They are just a lot easier to use. Then it is almost nothing more than cursor keys and Enter and that's all that is needed. Can just fly through the installer and get something set up quickly. 20:33:28 I am looking at my VMs now to see exactly what input devices are connected. 20:33:40 Believe me, I am no stranger to the CLI (or TUI, which I have even written myself with ncurses). 20:35:00 I must apologize meator as when I look it looks like the libvirt template for freebsd does NOT include the tablet by default! 20:35:41 I am fishing out to see where these are actually set... 20:38:59 meator, In the meantime I suggest trying this. I would add a tablet input device in the Add Hardware part if you are using virt-manager: https://www.proulx.com/tmp/libvirt-tablet.png 20:40:26 Give me a moment and I will walk through it here and verify that I can get moused running that way at least. Since I disable all of that normally. 20:42:12 I want to verify that FreeBSD has the Ev Touch USB Graphics Tablet driver. 20:46:21 By the way, thanks to compiling my code on FreeBSD, I have uncovered that a part of my code doesn't comply to the C++ standard. The non-conformance was so cryptic that several knowledgeable members of #C++-general didn't know about it and both clang++ and g++ produce no warnings (nor errors) when it occurs on Linux even with all warning enabling flags I could think of. I believe that there are 20:46:23 thousands of people that have no idea it is non-standard, and who would blame them. But FreeBSD sure follows it to the letter. Not a warning, but an error! 20:48:15 For those who know C++: std::unordered_map (and it probably holds for std::map too) is not to spec. 20:49:36 At least for operator= 20:49:42 Every time I compile my code on another platform I learn something and it makes the code better. 20:49:47 I am going to need to apologize because where I had thought I was using the tablet it turns out that I am only using that on linux guests and not on freebsd guests. 20:50:06 And when trying to enable it here I am finding that things are not just working here. 20:54:05 I can attach the device. And it is there. https://bsd.to/RN5m/raw 20:54:06 Title: RN5m 20:55:18 I switched to Virtualbox and it's working, so I won't be trying libvirt. It isn't working well, but it's working "enough". 20:55:41 But at least moused is not happy with it. https://bsd.to/5M0J/raw 20:55:42 Title: 5M0J 20:56:05 So it doesn't work? 20:56:27 Nope. My apologies. I thought it was working. I was fooled. 20:56:48 So even you can't get it working right. It isn't just me. 20:58:24 I haven't given up yet though. It's only not working after one gives up trying. 20:58:56 That's the spirit. 21:03:03 This posting https://forums.freebsd.org/threads/qemu-kvm-freebsd-guest-running-x-and-a-working-mouse.82460/ tells me that I need the utouch-kmod device and the xf86-input-evdev for X. 21:03:04 Title: QEMU/KVM FreeBSD Guest running X and a working mouse. | The FreeBSD Forums 21:03:45 I can't even use guest additions in Virtualbox because host and guest Virtualbox versions differ by a major version and are incompatible (FreeBSD's is too old) and the Virtualbox guest additions CD has no support for the BSDs. 21:11:01 JFTR but I am running FreeBSD native on bare metal and of course my mouse is working okay here. :-) 21:13:20 I am running Void Linux on bare metal and I can too confirm that both touchpad and mouse work well. 21:14:50 This fixed bug ticket contained useful information https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244079 21:14:52 Title: 244079 – QEMU / KVM Q35 USB Tablet (EVTouch) input device not captured by evdev 21:16:56 I now have X running in FreeBSD as a VM guest in libvirt and it seems to be using the tablet device okay. Thinking of removing the regular mouse device as a test in order to verify. 21:18:31 What I found was that I needed "pkg install utouch-kmod xf86-input-evdev" and then echo 'utouch_load="YES"' >> /boot/loader.conf in order to load the utouch driver from ports. And then X is working. 21:19:00 I still do not have moused working on the vt console though. 21:19:21 And this would not help with the install since ports kernel modules are not available at installation time. 21:19:51 I would still recommend the text mode installer using the cursor keys. For all of the operating systems. But that's me of course. 21:23:28 Note that the touchpad and the tablet are two different types of input devices. The touchpad is like the mouse as it uses relative input coordinates. 21:23:53 X-Y tablet input is https://en.wikipedia.org/wiki/Graphics_tablet and traditionally used with professional drawing systems. 21:23:54 Title: Graphics tablet - Wikipedia 21:31:05 I verified that I was using X-Y tablet by removing the mouse from the libvirt configuration. X is still working okay. 21:31:30 I still can't get moused to work with it okay though. It's not happy. 21:32:06 I am going to declare victory that the X-Y tablet does work okay for X in libvirt for a FreeBSD guest and stop messing further. Then go work on other things. 21:32:38 But this is not useful to you if you want to install using a graphical installer as it requires the utouch-kmod port which is not available until after install. 22:57:39 Is there a gui for the PF firewall? I know about pfsense, but this isn't a dedicated firewall box 23:29:39 poudriere keeps deleting some packages because of "new dependency": https://0x0.st/HdEg.txt 23:30:42 last time it was because of a version use flag in the package (qt6, i dont remember exactly what was wrong, some hardcoding mismatch or seomthing), what would be the best way to try figure out whats the problem here (sort of debug makefiles in my ports)