00:10:53 I'm not sure what that means. 02:54:35 _xor, who was that? 02:55:12 meena, I remember REXX as a scripting language for OS/2. 03:00:21 I guess more than anything, it was an IBM thing. 05:06:24 ok so when i install a new box i boot an iso then go through bsdinstall, then it runs, then i do some post install config. how can i make those changes directly in the install iso so i can skip the bsdinstall step and get a working system immediately 05:50:54 so I have a running server with a single partition where the OS is installed, and is encrypted. 05:51:12 I lost that password and so I will be stuck if I restart. 05:52:00 How can I reset it? Is it just a matter of geli setkey and that's all? 05:53:20 I'd hate to have to reinstall because the installation disk is encrypted :) 05:55:28 unfortunatelly, you are lost there 05:58:02 angry_vincent what do I need to do here 05:58:45 it is running right now 05:59:24 try to get password. otherwise, no way for you to get into system next time 05:59:43 absolutely no way to get password 05:59:50 is there no way to reset? 05:59:55 No. 06:00:11 haha 06:00:20 maybe backup full system as it is ( if ZFS ) and do reinstall 06:00:21 time to backup all configuration files 06:00:25 yes 06:00:29 it is quick 06:00:30 it is an email server 06:00:32 yes 06:00:50 but the actual messages are stored on another server 06:00:57 so it is only mail routing here 06:01:09 which is just config files and pf rules 07:49:39 Hi all, while reading the manual I noticed that libarchive has support for rar archives. Are there any tools in base which can extract a rar archive? I read the manpages for pax, cpio, and tar and didn't see anything. 07:56:04 for that install unrar 07:57:17 when i install a new box i boot an iso then go through bsdinstall, then it runs, then i do some post install config. how can i make those changes directly in the install iso so i can skip the bsdinstall step and get a working system immediately 07:58:25 I've been using 7-zip and p7zip just fine before that, I was specifically wondering if there's any tools in base which make use of libarchive's RAR support. 08:01:07 there is no such thing in base for rar ( why is such a need for rar specifically? ) 08:01:44 polyex: ypu can create custom img with all configs 08:01:52 how? 08:02:21 polyex: look release(7) 08:05:25 Because downloading other people's files are sometimes contained in RAR. I don't need to make them, just open them from time to time. 08:05:56 install unrar and you are fine 08:06:02 ah cool thanks angry_vincent 08:06:10 7-zip works perfectly, don't get me wrong. I just noticed that the archive library in base supports them, and wondered if any software in base could extract them. 08:07:00 angry_vincent so let's say i have x things i do in bsdinstall. how can i do those things directly in the install iso so i can skip the manual bsdinstall step? 08:09:03 i do not know but maybe just to have all the files that bsdinstall touching/modifying/setting setup how you like and make an image of it. and simply doing manual install from shell 08:10:08 well what i wanna do is take all initial setup i do in bsdinstall and manual post-instal config before rebooting, and slipstream all of that right into the iso so when i boot it, it just automatically does the initial setup 08:13:35 polyex: we got scripting for that in bsdinstall 08:20:35 meena i'm back 08:21:50 so my goal is to be able to make installs as automatic as possible. so i don't have to manually do anything to set up a system, i just point some tool at a custom .img and a machine and next thing i know i have a running system 08:22:17 i remember RhodiumToad saying there were 2 ways. either a bsdinstall script for unattended install, or make custom .img 08:22:31 not sure which path is right for me 08:24:31 I saw a presentation where a guy was using hashicorp packer to automate unattended installs of entire datacenters. He said he'd set everything up on the plane. 08:25:02 So, that's a third way at least 08:36:34 not sure what got through. had flaky internet 08:42:23 dangit sorry my internet is messed up 08:43:45 That's why I don't usually use IRC. It's awesome for people with infrastructure. I said there's a third way, I saw a presentation where a guy was using hashicorp packer to automate unattended installs of entire datacenters. 08:44:36 if you cant stay on irc then you dont even need to do something else... any other web service requires more traffic these days 08:44:45 SSL, auth, graphics, etc. 08:44:57 wow 08:45:10 got a link to that concussious? 08:45:17 let me see 08:47:47 https://www.youtube.com/watch?v=XZb9ryV1xO4&list=PLeF8ZihVdpFegPoAKppaDSoYmsBvpnSZv&index=26 08:47:48 Title: OpenBSD: add VMM to 'packer' porting Go software - YouTube 08:48:21 He did it on openBSD, and for a different reason, but the pieces are all there. 08:48:49 Really nice guy too 09:12:04 yay eurobsdcon 11:41:24 When doing redirection `myapp < a_file` file descriptor stdin points directly to a_file, as if I fopened the file in myapp, in that correct? If so, that means I should be able to fstat and seek stdin in this case, correct? 11:44:32 yes 11:46:54 OK, thanks. 14:18:00 i accidentally removed my /usr/local/ 14:18:06 luckily, i have snapshots 14:18:09 i restored it 14:18:22 but for some reason /usr/local/etc/openvpn can't be restored 14:18:35 i tried copying it manually from /.zfs/snapshots 14:18:38 angry_vincent: i was able to change the password without knowing the old one 14:18:42 geli setkey 14:18:58 made backups just in case 14:19:01 perhaps permissions pkubaj ? 14:19:18 i tried removing /usr/local/etc/openvpn and just cat /.zfs/snapshots/....../client.conf > client.conf 14:19:23 thedaemon: nope 14:20:51 lastly, i tried mv openvpn openvpn2 and then recreate openvpn directory 14:20:53 that worked 14:21:00 and now i can't do anything with openvpn2 14:21:13 root@serwer:$/usr/local/etc$ find openvpn2 14:21:13 openvpn2 14:21:13 find: openvpn2: No such file or directory 14:21:27 this kind of looks like a bug in zfs 14:21:36 pkubaj luckily in the worst case, you didn't lose personal/critical info. 14:21:49 you would only stand to lose software config 14:21:52 root@serwer:$/usr/local/etc/openvpn2$ touch ass 14:21:52 root@serwer:$/usr/local/etc/openvpn2$ ls 14:21:52 root@serwer:$/usr/local/etc/openvpn2$ 14:22:23 signalblue: i restored everything 14:22:37 no i know 14:22:41 this is a minor problem 14:22:48 just rebuild openvpn and move on lol 14:23:00 i know this shouldn't happen but it is what it is 14:23:03 ok, but what can i do about this directory? 14:23:18 really sounds like an issue with ZFS that needs to be fixed 14:23:43 can you delete the directory, recreate it, and restore from backup? 14:23:57 that's what they were trying to do? 14:24:00 i can only move it 14:24:08 can't rm -rf it? 14:24:09 i can't delete it or restore 14:24:09 pkubaj: which version of FreeBSD? 14:24:12 strange 14:24:16 what's the file permission on it? 14:24:19 normal? 14:24:20 ls -al 14:24:21 i also can't create anything in this directory 14:24:23 also check for file flags 14:24:27 ls -aol 14:24:34 america online 14:24:44 lul 14:24:52 :) 14:25:14 root@serwer:$/usr/local/etc$ ls -aol openvpn2 14:25:14 total 0 14:25:14 root@serwer:$/usr/local/etc$ ls -aold openvpn2 14:25:14 drwxr-xr-x 5 root wheel uarch 10 Sep 16 16:21 openvpn2 14:25:17 I'm running 14.0-beta1 and it's been good to me 14:25:21 this is 13.2 14:25:52 also: 14:25:53 root@serwer:$/usr/local/etc$ find openvpn2 14:25:53 openvpn2 14:25:53 find: openvpn2: No such file or directory 14:26:24 is it a mountpoint? 14:26:31 no 14:26:40 this is on zfs? 14:26:54 yes 14:26:57 i assume so 14:27:14 read the scrollback 14:27:30 thedaemon: It is great to see how the extremely hard work to get past the breaking problems earlier in the 14* REL process are paying off. 14.0-RELEASE is going to be fantastic. It should be noticeably better than 13* has been for desktop, which was already a good overall step forward for the desktop/workstation sphere. 14:28:31 coreystephanphd: oh yes, I am particularly using it for my primary desktop os now, after drm-515 I was able to use my shiny new AMDGPU and it's been a struggle but I think it's paid off greatly. 14:28:34 The proof will be in the pudding, as we say, but the logs make it seem that the Foundation's investments of donations in full-time work on desktop are starting to have tangible benefits. 14:28:43 wasn't FreeBSD's whole motive was to turn PCs into workstations? 14:28:44 lol 14:28:59 pkubaj: what's the output of sysctl security.mac 14:29:13 signalblue: Yes and no. #freebsd-social for more :) 14:29:31 forgot about that channel, joining. thanks 14:30:29 me too 14:33:55 RhodiumToad: root@serwer:$/usr/local/etc$ sysctl security.mac 14:33:55 security.mac.mmap_revocation_via_cow: 0 14:33:56 security.mac.mmap_revocation: 1 14:33:56 security.mac.labeled: 0 14:33:56 security.mac.max_slots: 4 14:33:58 security.mac.version: 4 14:34:04 use a paste site 14:34:24 https://pastebin.com/sCSLTMRQ 14:34:26 Title: root@serwer:$/usr/local/etc$ sysctl security.macsecurity.mac.mmap_revocation_v - Pastebin.com 14:34:49 ok, so no MAC modules in play 14:35:07 RhodiumToad: also, it's on zfs 14:35:22 i didn't notice that question before 14:39:21 so the directory exists and stat works on it, but the contents can't be listed? 14:40:18 RhodiumToad: also, it can't be removed and nothing can be created in it, but it can be moved 14:43:53 you copied it from somewhere else? 14:44:55 no 14:46:45 when you say you removed /usr/local, did this dir get removed with the rest, or did it remain? 14:47:31 i'm not sure 14:47:44 after removing /usr/local, i restored it from a backup 14:48:00 then i discovered that /usr/local/etc/openvpn didn't get restored 14:48:06 lsextattr system openvpn2; lsextattr user openvpn2; # any output from those? 14:48:54 openvpn2 is printed twice 14:50:21 with a . after? 14:50:34 no 14:54:32 * RhodiumToad out of ideas 14:56:11 i think i'll just file a bug on bugzilla 15:17:15 Hi. Is it reliable to check if any running builds finished via 'ps aux | grep make | grep -v grep'? I there are no more make processes, i could assume the builds are done and use that for some sort of notification to myself (like in writing a xfce plugin that changes icon or similar) 15:19:21 KingShark: a cool trick to make sure grep isn't in the output itself is: ps aux | grep [m]ake 15:19:41 or you could just use pgrep -x make 15:20:28 this is a pretty wild bug: zfs: a directory can't be removed and nothing can be created in it, but it can be moved https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273858 15:20:31 Title: 273858 – zfs: a directory can't be removed and nothing can be created in it, but it can be moved 15:21:14 it almost feels too wild to be true. 15:21:22 this seems to work fine: ps aux | grep '[m]ake install clean'. is there a better way to check if a ports-build finished? there must be some lock file on the ports collection? 15:21:39 i think if i start a second build while one is running it yields an error saying something about that :)) 15:22:17 KingShark: you could use poudriere which keeps track of these things by itself 15:22:30 meena: that is literally the channel discussion from a few minutes ago? 15:22:53 I missed that sorry 15:23:27 meena, what i would like to achieve is some sort of popup / tray icon telling me all builds are done :) chromium is building for hours already and i waste time checking if its already done in between changing windows / workspaces to it 15:23:42 i use xfce so i could make my own plugin telling me ' no more builds running ' 15:24:16 are these plain makes or poudriere? 15:24:51 plain makes or portmaster 15:25:00 right now, plan make install clean 15:25:15 i could just do a cronjob checking every minute and doing a notify-send "Builds finished" 15:25:46 just need a reliable way to check the make is done so i wondered about the best way. ps and grep? some lockfile? 15:27:22 poudriere probably even has stuff like, execute these scripts when a build finishes 15:28:09 guess i could just start the builds with 'make install clean && notify-send..'? 15:28:11 or alias that 15:29:28 or 'make install clean; notify-send..' if i want a notification regardless the return code 15:29:32 right, i will play with that ideas :) thanks 15:51:46 how do i get retroarch's core downloader to work 15:52:21 i tried changing the directories to the home folder but the core downloader still doesnt work 15:57:05 install the cores with pkg 15:57:20 libretro-XXXX 16:20:00 hi guys. I have a question but it is not related to bsd. Please let me ask the question maybe you may give me some hint 16:20:28 BETA1 -> BETA2 was uneventful 16:20:48 i am working on my own freebsd installer. Now, it installs base system, configures, installs apps and resotre dot files 16:20:56 Still no movement on PR 273372 ... should I be raising this in a mailing group to get more attention? 16:20:57 273372 – SR-IOV Networking in Bhyve Causes Chelsio T520-SO-CR to Fail on Host, Kernel Panic if Reset https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273372 16:21:32 i am looking for solution that would help me install extensions for firefox. I have no idea how to do it from the script. 16:21:47 how do you think, is it possible? Any hints? 16:22:20 that would be awesome if I could have installer that can configure firefox too 16:22:58 wikan: agreed, that's not really a bsd question. maybe ask that in a firefox channel? 16:23:59 asked 16:24:11 there is silence 16:24:15 nobody talk 16:26:21 would it be viable to move 464XLAT into libc? 16:26:26 wikan: why would you, installing FreeBSD is basically untaring stuff 16:27:16 (effectively deprecating the ipv4 syscalls?) 16:27:40 megaTherion, i know. untaring and some configuration is needed 16:31:52 thedaemon: is there no way to use the builtin downloader and install the cores that way to the home folder? 16:32:03 because the pkg versions are outdated and missing dolphin and others 16:36:55 wikan: install it my hand and compare the dot directories 17:11:25 i found soluation, i know how to install firefox extensions from script ;) 17:12:00 there i found hints: https://askubuntu.com/questions/73474/how-to-install-firefox-addon-from-command-line-in-scripts 17:12:01 Title: How to install Firefox addon from command line in scripts? - Ask Ubuntu 21:10:33 Hi. I am a bit puzzled. I built the port security/bitwarden-cli and it finished fine but i cant find any new command to use this 'bitwarden-cli'. How could i find out which command it added? I am browsing the ports subfolders right now looking for clues 21:19:37 The command is called 'bw', found it on the bitwarden website :D 21:24:23 KingShark:'pkg list bitwarden-cli' will show you all the files associated with the package 21:26:09 thedaemon, nice! thank you. and it seems to work no matter if it was built via ports or pkg 22:12:59 i've got a web portal (nginx) with authelia as the auth service. both are set to start at boot. the authelia service is always dead, presumably due to some missing dependency with nginx. is there a standard way to delay the start without creating a custom rc script? 22:19:05 markmcb: modify the rc script and add the dependency. 22:26:09 meena: like "# REQUIRE: nginx"? ... reading rcorder(8) now. 22:45:46 not sure if it's a beta issue, but i restarted the jail running the portal above to test, and the system took a good 5 minutes to release the network vf (cxlv0) after stopping the jail. 22:46:28 seems the REQUIRE did the trick, at least for a jail restart. will confirm next time i reboot the system.