-
debdrup
I'm not sure what that means.
-
CrtxReavr
_xor, who was that?
-
CrtxReavr
meena, I remember REXX as a scripting language for OS/2.
-
CrtxReavr
I guess more than anything, it was an IBM thing.
-
polyex
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
-
signalblue
so I have a running server with a single partition where the OS is installed, and is encrypted.
-
signalblue
I lost that password and so I will be stuck if I restart.
-
signalblue
How can I reset it? Is it just a matter of geli setkey and that's all?
-
signalblue
I'd hate to have to reinstall because the installation disk is encrypted :)
-
angry_vincent
unfortunatelly, you are lost there
-
signalblue
angry_vincent what do I need to do here
-
signalblue
it is running right now
-
angry_vincent
try to get password. otherwise, no way for you to get into system next time
-
signalblue
absolutely no way to get password
-
signalblue
is there no way to reset?
-
angry_vincent
No.
-
signalblue
haha
-
angry_vincent
maybe backup full system as it is ( if ZFS ) and do reinstall
-
signalblue
time to backup all configuration files
-
signalblue
yes
-
angry_vincent
it is quick
-
signalblue
it is an email server
-
signalblue
yes
-
signalblue
but the actual messages are stored on another server
-
signalblue
so it is only mail routing here
-
signalblue
which is just config files and pf rules
-
concussious
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.
-
angry_vincent
for that install unrar
-
polyex
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
-
concussious
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.
-
angry_vincent
there is no such thing in base for rar ( why is such a need for rar specifically? )
-
angry_vincent
polyex: ypu can create custom img with all configs
-
polyex
how?
-
angry_vincent
polyex: look release(7)
-
concussious
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.
-
angry_vincent
install unrar and you are fine
-
polyex
ah cool thanks angry_vincent
-
concussious
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.
-
polyex
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?
-
angry_vincent
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
-
polyex
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
-
meena
polyex: we got scripting for that in bsdinstall
-
polyex
meena i'm back
-
polyex
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
-
polyex
i remember RhodiumToad saying there were 2 ways. either a bsdinstall script for unattended install, or make custom .img
-
polyex
not sure which path is right for me
-
concussious
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.
-
concussious
So, that's a third way at least
-
polyex
not sure what got through. had flaky internet
-
polyex
dangit sorry my internet is messed up
-
concussious
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.
-
megaTherion
if you cant stay on irc then you dont even need to do something else... any other web service requires more traffic these days
-
megaTherion
SSL, auth, graphics, etc.
-
polyex
wow
-
polyex
got a link to that concussious?
-
concussious
let me see
-
concussious
-
VimDiesel
Title: OpenBSD: add VMM to 'packer' porting Go software - YouTube
-
concussious
He did it on openBSD, and for a different reason, but the pieces are all there.
-
concussious
Really nice guy too
-
debdrup
yay eurobsdcon
-
Serpent7776
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?
-
RhodiumToad
yes
-
Serpent7776
OK, thanks.
-
pkubaj
i accidentally removed my /usr/local/
-
pkubaj
luckily, i have snapshots
-
pkubaj
i restored it
-
pkubaj
but for some reason /usr/local/etc/openvpn can't be restored
-
pkubaj
i tried copying it manually from /.zfs/snapshots
-
signalblue
angry_vincent: i was able to change the password without knowing the old one
-
signalblue
geli setkey
-
signalblue
made backups just in case
-
thedaemon
perhaps permissions pkubaj ?
-
pkubaj
i tried removing /usr/local/etc/openvpn and just cat /.zfs/snapshots/....../client.conf > client.conf
-
pkubaj
thedaemon: nope
-
pkubaj
lastly, i tried mv openvpn openvpn2 and then recreate openvpn directory
-
pkubaj
that worked
-
pkubaj
and now i can't do anything with openvpn2
-
pkubaj
root@serwer:$/usr/local/etc$ find openvpn2
-
pkubaj
openvpn2
-
pkubaj
find: openvpn2: No such file or directory
-
pkubaj
this kind of looks like a bug in zfs
-
signalblue
pkubaj luckily in the worst case, you didn't lose personal/critical info.
-
signalblue
you would only stand to lose software config
-
pkubaj
root@serwer:$/usr/local/etc/openvpn2$ touch ass
-
pkubaj
root@serwer:$/usr/local/etc/openvpn2$ ls
-
pkubaj
root@serwer:$/usr/local/etc/openvpn2$
-
pkubaj
signalblue: i restored everything
-
signalblue
no i know
-
signalblue
this is a minor problem
-
signalblue
just rebuild openvpn and move on lol
-
signalblue
i know this shouldn't happen but it is what it is
-
pkubaj
ok, but what can i do about this directory?
-
signalblue
really sounds like an issue with ZFS that needs to be fixed
-
signalblue
can you delete the directory, recreate it, and restore from backup?
-
thedaemon
that's what they were trying to do?
-
pkubaj
i can only move it
-
signalblue
can't rm -rf it?
-
pkubaj
i can't delete it or restore
-
thedaemon
pkubaj: which version of FreeBSD?
-
signalblue
strange
-
thedaemon
what's the file permission on it?
-
thedaemon
normal?
-
signalblue
ls -al
-
pkubaj
i also can't create anything in this directory
-
RhodiumToad
also check for file flags
-
RhodiumToad
ls -aol
-
signalblue
america online
-
thedaemon
lul
-
signalblue
:)
-
pkubaj
root@serwer:$/usr/local/etc$ ls -aol openvpn2
-
pkubaj
total 0
-
pkubaj
root@serwer:$/usr/local/etc$ ls -aold openvpn2
-
pkubaj
drwxr-xr-x 5 root wheel uarch 10 Sep 16 16:21 openvpn2
-
thedaemon
I'm running 14.0-beta1 and it's been good to me
-
pkubaj
this is 13.2
-
pkubaj
also:
-
pkubaj
root@serwer:$/usr/local/etc$ find openvpn2
-
pkubaj
openvpn2
-
pkubaj
find: openvpn2: No such file or directory
-
RhodiumToad
is it a mountpoint?
-
pkubaj
no
-
RhodiumToad
this is on zfs?
-
signalblue
yes
-
signalblue
i assume so
-
signalblue
read the scrollback
-
coreystephanphd
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.
-
thedaemon
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.
-
coreystephanphd
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.
-
signalblue
wasn't FreeBSD's whole motive was to turn PCs into workstations?
-
signalblue
lol
-
RhodiumToad
pkubaj: what's the output of sysctl security.mac
-
coreystephanphd
signalblue: Yes and no. #freebsd-social for more :)
-
thedaemon
forgot about that channel, joining. thanks
-
signalblue
me too
-
pkubaj
RhodiumToad: root@serwer:$/usr/local/etc$ sysctl security.mac
-
pkubaj
security.mac.mmap_revocation_via_cow: 0
-
pkubaj
security.mac.mmap_revocation: 1
-
pkubaj
security.mac.labeled: 0
-
pkubaj
security.mac.max_slots: 4
-
pkubaj
security.mac.version: 4
-
RhodiumToad
use a paste site
-
pkubaj
-
VimDiesel
Title: root@serwer:$/usr/local/etc$ sysctl security.macsecurity.mac.mmap_revocation_v - Pastebin.com
-
RhodiumToad
ok, so no MAC modules in play
-
pkubaj
RhodiumToad: also, it's on zfs
-
pkubaj
i didn't notice that question before
-
RhodiumToad
so the directory exists and stat works on it, but the contents can't be listed?
-
pkubaj
RhodiumToad: also, it can't be removed and nothing can be created in it, but it can be moved
-
RhodiumToad
you copied it from somewhere else?
-
pkubaj
no
-
RhodiumToad
when you say you removed /usr/local, did this dir get removed with the rest, or did it remain?
-
pkubaj
i'm not sure
-
pkubaj
after removing /usr/local, i restored it from a backup
-
pkubaj
then i discovered that /usr/local/etc/openvpn didn't get restored
-
RhodiumToad
lsextattr system openvpn2; lsextattr user openvpn2; # any output from those?
-
pkubaj
openvpn2 is printed twice
-
RhodiumToad
with a . after?
-
pkubaj
no
-
» RhodiumToad out of ideas
-
pkubaj
i think i'll just file a bug on bugzilla
-
KingShark
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)
-
meena
KingShark: a cool trick to make sure grep isn't in the output itself is: ps aux | grep [m]ake
-
meena
or you could just use pgrep -x make
-
meena
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
bugs.freebsd.org/bugzilla/show_bug.cgi?id=273858
-
VimDiesel
Title: 273858 – zfs: a directory can't be removed and nothing can be created in it, but it can be moved
-
meena
it almost feels too wild to be true.
-
KingShark
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?
-
KingShark
i think if i start a second build while one is running it yields an error saying something about that :))
-
meena
KingShark: you could use poudriere which keeps track of these things by itself
-
RhodiumToad
meena: that is literally the channel discussion from a few minutes ago?
-
meena
I missed that sorry
-
KingShark
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
-
KingShark
i use xfce so i could make my own plugin telling me ' no more builds running '
-
RhodiumToad
are these plain makes or poudriere?
-
KingShark
plain makes or portmaster
-
KingShark
right now, plan make install clean
-
KingShark
i could just do a cronjob checking every minute and doing a notify-send "Builds finished"
-
KingShark
just need a reliable way to check the make is done so i wondered about the best way. ps and grep? some lockfile?
-
meena
poudriere probably even has stuff like, execute these scripts when a build finishes
-
KingShark
guess i could just start the builds with 'make install clean && notify-send..'?
-
KingShark
or alias that
-
KingShark
or 'make install clean; notify-send..' if i want a notification regardless the return code
-
KingShark
right, i will play with that ideas :) thanks
-
bjornn
how do i get retroarch's core downloader to work
-
bjornn
i tried changing the directories to the home folder but the core downloader still doesnt work
-
thedaemon
install the cores with pkg
-
thedaemon
libretro-XXXX
-
wikan
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
-
markmcb
BETA1 -> BETA2 was uneventful
-
wikan
i am working on my own freebsd installer. Now, it installs base system, configures, installs apps and resotre dot files
-
markmcb
Still no movement on PR 273372 ... should I be raising this in a mailing group to get more attention?
-
VimDiesel
273372 – SR-IOV Networking in Bhyve Causes Chelsio T520-SO-CR to Fail on Host, Kernel Panic if Reset
bugs.freebsd.org/bugzilla/show_bug.cgi?id=273372
-
wikan
i am looking for solution that would help me install extensions for firefox. I have no idea how to do it from the script.
-
wikan
how do you think, is it possible? Any hints?
-
wikan
that would be awesome if I could have installer that can configure firefox too
-
markmcb
wikan: agreed, that's not really a bsd question. maybe ask that in a firefox channel?
-
wikan
asked
-
wikan
there is silence
-
wikan
nobody talk
-
Soni
would it be viable to move 464XLAT into libc?
-
megaTherion
wikan: why would you, installing FreeBSD is basically untaring stuff
-
Soni
(effectively deprecating the ipv4 syscalls?)
-
wikan
megaTherion, i know. untaring and some configuration is needed
-
bjornn
thedaemon: is there no way to use the builtin downloader and install the cores that way to the home folder?
-
bjornn
because the pkg versions are outdated and missing dolphin and others
-
rtprio
wikan: install it my hand and compare the dot directories
-
wikan
i found soluation, i know how to install firefox extensions from script ;)
-
wikan
-
VimDiesel
Title: How to install Firefox addon from command line in scripts? - Ask Ubuntu
-
KingShark
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
-
KingShark
The command is called 'bw', found it on the bitwarden website :D
-
thedaemon
KingShark:'pkg list bitwarden-cli' will show you all the files associated with the package
-
KingShark
thedaemon, nice! thank you. and it seems to work no matter if it was built via ports or pkg
-
markmcb
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?
-
meena
markmcb: modify the rc script and add the dependency.
-
markmcb
meena: like "# REQUIRE: nginx"? ... reading rcorder(8) now.
-
markmcb
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.
-
markmcb
seems the REQUIRE did the trick, at least for a jail restart. will confirm next time i reboot the system.