-
kerneldove
why can't we set vfs.zfs.arc.max unless we also set vfs.zfs.arc.min?
-
Ltning
What's the correct way to pass cputype flags to buildworld/buildkernel? If I interpret things correctly, by default it only builds with "amd64 sse2 sse mmx" instruction sets?
-
rtprio
Ltning: man make.conf
-
Ltning
Yea I am tryinng to comprehend that, with mixed success
-
nerozero
Is it safe to `rm -rf /usr/ports/distfiles/*`
-
Ltning
Yes
-
sbr
Depends what you are worried about, its safe to rm -rf /usr/ports entirely, just check it out agai
-
nerozero
i'm using poudriere, and it is a poudriere build machine
-
mosaid
Hi
-
mosaid
noone answered me.. why?
-
rwp
mosaid, Your question was a little vague and fuzzy. And probably no one at the time knew how to answer. Could you install using partitions and upgrade from 14, I think you asked?
-
rwp
Most of the enthusiastic people are using zfs these days and zfs has efficient datasets for as many partitions as desired.
-
rwp
I suggest installing a default install of FreeBSD using zfs, you said you wanted to install 14, and then yes you can upgrade from 14 to 15 to experience the process. It will all work okay.
-
rwp
Of course if you don't want zfs you can also install without and the same is also true. The upgrade will work okay.
-
mosaid
what? never said that
-
voy4g3r2
you asked to have your usr tmp var etc.. in seperate partitions and install on a usb.. correct?
-
voy4g3r2
datasets are analogous to partitions
-
voy4g3r2
zfs pool, make multiple datasets that mount to the specific "partitions"
-
mosaid
I am talking about I have 13.5 fully working system I will split every dir into partition.. then entirely overwrite partition / with fresh 14 and upgrade my packages will this work?
-
mosaid
voy4g3r2: yes
-
mosaid
I can't use zfs now
-
voy4g3r2
the minute you play with partitions.. data goes bye bye
-
voy4g3r2
especially if you are NOT using zfs
-
mosaid
I talking about easy solution
-
boru
Can you back the data up, wipe and restore what you need/want?
-
mosaid
voy4g3r2: why "bye bye"?
-
voy4g3r2
becuase you are manipulating the parititions
-
mosaid
I will not mount these partitions.. only "/"
-
mosaid
wait
-
rwp
As I said, your original question was very vague and fuzzy. :-)
-
voy4g3r2
maybe i just do not fully understand your question. You have a 13.5 operational system, with a set of partitions. You then want to "change" that layout to a new set of partitions. Then upgrade to 14?
-
voy4g3r2
i am just being more verbose than rwp. :)
-
mosaid
I think I need to download base.zip and those stuff manually extract them in /
-
mosaid
now usb
-
mosaid
I read that somewhere but I am asking about more info
-
rwp
I suggest not creating partitions for every directory. I don't think that is good. I do not understand why you would want to do that in this case where things are already working without.
-
voy4g3r2
i understand you are asking for more data, not info, because i am not sure what your goal is. It appears you are trying to solve an issue, that i personally do not fully understand.
-
rwp
I also do not understand.
-
nesta
I too do not understand
-
boru
kldload understanding.ko
-
nesta
version mismatch :P
-
mosaid
voy4g3r2: forgot changing now I have every dir separated like var, usr,tmp,home partition already
-
robert12
You put that in GENERIC, its not optional.
-
mosaid
and have "/"
-
voy4g3r2
well yes
-
voy4g3r2
so you have a partition layout already, and you are happy with it?
-
voy4g3r2
that is on version 13.5, correct?
-
mosaid
yes
-
voy4g3r2
cool
-
boru
So, you just want to run bsdinstall from a USB stick or what?
-
mosaid
yes
-
voy4g3r2
and now your next step is.. upgrading to 14.x?
-
mosaid
sure
-
voy4g3r2
ah.. so your friend will be freebsd-update :)
-
mosaid
oh no
-
robert12
why such an unusual setup
-
mosaid
headache
-
voy4g3r2
mosaid: may i ask why?
-
voy4g3r2
well upgrades, from major to major version, could be a headache.. but manageable with some prep work
-
mosaid
upgrading version on ufs is ultimately hard
-
boru
...
-
voy4g3r2
nah
-
mosaid
so want easy way on ufs
-
voy4g3r2
different than zfs, yes, but hard nah
-
rwp
What makes it hard to upgrade on UFS? I have upgraded UPS systems from 13 to 14 okay.
-
voy4g3r2
mosaid: have you backed up your current system yet? that should be step one
-
voy4g3r2
just in case something goes boom.
-
rwp
+1 for ensuring a good backup before upgrading. Ensures victory.
-
voy4g3r2
after that is all nice and complete, we can then make sure you are on the latest version 13.x
-
voy4g3r2
that is possible with a nice and awesome freebsd-update fetch
-
voy4g3r2
freebsd-update instaall
-
voy4g3r2
spelled right ofcourse
-
voy4g3r2
then do a nice and sweet: pkg update && pkg upgrade
-
voy4g3r2
to be even safer, do another backup after those are done
-
voy4g3r2
then once those steps are done
-
mosaid
ok, but I want to explain something.. I have a huge number of different bsd and centos + ubuntu, and some old ports things like that
-
voy4g3r2
all good
-
mosaid
need to upgrading to work on 14
-
rwp
My favorite way is "env PAGER=cat freebsd-update fetch install" (env works regardless of shell being csh, sh, or other). Then "shutdown -r now" Then ""env PAGER=cat freebsd-update install" to finish. (First updates the kernel. Second updates the userland.)
-
mosaid
I upgraded from 13.2 to 13.5 was headache and hard to get those stuff work agian
-
voy4g3r2
or the "sexy" way rwp is doing it
-
voy4g3r2
are those other operating systems in bhyves?
-
mosaid
I am scared from major upgrad now
-
voy4g3r2
understandable
-
voy4g3r2
we are not suggesting anything, that i would not do myself, to you
-
mosaid
voy4g3r2: they are linux emulation need their emulation packages
-
voy4g3r2
that would just be wrong and not cool.
-
rwp
How are those other systmes, bsd+centos+ubuntu, installed and running?
-
mosaid
linux emulation packages
-
voy4g3r2
with a simple www.freshports.org lookup
-
voy4g3r2
that will say if they are around.. i would not worry about that too much honestly
-
mosaid
I looked but I am scard more from my port collection
-
rwp
You are using the
docs.freebsd.org/en/books/handbook/linuxemu way of linux binary compatibility?
-
mosaid
they are some discontinued and removed ports I built and upgraded important for daily use
-
mosaid
for rox-filer
-
mosaid
and some other stuff
-
mosaid
rwp: yes for linux-c7 and ubuntu debstrop I spilled wrong
-
mosaid
I am talking about ports..c ould I run 13 port with updating code on 14?
-
mosaid
*without
-
voy4g3r2
i am not sure on that
-
rwp
The newer kernel should support older programs+libraries okay. Older libraries are sometimes moved into compatibility packages.
-
mosaid
theirs compatibility packages on freebsd?
-
rwp
If an older library got removed it can be restored for older program compatibility.
-
voy4g3r2
and could also make jails and stuff
-
rwp
Yes. But I don't recall the names of the various ones as I don't need them for me. But yes. And voy4g3r2's suggestion of keeping a jail for the older programs is best.
-
voy4g3r2
so i think that issue is now addressed for you mosaid
-
voy4g3r2
anything else concerning you?
-
rwp
If you have specific older programs you an jail them running them out of a jail area. Then upgrade the host. Keep the jail without upgrading it.
-
mosaid
yeah got a keywords for searching now
-
voy4g3r2
and once all that stuff is backed up
-
voy4g3r2
freebsd-update -r 14.0-RELEASE upgrade
-
rwp
Running older programs in a jail on an upgraded host is a time tested technique.
-
voy4g3r2
freebsd-udpate install
-
mosaid
rwp: I am making sure bsd is best day after day
-
» voy4g3r2 has a few jails on 14 even though on 15
-
rwp
voy4g3r2, (I think you can only -r 14.4-RELEASE now. Not sure though. Can you -r to 14.0 now? Honest question.)
-
mosaid
but does zfs have roll-back option?
-
kerneldove
why can't we set vfs.zfs.arc.max unless we also set vfs.zfs.arc.min?
-
mosaid
If something goes wrong
-
rwp
The freebsd-update program keeps files for "freebsd-update rollback". ZFS has Boot Environments separately for doing a different type of rollback.
-
rwp
Since you are using UFS you would have available for you "freebsd-update rollback" if something fails.
-
voy4g3r2
rwp: you could be right :) i will go with yours
-
rwp
And you would have your backup that you could use to restore from too in the case of disaster recovery.
-
voy4g3r2
once you do dhte -r 14.4-RELEASE upgrade do a freebsd-update install
-
voy4g3r2
reboot that bad boy..
-
voy4g3r2
then do another freebsd-update instal
-
voy4g3r2
then you can do a happy dance.. you will be on 14.4 :)
-
voy4g3r2
cheers and happiness all around
-
mosaid
thanks :)
-
rwp
Please make sure you have a good backup first for safety to ensure success! Happy upgrading! :-)
-
voy4g3r2
yes, you do not do that you will be pulling a Kenny Loggins "danger zone" type moment
-
voy4g3r2
but with kenny loggins anything is possible
-
voy4g3r2
or you could throw in some chuck norris.. but that is a little extreme for my dry and sarcastic humor in this moment.
-
mosaid
I want to ask question for port maintainers.. will bsd continue to support linux-c7? I can't upgrade to rl9 cuz it doesn't support 32bit and older programs, libs
-
mosaid
I am using linux-c7 for running old xmms and sum othe stuff really need it they use gtk1.2
-
mosaid
*some
-
voy4g3r2
that is a whole other ball of wax, that is out of my depth
-
mosaid
I am using ubuntu for last updated and modern apps
-
mosaid
also asking if bsd will drop support for gtk2
-
rwp
I don't really know about it but linux-c7 is just a metaport for things on the old CentOS 7 onto FreeBSD. But I don't know. It's a good #freebsd-ports question though.
-
mosaid
yeah I know it's centos7 and thanks for channel link
-
voy4g3r2
wow they have not touched that program in 17 years
-
mosaid
but it's really nice
-
voy4g3r2
i made a jellyfin media server jail and then just use their web interface to play stuff
-
voy4g3r2
or my iphone with some apps to stream to my home stereo
-
mosaid
win amp for *nix
-
voy4g3r2
yup yup.. kicks the llama's ass unix style
-
mosaid
heh XD
-
mosaid
I used before on debian..
-
mosaid
still supported on arch.. I don't know why bsd stop maintain many ports fast :(
-
voy4g3r2
17 years is not fast
-
voy4g3r2
-
voy4g3r2
there are some real good articles and tips here.. for linux emulation and other various stuff
-
voy4g3r2
old ports and packaging them is a technical debt liability
-
voy4g3r2
but i must go pack for my yearly holiday.. good luck with the upgrade.
-
mosaid
-
mosaid
2018!?
-
mosaid
it could be built easily nowdays
-
mosaid
I built something from 2012 and worked bigger than xmms
-
mosaid
should try
-
mosaid
voy4g3r2:thank you
-
mosaid
I know vermaden from atari-forums
-
mosaid
never think that he is a bsd user
-
spork_css
Free tip, need a Dell service tag but want to get it within the OS: kenv | grep system | grep serial
-
rwp
Good tip. I keep forgetting that kenv exists.
-
ek
Ran into PAM issues using pkgbase to upgrade from 15.0-RELEASE to 15.1-RELEASE.
-
mason
ek: Did you open a bug? That'd be super useful.
-
ek
Running a "pkg install -f FreeBSD-pam-15.1" immediately after the initial "pkg upgrade" seems to fix the issue. Just an FYI.
-
ek
mason: I haven't yet because I'm not sure what's causing it.
-
mason
ek: Oh, oh, there was something about that in the release notes. Half a sec.
-
ek
It's only happened to 2 of the last 8 upgrades. If I run into it again, I'll document more. But, something wipes out the /etc/pam.d directory and leaves the system basically useless.
-
mason
-
ek
mason: Yeah. I saw OpenPAM had changed and required the *-minimal-* (which these systems did/do).
-
mason
ek: So, if you didn't have FreeBSD-set-minimal or FreeBSD-set-minimal-jail then you'd need to add the package manually.
-
mason
Ah, then this is definitely worth a bug.
-
ek
So, I'm stumped as to why only some choke and some do not. They're all 15.0-R going to 15.1-R.
-
mason
ek: A bug. If you report it you make the world a better place. :)
-
ek
mason: Yeah. It's... different, for sure. I can likely roll back one of my VM's that had this issue and see what I can dig up.
-
mason
ek: Oh, nice, yeah, a bug with a reliable reproducer is fantastic.
-
ek
I don't like opening bugs with just "iTz BrOkEn!" I like to at least provide SOME info.
-
mason
ek: Sure. Maybe list what packages you started with before the upgrade. But your report here was pretty clear.
-
ek
Here's the kicker, though. Even after manually forcing FreeBSD-pam-15.1 re-install, when I ran a pkg upgrade after the reboot, it wanted to remove that package along with a bunch of others (ztsd, ssh libs, etc...)
-
ek
Which I had to remove and then reinstall again manually.
-
ek
Very strange.
-
mason
hrmph
-
mason
Alright, errands, but thanks in advance if you do open a bug!
-
ek
Hope the errands go well!
-
mason
ty, should be uneventful
-
voy4g3r2
mosaid: how did the upgrade go?
-
nesta
I too would like to know how the upgrade went :)