-
mvee
correction: location is /usr/local/jails/classic and the command I'm running is chflags -R 0 /usr/local/jails/classic.
-
rtprio
tp512: does it come up in dmesg / usbconfig ?
-
mvee
nevermnind, I've been staring at this for too long... I got it figured out. location is /usr/local/jails/containers/classic. all is good
-
tp512
rtprio: in dmesg it shows up as ugen1.3: <Microsoft Controller> at usbus1
-
tp512
I could check usbconfig, but presumably it will show up, dunno how much useful information it might have
-
tp512
it's just the message about it being registered on the bus, no messages from a driver loading and configuring the device
-
rtprio
that means there's no driver for it,
-
rtprio
unless sdl is smart enough to use it as is, which i doubt
-
tp512
well as-is, SDL just doesn't recognize it. honestly pretty disappointing, I had just assumed this is something FreeBSD would have support for by now
-
tp512
especially since PS4 and PS5 controllers appear to work
-
rtprio
unless a developer fancied a game of tuxracer and took the effort to do it, thre's no reason to think that it would work
-
rtprio
stop assuming that everything works, just because it happens to work on linux
-
tp512
well it was an assumption based on the fact that 360 controllers work, and that NetBSD already has support in their driver. I guess NetBSD shouldn't really be used as an indicator, but I don't really expect it to have better support than FreeBSD for anything from like the last decade
-
tp512
for vintage hardware, sure
-
rtprio
you can check, it might be as easy as just adding the device identifier to the xbox driver
-
rtprio
or it might be a whole new driver
-
tp512
I'm going to look at their driver. I *think* I tested with my 360 controller on NetBSD as well and it loaded the same driver as it did for the Series X|S controller, though this was months ago
-
tp512
unfortunately my 360 controller is out of commission or I'd just use it
-
tp512
needs to have the cable replaced, at the very least, and I don't have any soldering equipment. probably not a tough repair if I got that set up
-
tp512
NetBSD's anonhg sure is sluggish, bleh
-
tp512
so the driver is uhidev, uhidev_match gives the exact same return value for XInput controllers and Xbox One controllers, promising sign that maybe it's a really simple change to add support
-
johnjaye
tp512: i've never found 360 controllers very comfortable but maybe it's just me. i had problems using the dpad on them so stopped using them.
-
tp512
the d-pad is really the only thing I actively dislike on the 360 controller, but they improved that quite a bit on the Xbox One and Series S|X controllers
-
tp512
the d-pad on these has like microswitches for the buttons, it's not just a mushy disc like the 360's
-
johnjaye
is the software interface still based on the 360?
-
johnjaye
i was never really clear how joysticks were implemented as hardware devices
-
tp512
I don't really know the details either, it seems like NetBSD at least is using the old code for the newer controllers, just adding the new device IDs to get the driver to associate with the controllers
-
beastwick
I am running latest for packages and I would like to take snapshots before upgrading them. It looks like there is a separate default zfs dataset for /usr. Should I snapshot this dataset? All packages installed by pkg go into /usr/local right?
-
tp512
the /usr dataset isn't actually mounted, it only exists for /usr/ports and /usr/src
-
tp512
had to have that cleared up for me like last month, heh
-
beastwick
oh, so then I should snap zroot/ROOT?
-
beastwick
zroot/ROOT/default I think actually
-
tp512
yes, though I might suggest using boot environments
-
tp512
I've just been creating BEs to make bootable snapshots of the system state before I run OS upgrades
-
beastwick
-
VimDiesel
Title: Updating FreeBSD With ZFS Boot Environments (beadm) | The FreeBSD Forums
-
tp512
you don't really need beadm, the base system comes with bectl
-
tp512
but other than that, basically seems like the process I'm using
-
beastwick
yes I see that freebsd-update/upgrade is creating boot environments already
-
beastwick
so I can manually create a new boot environment with bectl?
-
tp512
I don't know anything about freebsd-update creating BEs, I haven't run -RELEASE in like a decade
-
beastwick
oh you're on CURRENT?
-
tp512
but yeah, you can manage BEs manually with bectl
-
tp512
I run STABLE any time I use FreeBSD, basically
-
beastwick
STABLE is CURRENT merges after they are deemed "stable", I was just reading about that I think
-
beastwick
sort of like gentoo's stable policy after packages pass testing/certain time period?
-
tp512
CURRENT is the main (aka "master") branch, each release series gets its own stable branch, and yeah some stuff is pulled back from main to stable
-
beastwick
right, and then STABLE eventually becomes the next RELEASE?
-
tp512
the releng branches are where RELEASE versions come from. I don't know the exact relationship between the stable branches and corresponding releng branches
-
beastwick
no prob, I am probably close to the right answer, I'd imagine stable factors in somewhere
-
tp512
like I'm guessing releng is branched off of stable, but someone more familiar with release engineering would have to chime in
-
tp512
so, system has been stable all day on drm-510-kmod. pretty sure drm-515-kmod's amdgpu.ko was causing page faults
-
tp512
hopefully the LinuxKPI stuff from CURRENT gets brought back into STABLE so that drm-61-kmod can be used, I'd kinda like to test with that
-
johnjaye
tp512: my understanding is there is CURRENT which is the current version and periodically branches off the trunk are made ("releng") which are numbered 10,11,12,13,...
-
johnjaye
so you would have e.g. 10.0, 10.1, 10.2, then on the 11 branch 11.1, 11.2, etc. STABLE refers to the latest version on one of those branches. so 13-stable would be the next version of 13
-
johnjaye
so in git the branch tag would say stable/10 or stable/13 and the build name would be like FreeBSD 10.1-STABLE
-
tp512
but releng/14.1 would be branched from stable/14, I presume, basically freezing the state of that point of the stable/14 branch and only pulling down stuff like bug fixes?
-
johnjaye
no it's the other way. releng release refers to the initial 14.0 release. then stable is the "latest" 14 up to that point
-
tp512
I'm not talking about 14.0
-
johnjaye
oh i see releng is used as a tag for all the releases on a branch
-
tp512
each point release has its own releng branch
-
tp512
guessing the patched updates that get periodically released for RELEASE are developed on top of releng, pulling down like low risk commits from stable
-
johnjaye
right. CURRENT is the dev version of the main trunk. STABLE is the dev version of a given branch. like 10-STABLE
-
johnjaye
the terminology is weird because "stable" is actually development version
-
tp512
what I'm confused about is the initial .0 release, like were stable/14 and releng/14.0 created from the same commit on main? did one predate the other?
-
SponiX
Yeah, but if you are just tracking the RELEASE, and not following STABLE - You are missing out on security patches for CVEs and the like aren't you?
-
CowboyNeal
release gets patched
-
tp512
SponiX: no, RELEASE is periodically updated
-
johnjaye
my understanding is releng/14.0 is created as a branch, then 14-stable is the dev version of that on that branch
-
johnjaye
so you'd have releng/14.0 -> 14-STABLE on the git tree. can someone tell me if i'm right
-
SponiX
CowboyNeal: oh, this where they do like 13.1-p4 and stuff?
-
CowboyNeal
yeah
-
CowboyNeal
$ uname -r
-
CowboyNeal
14.0-RELEASE-p5
-
SponiX
Nice
-
johnjaye
patches can be pushed backwards from CURRENT or STABLE as well yes
-
johnjaye
i'm not sure how it works exactly
-
SponiX
Sorry for the ignorance. I haven't actually played with FreeBSD in a decade or so
-
johnjaye
I'm basing what I said off the Lucas book and it is fairly current
-
johnjaye
hmm 2018
-
dch
johnjaye: almost but not quite
-
dch
14-STABLE is the branch that 14.0-RELEASE is created from.
-
dch
typically patches go to CURRENT branch (actually called main in git) and stew for a few days
-
dch
or weeks
-
dch
and then these are moved (often called MFC, or Move From Current) into the STABLE branches for each supported release train
-
dch
13-STABLE and 14-STABLE
-
dch
these are called STABLE because the ABI should be ... stable .... over time
-
tp512
what I'm wondering about personally is whether the stable branch shows up before or after the release engineering for the next major release
-
tp512
like at what point in the process will stable/15 be branched
-
dch
thus you should always be able to build/run 14.0-RELEASE ports and packages on a 14-STABLE kernel if you want
-
dch
the official release branches are named releng/<major.minor> e.g. releng/13.3 releng/13.2
-
dch
and any FreeBSD 13.2-p4 patches are landed explicitly on those branches only by re@ or security@ teams
-
dch
so: CURRENT -> STABLE-x -> releng/x.y
-
tp512
so even in the alpha/beta/RC stages of a new major release, is there still things filtering through a stable branch forked off from main?
-
dch
-
VimDiesel
Title: [FreeBSD-Announce] Changes to the FreeBSD Support Model
-
dch
"A new stable/ branch release will not occur before two years after the X.0-RELEASE from the prior branch"
-
dch
tp512: sort of. it starts off quite loose, and gets "slushier" as we get closer to a release
-
dch
tp512: oh I misread your question. Yes, stuff is MFC'd all the time from current->stable branches.
-
dch
you can see this atm as 13.3 was released just a week ago
-
dch
-
VimDiesel
Title: src - FreeBSD source tree
-
tp512
dch: what I mean isn't current to stable merges, but like, what happens with releng/x.0, does stable/x start at the exact same point to serve as an upstream of releng/x.0? or does stable/x not exist until after x.0-RELEASE is out
-
dch
tp512: aah right
-
dch
so:we start with CURRENT
-
dch
we start with CURRENT
-
dch
then 15-STABLE would be created
-
dch
and CURRENT becomes the new 16-CURRENT
-
dch
then we want a release
-
dch
so releng/15.0 is created off 15-STABLE
-
dch
and we do the alpha -> beta -> rc -> release -> patches dance
-
dch
-
VimDiesel
Title: FreeBSD 13.0 Release Process | The FreeBSD Project
-
dch
so stable/x exists first and is the branch that specific releases for releng/x.y will be taken from
-
tp512
kinda just seems like releng/15.0 and stable/15 would be redundant during those very early phases, having trouble thinking of what differences they'd have
-
tp512
like what changes to STABLE at that point wouldn't make it into the 15.0 release
-
tp512
unless the releng branch is just to slow things down, add an extra barrier for things that could make it into stable but might not be fully ready until the .1 release
-
dch
tp512: I think in practice you're correct.
-
dch
as the release moves towards completion, requests to move from the stable branch (where committers can just push), to the releng/x.y branch (where committers need explicit approval from re@ ) need a progressively higher bar to go ahead
-
dch
and eventually it's like unless this breaks something critical like boot process for everybody, then the release goes ahead
-
dch
and your patches either go through an Errata process and an official -p0 patch, or you wait for the next minor release
-
tp512
makes sense reading the 13.0 release schedule
-
dch
its helpful to have the same process for all releases
-
tp512
and after, say, 15.0-RELEASE, releng/15.0 will become the branch from which patches are released?
-
dch
yes, for 15.0-RELEASE-p0...pX
-
tp512
so following the releng branch would end up getting the same things that get bundled into the next patch
-
tp512
unless something manages to get through that does need to be reverted
-
dch
tp512: yes. releng/x.y is *exactly* x.y-RELEASE-pZ
-
dch
-
VimDiesel
Title: src - FreeBSD source tree
-
tp512
seems like overall this is similar to how NetBSD does things except they don't seem to use releng branches at all, but on my one NetBSD machine I'm using what's effectively the 10-stable branch, though the builds get labeled as RCs since that's the phase 10.0 release engineering is in
-
tp512
like the stable branch effectively serves the same function as releng leading up to a point release
-
dch
-
VimDiesel
Title: DEC Mini, a lovely 3D-printable retro computer
-
dch
my birthday is coming up, I DESERVE THESE TOYS
-
tp512
kinda wish they'd incorporate LinuxKPI. 10.0 isn't even out yet and it's gonna be stuck on DRM drivers from Linux 5.6. if you want newer ones during the lifetime of 10.x you'd have to use current after new drivers get merged
-
tp512
with FreeBSD I like how the drivers are modular and allows for new ones to show up through a release series
-
tp512
oh huh so releng/14.0 isn't even a trickle of commits, they're merged in batches when the patch releases are to be pushed out?
-
dch
yep you commit to 14-stable then beg re@ for approval, and when a sufficiently urgent patch arrives, the batch will be released
-
tp512
I gotta get bluetooth audio up and running at some point. plugging my laptop into this bluetooth speaker through the aux input while also charging the speaker through the laptop, I guess it forms some kind of ground loop?
-
tp512
I hear whining and hissing from the speaker
-
dch
ugh thats bad yeah
-
dch
the 50Hz whine?
-
tp512
well, 60Hz mains here, but the whine is regardless of whether I'm plugged in to AC
-
tp512
might not be a loop, maybe the noise is just going away when I unplug it from the speaker, because it mutes when it isn't plugged in. could just be a normal case of poorly isolated power components
-
tp512
like a case of the power signal coming over the USB cable getting into the amp's input
-
tykling
these archives do not show everything that is happening on this list
lists.freebsd.org/archives/freebsd-jail is there another place with complete and uptodate archives? thanks!
-
VimDiesel
Title: freebsd-jail⊙Fo
-
tykling
nevermind, I was looking at the wrong month I think, carry on :)
-
drobban
Trying to find which man-page I can read about the parameters mentioned in this thread;
forums.freebsd.org/threads/resource-limits-for-jails.73187
-
VimDiesel
Title: Resource limits for jails | The FreeBSD Forums
-
drobban
for example rctl -a jail:<jailname>:vmemoryuse:deny=512M <- the parameter/setting vmemoryuse. Where do you guys find the list of settings.
-
tykling
drobban: you can also get rctl to show current resource limits
-
nimaje
drobban: in rctl(8)
-
drobban
thx nimaje
-
drobban
tykling: interesting.
-
tykling
drobban: so you can just run "sudo rctl -hu jail:1" where 1 is a jail id
-
tykling
I said limits above, I meant usage
-
drobban
nice tip. this is kinda cool to be able to control resources for every jail
-
tykling
yes it is fantastic
-
drobban
hum. pcpu is interesting, but is there a way to limit number of cpu-cores used? doesnt seem to be the case.
-
drobban
on the other hand. the percentage could just be adjusted to get on equivalent levels.
-
drobban
*I guess*
-
fspkwon
Testing Testing
-
fspkwon
ok i think its on wow
-
johnjaye
dch: so if i were to try and restate what I said. the stable branch is created and then the 15.0-RELEASE is a leaf budding from that branch
-
johnjaye
moreover as it is built up to release you need more and more permission from the team to add things to 15.0-RELEASE. then finally it is released. so you have 16-CURRENT, then 15.0-RELEASE on its branch with STABLE being the development "growing" along that branch
-
johnjaye
and due to the definitions you can always build 15.0 ports and use them without changes on 15.x leafs in the future
-
alepzi
what pw useradd settings do i need for a user that won't get a pass and can only ssh in with a key in .ssh/authorized_keys
-
alepzi
just -w no, then put key in authorized file?
-
alepzi
because man page says -w no disables login
-
alepzi
so that's prolly wrong
-
rwp
alepzi, Is it practical for you to configure ssh to disable all passwords and only use ssh keys? Setting "PasswordAuthentication no" in /etc/ssh/sshd_config file?
-
alepzi
got that already
-
alepzi
kbdinteractiveauth is no too
-
rwp
In that case all passwords will be blocked, unless they can get physical access to the system. Unless some access other than ssh is installed. (ftpd, telnetd, other)
-
alepzi
just wondering the right pw useradd settings
-
alepzi
but why set a pass at all if i only wanna allow auth via ssh key?
-
rwp
One thing that annoys me about FreeBSD is that they use a password database account system rather than /etc/{passwd,group,shadow} files. It's simple with the use of the files. And I can remember how it works. But with pw I don't remember and always must read the documentation.
-
nimaje
pw is just a utility, you can edit those files manually and use pwd_mkdb if you want, well using vipw is probably better, as you don't need to remember to run pwd_mkdb then
-
alepzi
just tried leaving -w no in, NOT setting a pass, and i can still ssh in as long as the key is in authorized_keys
-
alepzi
so the man page for pw is kinda incorrect. -w no doesn't disable login, it disables password auth
-
alepzi
isn't login via ssh considered login?
-
dch
johnjaye: yes exactly
-
dch
alepzi: yes `pw usermod name -h -` will disable login as user via console, whilst still allowing ssh
-
dch
alepzi: you can add additional controls in ssh as well, I like having both
-
kraptv
hey dch, did you ever experiment with FreeBSD on hetzner? (I did in the end) - seemed OK, and was able to install in various ways.
-
giro
I'm thinking to replace Debian with FreeBSD on hetzner, but haven't looked into that yet
-
kraptv
giro - yeah, I've done it, it works!
-
giro
I hope it shouldn't be complicated. Did you encounter any tricks?
-
kraptv
I did a lot of weird things, crazy dd's in place, there were maybe three tutorials, and ultimately even though Hetzner claimed no FreeBSD support, there were FBSD images that I could use to attach and boot against. So, go figure, you can do it the easy way or the hard way, giro. :-)
-
alepzi
dch so since the man page for pw is a lil misleading should it be fixed?
-
s2r
It has been a "long" time since my last freebsd upgrade. How long did it take to install all the base system after the first reboot? It has been more than 15 mins and I'm getting nervous of not seeing any output. I'm running htop on a different tmux screen and I see many "install -S -o 0 -g 0 -m 0444 d84414e3a6f52b9356690670dbda249d265d7a1c067aa67fe2ebe90e76281e1f ///usr/share/man/man5/ypldap.conf"
-
rwp
s2r, I spent a long time staring at my screen too. Better not to watch. Get up. Go for a walk. It will be done when you get back. That's the less stressful way.
-
Teraii
libXdmcp-1.1.5 is broken on latest, is there a way to rollback to 1.1.3 without local backup
-
Teraii
?
-
rwp
Are you installing binary pkgs? Look in /var/cache/pkg for /var/cache/pkg/libXdmcp-1.1.3.pkg pointing to the previously installed still cached package.
-
Teraii
yes but accidentally clean ...
-
rwp
Do you have any other systems that you can look around to see if they have it available for you?
-
s2r
rwp it finished.
-
Teraii
ho perhaps my laptop
-
» Teraii is seeing ...
-
rwp
-
VimDiesel
Title: e6Gg
-
» Teraii using cygwin xorg :p it's very slow
-
rwp
s2r, Yay! \o/
-
rwp
Teraii, That's on my quarterly updated system btw...
-
Teraii
libXdmcp-1.1.5.pkg -> libXdmcp-1.1.5~8a86b45642.pkg
-
Teraii
etc
-
rwp
I value stability and therefore quarterly is more reliably stable and I'll see the latest updates on average 6 weeks later anyway.
-
rwp
Though I should spend time on the tip-of-the-spear and debug and file bug reports on latest to do my duty on the frontline too.
-
Teraii
indeed
-
rwp
Teraii, Oh, I forgot to ask if you were on ZFS and if so if you had snapshots?
-
Teraii
seems to be a recent lib because no version of this pkg is in my laptop
-
Teraii
rwp, helas :)
-
Teraii
but now all packages downloaded will be in backup
-
Teraii
well no Xorg for a time
-
rwp
So, does "helas" mean yes or no there? And by your next I assume that the answer was no?
-
Teraii
rwp, ho sorry "helas" => no
-
Teraii
i'm sad
-
rwp
I mean helas might have meant hella good too.
-
Teraii
is there a repo lately sync ? :)
-
rwp
And you have no snapshots either?
-
Teraii
no
-
Teraii
it's all my fault, i know
-
rwp
But you are still running Latest? Me shakes my head. Life! You get the test first and the lesson second! :-)
-
Teraii
:)
-
rwp
Fortunately this is a pretty mild problem that will definitely sort itself out within a day or so in the worst case. So things could be worse.
-
Teraii
yes
-
Teraii
probably solved on next build
-
rwp
If you are interested in any of the files from my paste above I would make them available to you trivially on my web site tmp area. But I don't know if those quarterly pkgs are compatible with your Latest system. I don't know. But you could try the latest of them to see.
-
Teraii
i think not
-
Teraii
but good news :)
-
Teraii
i have found a backup of the repo :)
-
rwp
Excellent! Backups are a good thing.
-
Teraii
hope the file is not too old
-
Teraii
multiple backup are better :p
-
Teraii
+s
-
rwp
The backup rule is 3-2-1. At least 3 copies. On at least 2 different types of storage. At least 1 off site.
-
Teraii
yes ! found !
-
Teraii
indeed :)
-
Teraii
the first backup is broken but the second one is working :)
-
Teraii
hoping my xorg work again
-
Teraii
hum :( semm not
-
Teraii
seam not
-
Teraii
rolling back all other packages
-
Teraii
ok issue found and corrected :)
-
Teraii
the faulted pkg was : libxcb
-
Teraii
last working version : libxcb-1.15_2.pkg
-
rwp
Glad to hear you are back up with X working again. And that you were able to diagnose the problem to the problem package.
-
rwp
Maybe make snapshots before upgrading next time? :-)
-
Teraii
indeed, moved on my new X :)
-
Teraii
yes allready added on my scripts ;)
-
Teraii
my X seems to be faster than before :p
-
Teraii
now the backup work exactly like my poudriere :p
-
Teraii
only branch working are pushed in prod :p
-
Teraii
rwp, thank you for moral support ;)
-
rwp
:-)
-
Oleg
ChatGPT is unable to describe correctly what each option in "portmaster -adBG" stands for.
-
Oleg
Gemini Advnaced is unable to do it either.
-
rtprio
wow, the man page can probably describe it
-
Oleg
I asked ChatGPT, "what option should I pass to portmaster on FreeBSD if I want it to do the same thing as "make rmconfig?" It responded, "To achieve the same effect as make rmconfig with portmaster on FreeBSD, you would use the --rmconfig option."
-
Oleg
I told it, "Illegal option --rmconfig". It responded, "portmaster doesn't have a direct equivalent to make rmconfig. However, you can manually remove the configuration for a port by deleting its options directory under /var/db/ports."
-
rtprio
ok, read the man page, unless you really enjoy being told the wrong things
-
edenist
Given the statistical nature of the LLMs, it seems consistent with the response to such a question will statistically likely to be "read the man page". Though it does seem one thing lacking about the current trendy LLMs is the lack of ability to say when they don't know something and to go elsewhere
-
Oleg
I am reading the man page and still can't figure out what portmaster's equivalent to "make rmconfig" is.