-
mane
I need to upgrade my FreeBSD server from 13.2
-
mane
Can you give me instructions on how to do that?
-
al1r4d
-
mane
I found this one already, tjhankbyou :-)
-
mane
Thanks you
-
al1r4d
no problem, mane
-
al1r4d
your welcome, mane
-
mane
Thanks you
-
mane
I don’t want to break my server ;/
-
SKull
mane: just don't (under any circumstances) run `zpool upgrade`.
-
mane
Ok
-
mane
Thanks for the hint
-
mane
Hm damn autocorrect
-
angry_vincent
you can do that if you updated bootloader first, and it supports new features of zfs. usually it is not the case
-
mane
i don't know why i can't run my services on startup >.>
-
mane
but thanks guys, i'm upgraded to 14.0 :-D
-
mane
freebsd-version
-
mane
14.0-RELEASE-p8
-
mane
also openvpn refuses to run as nobody on 14.0
-
» CrtxReavr casually runs 13.x with no issues.
-
VVD
nxjoseph, hi!
-
VVD
-
VVD
There is a mess with names in the port: spoofdpi, spoof-dpi and SpoofDPI.
-
VVD
Ports dir can be spoofdpi or spoof-dpi, camelcase SpoofDPI not welcome.
-
VVD
rc.d script can have sign "-" in names and camelcase isn't welcome (or even forbidden) too. Allowed are spoofdpi and spoof_dpi.
-
VVD
PORTNAME can be spoofdpi, spoof-dpi and SpoofDPI.
-
nxjoseph
hi, VVD
-
VVD
Even upstream use different names SpoofDPI and spoof-dpi.
-
VVD
Best is just spoofdpi, but this require:
-
VVD
post-extract:
-
VVD
${MV} ${WRKSRC}/cmd/spoof-dpi ${WRKSRC}/cmd/${PORTNAME}
-
nxjoseph
no need to move it like this, i did so in second patch
-
VVD
"GO_BUILDFLAGS= -o spoofdpi" doesn't work.
-
nxjoseph
i noticed that it doesn't work
-
VVD
Mk/Uses/go.mk line 248.
-
nxjoseph
GO_TARGET= ./cmd/spoof-dpi:spoofdpi
-
nxjoseph
this is how i fixed it
-
nxjoseph
it becomes spoofdpi
-
VVD
:-o
-
nxjoseph
i need to remove -o
-
VVD
ye, already
-
VVD
it's work!
-
VVD
go:1.21,modules - why hardcode version?
-
VVD
doesn't support 1.22?
-
nxjoseph
it's what upstream use in go.mod file
-
VVD
BTW, 1.21 is default now.
-
VVD
Testing build with 1.22 now
-
nxjoseph
I think we should use go 1.21 because the project is beign made with go 1.21
-
VVD
build without errors with 1.22 too
-
VVD
My suggestionis is: USES=go:modules
-
nxjoseph
so it will use go 1.21?
-
VVD
yes, 1.21 is default now
-
nxjoseph
okay
-
VVD
But if somebody want it can set other default locally.
-
VVD
s/it/he/
-
nxjoseph
what do you suggest, should i include changes in third patch to bug report or should i send a full patch including full port with changes
-
VVD
nxjoseph, check my comments - hove no time to create proper patches.
-
VVD
Just check is it ok for you, and I'll commit it later evening.
-
nxjoseph
I saw your comments but I already have applied patches you said
-
nxjoseph
i also run portlint and portclippy on Makefile and mine seems better
-
nxjoseph
but there is one problem
-
VVD
I'm using this script from yesterday to run it as a daemon. :-)
-
nxjoseph
me too but it needs args to work
-
nxjoseph
did you change anything in rc script
-
nxjoseph
if no args is specified in rc.conf, it doesn't run
-
VVD
hm
-
VVD
spoofdpi_args="-dns-addr 127.0.0.1"
-
VVD
Run fine for me without spoofdpi_args.
-
nxjoseph
strange
-
VVD
But I have spoofdpi_enable="YES"
-
nxjoseph
let me try rc script in your new comment
-
nxjoseph
me too
-
VVD
Maybe copy&paste from comment broke the file…
-
CrtxReavr
You should generally not modify files under /etc/rc.d/ or /usr/local/etc/rc.d/ - pass settings to them via rc.conf
-
nxjoseph
we do so, i pass settings to /etc/rc.conf
-
nxjoseph
VVD, maybe
-
CrtxReavr
And if you need to add your own start-up scripts, don't put them in either of those locations, as it may knock heads with OS upgrades and ports/package management.
-
VVD
-
CrtxReavr
Create like. . . a /usr/opt/ prefix, with /usr/opt/etc/rc.d/ and put your scripts there.
-
nxjoseph
isn't /usr/local/etc/rc.d is place for packages' startup scripts
-
VVD
With rc.d script.
-
CrtxReavr
VVD, oh. . . well that's different - just make use of rc.subr
-
nxjoseph
VVD, i copy&pasted your rc script now service command doesn't see it
-
nxjoseph
spoofdpi does not exist in /etc/rc.d or the local startup
-
nxjoseph
directories (/usr/local/etc/rc.d), or is not executable
-
nxjoseph
ok i solved it by marking it executable
-
nxjoseph
but it doesn't seem to run
-
CrtxReavr
local_startup="${_localbase}/etc/rc.d" # startup script dirs.
-
CrtxReavr
That's how you'd add startup directories in rc.conf
-
nxjoseph
also PORTNAME must be SpoofDPI, otherwise building fails
-
VVD
nxjoseph, build fine for me… I'll attach complete patch, but only later evening - must go now
-
nxjoseph
ok bye
-
mane
-
victori
has anyone successfully injected a self signed trust store which curl/wget work with?
-
victori
curl --cacert mycert.crt
whatever.lan works but when it is part of the freebsd trust store chain it does not
-
victori
works fine part of the chain in osx/linux
-
victori
is there a specific format the crt needs to be?
-
victori
ah SSL_CERT_DIR needed to be set
-
last1
have there been recent cve's and/or exploits that succeeded against a FreeBSD system running with securelevel higher than 0 ?
-
last1
just trying to gauge how useful that feature is or how much trust I should place in it
-
polyduekes
last1: wont a privilege escalation will suffice for securelevel 1?
-
tarel2
I tried to set my system up for xfce and kde so I could chose one or the other , that failed and I rebooted . But some errors with zfs happen and then it could not find the kernel the bootloader. I don't know freebsd , I'm new so I don't know what might be the problem.
-
monkeybusiness
.
-
dautor8518050867
jail_attach(2) fails with EPERM even though uid and gid are 0 and jail exists... The same process which created the jail is trying to attach to it and fails...
-
dautor8518050867
Am I doing something wrong?
-
timothias
/window hidelevel +joins +parts +quits
-
timothias
my bad
-
nsoci
name
-
last1
why are zfs send/receive so slow for incrementals ?