-
RhodiumToad
if you don't set anything you should get UTC.
-
polyex
it's not the same
-
polyex
i tested it
-
RhodiumToad
not the same as what?
-
polyex
because /etc/localtime isn't there until running tzsetup UTC
-
RhodiumToad
having no /etc/localtime should have the exact same effect as having one that specifies UTC
-
RhodiumToad
if you like having the file there (I personally don't) then yes, do tzsetup UTC
-
polyex
i like consistency though
-
polyex
isn't that good?
-
RhodiumToad
consistency with what?
-
polyex
so no matter the tz, there's always a file at /etc/localtime with the value
-
BillyJoeBob
Anyone do any updates recently and broke wifi?
-
ChenXpisti
./quit
-
ChenXpisti
./quit
-
kevans
hrw: backported to stable/13; I wouldn't anticipate an EN to 13.2, but it can be tested with the stable/13 snapshots that will come out in a couple days
-
kevans
(re: xhci)
-
angry_vincent
kevans: hey!
-
polyex
what's the point of /etc/hostid? seems like a good way to make freebsd users trackable or something
-
kevans
angry_vincent: o/
-
kevans
polyex: I want to say it's primarily used in NFS stuff somehow, but we'll also use it to, e.g., generate a stable MAC address for NICs that don't provide one
-
kevans
I think zfs also uses it in some fashion
-
angry_vincent
kevans: i remember there was an attempt of backporting synth from dragonfly to freebsd and that changes are minimal. is there any specific steps documented about what is needed. it is stated ( by dragonfly ) that it should work on both systems.
-
kevans
angry_vincent: not documented anywhere, no
-
kevans
it mostly just works, but some config changes are needed (naturally) that I haven't taken the time to nail down yet
-
angry_vincent
how to work with it ( to chase the configs changes ). clone synth repository, compile or whatever are the steps?
-
polyex
what does it do to set the supersede-domain value for dhclient?
-
kevans
angry_vincent: there's some patching required, but I don't have the patch offhand at this machine
-
angry_vincent
:(
-
vortexx
polyex: it makes dhclient use your local domain name or whichever domain name you want instead of the one upstream assigns to you
-
polyex
why would that be good?
-
kevans
because you may not control upstream and you may want a different domain name (presumably this is search domain?) to be used
-
polyex
oh search
-
kevans
well, maybe, I guess. there's domain-name and domain-search
-
polyex
damn
-
polyex
weird thing is in a scripted bsdinstall, files that are overlayed on the FS as a custom distribution.txz all have their user/group set to the 1 new user i create in the bsdinstall script. why is that? any way to fix that without a chmod statement for evvvery file?
-
polyex
ah got it. i just needed to specify --uid and --gid in the tar command
-
polyex
--uid 0 i mean
-
polyex
why isn't bash saving its history to $HISTFILE?
-
hrw
kevans: thanks!
-
dch
thanks secteam & others, for all the work prepping those patches again to keep us safe :-)
-
dch
RhodiumToad: I have seen a few apps/tools that *demand* /etc/localtime. It's annoying.
-
dch
I forget the names though
-
polyex
in scripted bsdinstall, i have a bunch of config files in a distribution.txz. so that it gets extracted without my user:group on the files, i tar the distribution with --uid 0 --gid 0. that works for root files, but then some dirs and files that go into /home/user are owned by root:wheel not user:user. any solution?
-
parv
Is that a trick question? Update the user:group post extraction?
-
parv
chown -R user:group $HOME
-
polyex
will that cascade to all files within it?
-
parv
With "-R", ye
-
parv
-
VimDiesel
Title: chown
-
polyex
and that's safe to do? like there's no files or dirs in a normal $HOME that have a different owner:group than the user of the $HOME?
-
parv
:shrug:
-
sopparus
hello, I upgraded from 13.2 to 14-beta1 a few weeks ago, and got this freebsd-update bug thing
-
sopparus
can i repair it afterwards?
-
sopparus
will upgrade to beta4 just fix it when its out?
-
polyex
parv ok it worked
-
hrw
FreeBSD 13-daily are on
download.freebsd.org/snapshots/ISO-IMAGES/13.2 or is it other place?
-
VimDiesel
Title: Index of /snapshots/ISO-IMAGES/13.2/
-
polyex
daily?
-
polyex
like latest dev?
-
polyex
latest dev takes place on -CURRENT not any prior release
-
polyex
even 14 is behind -CURRENT now
-
hrw
polyex: no, I mean 'past 13.2, not yet 13.3' builds from FreeBSD-13 branch
-
polyex
ah
-
polyex
ya i wanna know too
-
hrw
polyex: 13.2 does not boot on my system, kevans helped to identify and backport fix for it. I have a ticket 'check freebsd 13.3' to remember about it and just wanted to add url to check there
-
cdrmack
did anyone here play with the Zig language? any thoughts?
-
Rue
i added an automount entry in my fstab to mount a linux ext4 hard drive. and it got mounted ok, but the user:group is under 1000:1000. i tried adding uid=1001,gid=1001 in my fstab entry but that apparently only works for ntfs filesystem. is there a way i can setup fstab to automount an ext4 drive so that i as the user can have read and write access? the rw option doesn't seem to work :(
-
SKull
Rue: change the users uid and guid?
-
meena
cdrmack: we've got people in here who are very interested and following it
-
cdrmack
@meena, thanks
-
Rue
SKull: you mean by adding uid=1001,gid=1001 to the fstab entry? i tried. or do you mean by chown the folder? but then when it gets automounted again in the future it will just get changed back to 1000:1000 again though right?
-
SKull
Rue: i'm no expert. but i'd just give the BSD user the 1001 uid and gid
-
meena
👍
-
SKull
meena: i'm really no expert, so i'm not sure if that thumbs up is sarcastic ^^
-
meena
make UIDs same works, yes.
-
cdrmack
there is an emoji? shiet, I might need to re-configure my HexChat since I see only an empty msg
-
SKull
cdrmack: unicode :]
-
jbo
jails are not implemented on top of capsicum, right?
-
dstolfa
jbo: no
-
jbo
I'm trying to better understand the difference between a jail and a capsicum sandbox.
-
jbo
(from a system perspective, not implementation/use)
-
meena
is it possible to have more than one rcvar (of sorts…) in a single script?
-
meena
cdrmack: welcome to 2023. We've had Unicode for about 30 years, tho it's only really been actively used for about 20. Unicode is cool, it means you can decode more than just ASCII without it conflicting. But Unicode is also hard, because not all scripts' gylphs are made up of a single thing, and not all scripts are written in the same direction,
-
meena
but too much software assumes that.
-
meena
Mixing left-to-right, an right-to-left makes a lot of software cry. And so does just plain trying to display Perso-Arabic script.
-
meena
so just writing "Hello / سلام" can probably make your computer explode, because programmers are ignorant and mostly just paid to build garbage under pressure.
-
cdrmack
I'm on a pretty fresh system, what font do you use?
-
dstolfa
jbo: they are separate systems. every process belongs to a jail ("unjailed" processes belong to prison0). you can think of them as a more restrictive chroot. capsicum on the other hand gives the software you're writing control of how sandboxing is done. once you enter capability mode, you can only use file descriptors that you have (they are treated as capabilities) or derived from the ones you have
-
dstolfa
(e.g. if you have a fd to directory you can openat() on that fd to get new ones). based on the permission list that the software specifies, there will be limitations on what system calls will be allowed for that process. jails are more of a sysadmin tool whereas capsicum is more of a software developer tool
-
jbo
dstolfa, alright, that is pretty much how I understood it too. thanks.
-
antranigv
what's the max CPU that bhyve can support
-
antranigv
?
-
jbo
antranigv, it used to be 16. AFAIK now it's "unlimited" (1024)
-
antranigv
jbo thanks
-
jbo
-
VimDiesel
Title: src - FreeBSD source tree
-
jbo
-
VimDiesel
Title: src - FreeBSD source tree
-
jbo
antranigv, I have a bhyve VM with 32 CPUs running just fine.
-
antranigv
I'm gonna need one with 240
-
antranigv
so, figers crossed
-
jbo
don't rely on what I told you tho.
-
jbo
antranigv, and I think you'll actually need to provide 240 CPU cores to bhyve for that to work.
-
antranigv
yeah, I have 512
-
jbo
excellent.
-
jbo
I hope someone else is paying for that :D
-
antranigv
they are :))
-
antranigv
stupid Linux can't handle megaraid_sas properly
-
antranigv
I used it for weeks on FreeBSD without issues
-
antranigv
no it craps on Linux
-
antranigv
so I think I'll go back to FreeBSD on the host, but run Linux inside a VM
-
jbo
yeah that's what we're doing everywhere too.
-
jbo
and then porting stuff so nowdays there's literally only one Linux VM :D
-
jbo
and most stuff runs just in jails instead
-
antranigv
I cannot believe that Linux "won"
-
jbo
I like to think of that as a good thing. If BSD would have won similar issues would arise here.
-
jbo
anything that becomes mainstream is practically doomed from an idealist point of view.
-
» g4rrgl3n0m4d likes jbo comment
-
kevans
hrw: yeah, that looks right
-
kevans
snapshot builds are weekly starting on thursday around midnight UTC, generally available by late Thursday / early Friday IIRC
-
hrw
thanks kevans
-
Biledramer
Justin Bieber and Mariah Carey f u c k in their minecraft world! Sample and link: Meanwhile, Justin was smoking his bong, watching the two women and getting more aroused by the minute. As Justin Bieber got high on weed, his eyes couldn't help but fixate on Mariah's nether regions. The smoke had given him the munchies, and he craved a snack. Without any shame, he dove his face into Mariah's vagina,
-
Biledramer
-
VimDiesel
Title: Justin Bieber and Mariah Carey in Their Steamy Hot Minecraft World - JustPaste.it
-
dch
classy
-
angry_vincent
hmm.
-
SKull
Biledramer is really bad at posting bait. No one heard of Justin Bieber or Mariah Carey in years.
-
SKull
hell, even minecraft isn't that popular anymore.
-
ek
SKull: That's pretty true. Personally, I'm still trying to figure out how the feces got to where it was mentioned.
-
SKull
ek: maybe Biledramer just doesn't know the first thing about the female anatomy. Or Mariah Carey is really unsanitary.
-
ek
SKull: It could very easily be both.
-
signalblue
SKull: she did enter the bathroom where an old lady was already using it
-
signalblue
in the Heartbreaker video
-
meena
signalblue, SKull, ek: for chitchat you might want to #freebsd-social. this channel tries to stay in topic
-
BillyJoeBob
So, is there a way to disable the beep noise when searching for a string in firefox where no results are found? I just plugged in speakers and it's stupidly loud compared to the rest of the system audio.
-
meena
BillyJoeBob: check about:config
-
b1ldramer
Garfield Has Sex with Nermal in Minecraft - Garfield lures Nermal into a Minecraft world and gangbangs him with Steve, the Ender Dragon, and Creeper.
justpaste.it/Garfield_Sex_Nermal_Minecraft
-
VimDiesel
Title: Garfield Has Sex with Nermal in Minecraft - JustPaste.it
-
meena
sometimes i wish IRC would let you delete history
-
rsjw
I connected an external monitor to my laptop and adjusted X11 using xrandr so the monitor is at a higher resolution than the built in screen and it's now the primary output. however when I switch back to a VT there is a fair amount of framebuffer space to the right and at the bottom that does not show on the external monitor. also the mode is wrong in that there are black bars on the left and right. is
-
rsjw
there a way to fix this? I'm using i915kms.ko
-
polyex
when i'm running bhyve for the first time to install the OS on a vm guest, the initial boot screen is there for 10 seconds. any way to disable it? AFTER the OS is installed it's not a prob because i set autoboot_delay="-1" in /boot/loader.conf. it's the first boot i can't figure out how to change. is the only option to change the file in the
-
polyex
installer iso that bhyve boots with?
-
rsjw
maybe you could mount the .iso, copy the files to a writable location, change /boot/loader.conf in there and then make a new .iso
-
polyex
well ya that was the last sentence i said
-
polyex
was just hoping there was a way without modifying the iso
-
meena
polyex: is there a reason you haven't made your own VM images yet?
-
polyex
made my own vm image?
-
polyex
do you mean .iso installer image?
-
meena
no, i mean, you do an install, then take snapshot of that, and use it for the next VM
-
meena
hrmmmm… that would require something like cloud-init tho, to modify hostname settings, and whatnot
-
polyex
well i'm getting there. first i gotta get scripted bsdinstall done. THEN i can use it to install a new vm, THEN i can get into snapshotting and cloning
-
polyex
hmm
-
polyex
why's cloud init required?
-
polyex
to modify hostname ... when?
-
kevans
at first boot of a cloned vm, presumably
-
polyex
ok well all that stuff is next step
-
meena
it, or something like it, is useful to make some settings you're gonna make on every machine (albeit differently)
-
polyex
k i'll check it out next
-
polyex
ty
-
polyex
but so for my question, is the only way to do it to modify /boot/loader.conf in the installer .iso then repack it?
-
polyex
like no way to force bhyve to do it when it starts the vm installer?
-
meena
Hostname, SSH Keys, growfs, Bikeshed growfs:
reviews.freebsd.org/D27161 , configure network, DNS, ntp, setup sudo, install packages, configure configuration Management, phone home and tell ET everything is going to be okay
-
VimDiesel
Title: ⚙ D27161 growfs: make exit codes more consistent
-
meena
-
polyex
for my question or for the cloud-init thing you're talking about?
-
meena
we can also do growfs (in fact, i use our growfs service in cloud-init)
-
meena
ah, misunderstood your question.
-
meena
So, basically, you'd have to send a key (enter) to the boot screen
-
meena
I don't know if we have any tool for doing that
-
polyex
send a key to the boot screen for what?
-
meena
to shorten the default countdown of ten to one (or zero) on the first boot
-
polyex
oh, actual keyboard key. ya i do that now manually
-
polyex
i guess the answer is no it's not possible without modifying the loader file in the installer iso, ok
-
polyex
ty
-
meena
wait
-
polyex
ya?
-
meena
So you have a console open? your machine has a console of some sort?
-
meena
you're not doing completely unattended installs?
-
polyex
no i'm watching it run in a bhyve guest vm through vnc
-
polyex
it starts, completes, reboots, all automated except my manual key press to skip the 10 second wait lol
-
meena
yeah, so, I'm thinking, if you could connect to the serial console instead of vnc with something like
man.freebsd.org/expect(1)
-
VimDiesel
Title: expect(1)
-
meena
that one is very old school. maybe the days there's better things at hand
-
polyex
if i won't ever use a mouse with this server can i block ums0 from loading or would that block usb keyboards too? can i make bhyve start vm with usb keyboard but NO mouse?
-
polyex
or just make bhyve start up with no mouse device
-
polyex
so then maybe the OS won't auto load its driver?
-
BillyJoeBob
It has actually been stupid easy to work with raw disk images from a Windows system on FreeBSD! I've been in the process of dding a hard drive to a raw image, then shrinking the NTFS filesystem, shrinking the partition. I've made sure Windows still boots in VirtualBox. Now I'm copying the necessary partitions/mbr to a smaller raw disk image (from a terrabyte to 128gb) to eventually be converted to a
-
BillyJoeBob
VirtualBox image.