-
» AmyMalik mumbles something about PCI
-
sfox
Hello I need help
-
sfox
my jail host is somehow allowing jails which are assigned their own interface parented to a vlan to access management vlan hosts
-
sfox
it's bypassing the router and it looks like the freebsd jail hypervisor itself is forwarding packets to the management vlan, despite never putting gateway_enable="YES" into rc.conf
-
sfox
also, traceroute is contradicting ifconfig saying an ip address is not on a interface
-
sfox
net.inet.ip.forwarding: 0
-
meena
sfox: what's your setup look like?
-
sfox
meena, what do you mean exactly?
-
sfox
it's a server
-
sfox
sorry, confused
-
sfox
you want an ifconfig report or something?
-
meena
sfox: what does your jail setup look like? are those vnet jails? what does your topology look like… etc
-
sfox
i'm using standard iocage stands. vnet is off
-
sfox
my topology is the main hypervisor operating system's ipas on at a lagg0 interface in failover mode across to intel gigabit nics pointed to vlan1
-
sfox
the iocage jails are assigned to an alias interface 'jail' each jail with a unique ipv4 and ipv6 address
-
sfox
the jail interface is renamed lagg0_4 or vlan4 on interface lagg0
-
sfox
all those cluster physical links go into a layer 3 switch, which is trunked to a openwrt router which handles firewalling and cross-vlan talk, nat, etc
-
sfox
meena, make sense?
-
sfox
*standard iocage jails.
-
meena
sfox: so far so good. Still not entirely sure what *exactly* is happening that should not be happening
-
sfox
thankyou
-
meena
what kinds of connections are the jails making that your setup and topology disallows?
-
sfox
my computer which is on the management vlan
-
sfox
192.168.55.5
-
sfox
i ran nc -vkl 4000 which binds to 0.0.0.0 port 4000 TCP
-
sfox
and inside one of the tails (192.168.4.31) i ran nc -v 192.168.55.5 4000
-
sfox
the connection succeeded and on my computer I see these lines:
-
sfox
Listening on 0.0.0.0 4000
-
sfox
Connection received on 192.168.4.31 12606
-
sfox
hello
-
sfox
that should not happen
-
sfox
i thought my router was passing it through so I connected my laptop to the switch vlan 4, and tried to repeat nc -v 192.168.55.5 4000
-
sfox
i was unable to replicate
-
sfox
i then on the jail hypervisor ran traceroute -i jail -s 192.168.4.31 192.168.55.5
-
sfox
traceroute complained the jail interface didn't contain that IP address, which directly contradicts what ifconfig jail says
-
sfox
i removed -i jail and ran traceroute again and it succeeded
-
sfox
that shouldn't happen either
-
sfox
interestingly there was no router inbetween
-
sfox
according to traceroute, it was direct. That lead me to believe the jail hypervisor is forwarding the packets
-
sfox
which also should not be possible because sys.inet.forward=0
-
sfox
sys.inet.forwarding is 0
-
Grabunhold_
i'm trying to install py39-psycopg in order to manage my postgresql with ansible. however, it seems py39-psycopg is built against postgresql13-client.
-
Grabunhold_
so when trying to install py39-psycopg, it forces removal of postgresql15-server because that depends on postgresql15-client which in turn conflicts with postgresql13-client. is there a way to get both postgres15 and py39-psycopg?
-
parv
Compile the ports & respective dependencies yourself
-
parv
... instead of using FreeBSD-provided packages
-
Grabunhold_
well, pkg is really easy to use from ansible. i'll have to look into how to build the port from ansible.
-
Grabunhold_
-
VimDiesel
Title: community.general.portinstall module – Installing packages from FreeBSD’s ports system — Ansible Documentation
-
Grabunhold_
building the port has the pleasant side-effect of disabling the dependency on the C client libs altogether and roll a pure python implementation, performance is of no concern anyway
-
mage
Grabunhold_: I suggest to setup your own poudriere repository
-
Grabunhold_
just to create a pgsql database from ansible? oof
-
sopparus
hello, anyone using rsnapshot here? is there a sane way to backup a backup point?
-
sopparus
as in duplicate your backup on another server or another hdd
-
Grabunhold_
sopparus: not using rsnapshot here, but you might want to look into zfs send / recv
-
meena
sfox: vlan is a link layer thing, tho, so sys.inet.forward=0 should have almost nothing to do with it
-
» meena might be talking out of her ass tho…
-
sopparus
yeah, i'll do that Grabunhold_. thanks
-
wikan
hi. I noticed network issues on freebsd
-
wikan
when I download something - for example file 1, file 2, file 3
-
wikan
i noticed the first file has almost 100% of bandwith
-
wikan
another thing is sshfs. When I send files to remote machines, Firefox can;t connect websites
-
wikan
should I setup something?
-
CrtxReavr
wikan, are you on say. . .. a 10 Gbit network?
-
wikan
CrtxReavr i am sorry i was sleeping
-
wikan
Via LAN it is maximum network card transwer, about 10MB/s
-
wikan
via WAN obout 6MB/s
-
gzar
hi, im getting kernel crashes/panics when trying to open an SDL window
-
gzar
pretty sure i missconfigured something when installing the nvidia driver
-
CrtxReavr
You're using the binary blob x11/nvidia-driver, or something else?
-
gzar
binary blob
-
gzar
i recompiled sdl2 without vulkan, maybe that was causing it. once i turn on kernel crash dumps i'll try again
-
mvanbaak
hey all. What's the big difference between '/usr/local/rc.d/<somethnig> start' and 'service <something> start' ?
-
mvanbaak
-
VimDiesel
Title: TrueNAS: Does not autostart · Issue #2104 · morpheus65535/bazarr · GitHub
-
VimDiesel
2104 – man pages for modunload(8) and modstat(8) have incorrect references
bugs.freebsd.org/bugzilla/show_bug.cgi?id=2104
-
mvanbaak
this person states that `/usr/local/etc/rc.d/bazarr start` works, and `service bazarr start` doesn't
-
CrtxReavr
mvanbaak, I would suspect the messed with local_startup in rc.conf
-
CrtxReavr
they messed
-
CrtxReavr
or /usr/local/etc/rc.d/bazarr itself.
-
yuripv
mvanbaak: check ENVIRONMENT section in service man page
-
Beladona
Hi
-
wikan
let me ask my question again
-
wikan
i notices network issues under freebsd
-
wikan
for first, when i was uploading files to remote machine via sshfs, Firefox couldn't load any website. Some of them displayed "You are in offline mode" message.
-
mvanbaak
yuripv: gheh, and with '/usr/local/etc/rc.d/<service> start' this is not the case? thought they were the same
-
wikan
second, when I download more than one file, I noticed first one use 95% of bandwith
-
mvanbaak
so I need to set PATH somehow for the bazarr port
-
wikan
should I configure something?
-
asoija
hello, I'm trying out qemu to run a few linux boxes from 13.1-RELEASE. Everything seems to go OK except for one thing: the VMs don't have network connection. I tried both using the default slirp adapter and setting net.link.tap.user_open=1 as per the pkg message for qemu, but either way no carrier media is detected on the guest
-
asoija
This is how I'm starting the VM (as simple as possible for the network test) ->
termbin.com/gl07
-
asoija
I read several posts in the forums covering differing aspects of qemu virtualization but to no avail. So I guess the question is: what's the simplest way to set up networking in qemu guest VM from a freebsd host?
-
Beladona
both mirror drives have: 1 efi (260M) 2: freebsd-boot (512K) under `gpart show`. One boots, other does not. Why?
-
rukus
boot flag
-
Beladona
rukus what?
-
CrtxReavr
/usr/ports/.portsnap.INDEX is all just sha256 sums?
-
Beladona
rukus status` says `gpt/efiboot0 N/A da1p1` but no `efboot` for da2
-
BaloneyGeek
Is the pkg git package known to be broken right now? I just tried to clone a GitHub repo over HTTPS and got `git: 'remote-https' is not a git command. See 'git --help'.`
-
mvanbaak
hum, I really dont get it
-
mvanbaak
for some reason for me, in a completely new jail, something that is started using the `service` command can detect binaries in /usr/loca/bin
-
mvanbaak
as if somethintg on my machine sets the PATH
-
mvanbaak
but I cant find where
-
yuripv
mvanbaak: probably it's using the absolute path?
-
mvanbaak
nope. it's really weird
-
mvanbaak
I created a port of this python tool. it does not have the paths hardcoded. the python code uses which to find out where unrar is installed. which is in /usr/local/bin
-
mvanbaak
according to the service(8) manpage, the path does not contain this. which also explains why this truenas user stats it is not working for them with the service command
-
mvanbaak
but I try to reproduce it, and on my machine ItJustWorks
-
mvanbaak
lol
-
yuripv
that's all what service really does (it's a shell script): exec env -i -L -/daemon HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin "$dir/$script" "$@"
-
rtprio
mvanbaak: are you porting unpackerr?
-
yuripv
you know what's weird, it uses the daemon login class, and it seems to override the PATH set, i.e. try running `env -i -L -/daemon HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin echo $PATH`
-
yuripv
nevermind me, bad usage :D
-
mvanbaak
rtprio: no, trying to find out why bazarr port will not start on a 13.0 jail on truenas, but it does work in my jail on plain FreeBSD
-
mvanbaak
yuripv: in my /etc/login.conf I do have /usr/local/bin in the path of the default class (and the daemon class as that one gets it from the default class
-
mvanbaak
as if on my machine 'service' leaves the path alone
-
yuripv
i tried running a script using that env invocation that prints HOME and PATH into a file, and that file confirms what man page says
-
yuripv
-
VimDiesel
Title: $ cat test.sh#!/bin/shecho $HOME > 1echo $PATH >> 1$ exec env -i -L -/ - Pastebin.com
-
rtprio
ah; that's an *rr i wasn't aware of
-
mvanbaak
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin://bin
-
mvanbaak
that's the path I have
-
mvanbaak
not in your test script
-
mvanbaak
but if I replace the bazarr.py in the bazarr package with
pastebin.com/hJppvfrC
-
VimDiesel
Title: # scriptwith open('/tmp/bazarr.txt', 'w') as fp: fp.write(os.environ.get( - Pastebin.com
-
mvanbaak
this looks a lot like the default class in login.conf: :path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin ~/bin:\
-
mvanbaak
does the daemon command do maybe?
-
yuripv
are you running it using daemon?
-
yuripv
i mean inside your rc script
-
parv
"//bin" -- some variable is not set?
-
mvanbaak
yes, it's running via daemon in the rc script
-
mvanbaak
-
VimDiesel
Title: bazarr.in « files « bazarr « net-p2p - ports - FreeBSD ports tree
-
Beladona
both mirror drives have: 1 efi (260M) 2: freebsd-boot (512K) under `gpart show`. One boots, other does not. `glabel status` says `gpt/efiboot0 da1p1` but no `efboot` for da2. Why? and how to make that bootable too?
-
mvanbaak
I am totally lost
-
debdrup
same.
-
Beladona
Do I need to do `gpart bootcode -b /boot/bootxyz da2` ?
-
mvanbaak
yuripv: os.environ in python has this path when I use 'service bazarr start'
-
mvanbaak
I replaced the bazarr.py that is called a python script that does write os.environ to a file in tmp. It does not load any of the bazarr files just to make sure.
-
mvanbaak
environ({'VENDOR': 'amd', 'LOGNAME': 'bazarr', 'PAGER': 'less', 'LANG': 'C.UTF-8', 'OSTYPE': 'FreeBSD', 'MACHTYPE': 'x86_64', 'PATH': '/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin://bin', 'EDITOR': 'vi', 'HOST': 'bazarr-test', 'PWD': '/', 'GROUP': 'bazarr', 'USER': 'bazarr', 'HOME': '/', 'HOSTTYPE': 'FreeBSD', 'MM_CHARSET': 'UTF-8', 'BLOCKSIZE': 'K', 'RC_PID': '32770', 'SHLVL':
-
mvanbaak
'1'})root@bazarr-test:~ #
-
Beladona
-
VimDiesel
Title: Chapter 20. GEOM: Modular Disk Transformation Framework | FreeBSD Documentation Portal
-
mvanbaak
I'm totally out of ideas here
-
mvanbaak
just to make sure I simply restarted the jail, but it has the exact same info in the environment
-
Lovis_IX
mvanbaak:you said that your try your script on a 13.x jail on truenas and it does not work. But it works on your dev machine which run 13
-
Lovis_IX
.x
-
Lovis_IX
[sorry]. Trunas is still in 12.x iirc. ans a host could not have a have with an os version superior has his one no ? Or I am adding confusion on confusion?
-
ek
TrueNAS is on 13.x these days.
-
ek
13.1-RELEASE, I believe.
-
Lovis_IX
Oh!…. Need to make some upgrade to my NAS. Thanks and sorry for the bad noise.
-
ek
Lovis_IX: Not a problem. Glad you can get some updates going. :)
-
mvanbaak
gheh, no problem
-
mvanbaak
I did not test with truenas, but that's what the user reported
-
mvanbaak
they said they run 13.0 in the jail
-
Lovis_IX
ok
-
mvanbaak
I'm the bazarr port maintainer, so the bazarr dev asked me to look at it :) but I cant reproduce it on freebsd. So I'm trying to find out where this PATH is set in my freebsd setup, as it does NOT match with either /etc/login.conf classes nor with the manual page of service(8)
-
mvanbaak
LOL, they found out how to fix it on their end
-
mvanbaak
Finally figured it out.. By pure habit I change my shell to zsh upon creating a jail and fixing som bindkey issues I have with my terminal
-
mvanbaak
Setting the terminal back to csh fixed the issue. Sorry for not picking up on that detail untill now..
-
mvanbaak
but this doesn't change the fact I cannot find where the paths are set for me
-
mvanbaak
but at least I can go to bed now
-
mvanbaak
hahaha
-
Lovis_IX
mvanbaak: have a good night, whithout nightmares.
-
RoyalYork
Do you guys primarily use a desktop enviornment or are you running solely through the terminal?
-
vkarlsen
I primarily use fluxbox
-
RoyalYork
I got the desktop working on my end (xfce). Was unsure if most people are using a DE or solely the terminal
-
la_mettrie
most of people probably browse the web
-
RoyalYork
Im running 13.1 in a virtual machine testing it as a daily driver.
-
RoyalYork
Trying to see how much I am missing from windows and so far it doesn't seem like im missing all that much
-
RoyalYork
youtube works
-
RoyalYork
netflix works
-
RoyalYork
officelibre works
-
RoyalYork
firefox works
-
RoyalYork
etc
-
wwt
firefox with sound even? ;)
-
mason
RoyalYork: Eh? How did you get widevine running?
-
RoyalYork
wwt, yes firefox with sound. widevine? no idea. LoL
-
RoyalYork
I just followed the handbook
-
RoyalYork
I may be lucky because im using VMware video drivers and "intel audio" through virtual box
-
RoyalYork
but I didn't do anything special
-
wwt
RoyalYork: the freebsd handbook?
-
RoyalYork
correct
-
wwt
netflix via linuxulator?
-
RoyalYork
No. Nothing like that. I installed 13.1 on virtualbox within a windows 10 host. Installed xfce and it just worked
-
RoyalYork
You got me thinking, maybe I should start another box and attempt to replicate this
-
RoyalYork
hold on
-
RoyalYork
just tested it
-
RoyalYork
i only got to the movie menu in netflix
-
RoyalYork
doesn't play scrap that
-
RoyalYork
I was confusing the video with my jellyfin player
-
RoyalYork
user error!!!
-
mason
RoyalYork: kk, no worries, I was curious. What's missing there that's preventing your netflix from working is widevine.
-
jarebear6expepjo
welcome!
-
RoyalYork
mason, , thanks ill look into widewine
-
jarebear6expepjo
or consider whether you want to support it, too
-
jarebear6expepjo
drm bad btw
-
mason
RoyalYork: widevine, and the most common way I've seen people approach it on FreeBSD is to run Google Chrome in the Linuxulator, with varying degrees of completeness (audio) and success.