-
ant-x
In /etc/ssl/certs , I cannot create a new file with cat:
-
ant-x
# cat self.crt self.key > self.pem
-
ant-x
sh: cannot create self.pem: Permission denied
-
ant-x
Even though I can open, edit, and save self.pem in a text editor, also as root. Why?
-
rwp
ant-x, Works for me. Is self.pem actually a symlink to some place that is truly not writable?
-
ant-x
No, it is cat-related: I have done it by hand.
-
ant-x
No symlinks.
-
ant-x
As I said, I can create self.pem with ``vi self.pem`` or with ``touch self.pem'' (as root).
-
rwp
csh has a shell flag that prevents it overwriting files with > redirection. Is that set for you?
-
ant-x
I use sh.
-
ant-x
doas echo test > self.pem # fails, too.
-
rwp
set -o | grep clobber
-
ant-x
I am doing that under /etc/ssl/certs (perhaps it matters).
-
rwp
doas will not have any effect on a > redirection.
-
ant-x
Ooop!
-
rwp
What does "set -o | grep clobber" show?
-
ant-x
Unless I do something like eval?
-
rwp
You said you were already root so there is no need for doas.
-
ant-x
That explains it. This works: doas sh -c "echo test > self.pem"
-
rwp
However if you want to use doas to elevate a non-root process then: doas sh -c "echo foo > foo.txt"
-
rwp
Jinx!
-
ant-x
I said that to simplify things. I use doas to assume root. Beg pardon!@
-
ant-x
Yep. Thanks.
-
ant-x
That'll teach me to report things literally as they are.
-
rwp
I still think you must have the shell's noclobber option set.
-
ant-x
No, I don't (just checked). I have never heard of this options.
-
ant-x
I have succeeded setting domain fronting with sslh+mtg+thttpd+stunnel , but I need assistance in testing whether all three points are satisfied: <
github.com/9seconds/mtg/wiki/Choosi…ng#1-why-this-matters-in-30-seconds> .
-
ant-x
OK, #2 can be excluded.
-
polarian
does anyone have IPv6 packets randomly stop being routed?
-
polarian
on FreeBSD 15.0
-
polarian
(release)
-
polarian
for the second time in maybe 3 months, the route seems to have been lost for IPv6 completely randomly
-
» polarian shrugs
-
polarian
will see if it happens again
-
leah2
polarian: using some realtek nic?
-
elivoncoder
-
Ltning
Hrmf, drm-612-kmod is not being nice to me. Back to 6.6. :-/
-
rdr
does anyone here run Linux steam on FreeBSD?
-
rdr
would be nice if Sony just contributed all the device drivers and such and opened up their PS5 OS. It's based on FreeBSD right?
-
elivoncoder
would be nice heh
-
rdr
haha
-
polarian
leah2: yes
-
polarian
I believe so
-
polarian
cant quite remember
-
leah2
polarian: iirc there's a bug with upstream drivers and checksumming. see
github.com/freebsd/freebsd-ports/bl…ain/net/realtek-re-kmod/pkg-message
-
solstis
hello! i'm trying to install a win program on freebsd but i get a message:
-
solstis
wine: could not load ntdll.so: Shared object "libprocstat.so.1" not found, required by "ntdll.so"
-
solstis
any ideas how can i get this .so.1. .. ?
-
rdr
hmmmm what program
-
rdr
did you look it up on winedb?
-
rdr
is that still a thing?
-
rdr
oh, solstis you dont have 32 bit stuff installed
-
rdr
bsdinstall lib32 #this command should get those libraries installed
-
rdr
unless it's more proper to use pkg these days?
-
solstis
zsh: command not found: bsdinstall
-
solstis
would ' pkg install wine32 ' install these 32bit stuff ?
-
solstis
hmm no it doesnt work.. i guess i did this command on linux maybe
-
solstis
'winetricks' ?
-
rdr
hmmmm
-
rdr
i'll look into it one sec
-
solstis
ok, thx a lot
-
rdr
solstis: i *think* you would want to do "pkg install FreeBSD-lib32" BUT it might not work
-
rdr
only if you are on (Tech Preview"
-
rdr
paste.cachyos.org/p/2433f31.txt here is some instructions on how to do it if it fails
-
ivy
that would be FreeBSD-set-lib32, not FreeBSD-lib32 which doesn't exist
-
rdr
ooh thanks
-
rdr
my googling failed me
-
solstis
thanks for the help guys! i will try the thing from the website link
-
» solstis is ashamed that he needs to admit that he is using GhostBSD
-
solstis
:-( i'm in tis channel because i think it should work the same..
-
solstis
kg: No packages available to install matching 'FreeBSD-set-lib32' have been found in the repositories
-
rdr
ohhhhh you probably aren't able to use that package method
-
rdr
you'll have to fetch and extract
-
ivy
rdr: are you sure that's the right method for GhostBSD? (i don't know anything about this downstream, but randomly extracting things into it may cause issues, i suppose)
-
rdr
hmmmm i'm not certain but it is just FreeBSD which is preconfigured
-
rdr
solstis: can you give us the output of `uname -m` and `uname -r`
-
solstis
uname -m
-
solstis
amd64
-
solstis
uname -r
-
solstis
15.0-RELEASE-p8
-
rdr
oh okay, so it looks pretty vanilla, but ivy is right again, you'd probably want to download from ghostbsd's servers because who knows what they've modified :O
-
solstis
ok will try that, thank you very much, rdr, ivy !
-
solstis
tomorrow i will continue the attempts (now it's late here.., time for bed)
-
rdr
yeah that's the trouble with using anything that isn't the main release
-
rdr
sometimes the solution is slightly different
-
solstis
i wanted to put freebsd on my hardware but was intimidated that i would be able to set it up correctly..
-
solstis
so i settled for some compromise
-
rdr
like many linux distros are based on another distro, but change the /etc/os-release file so some commands fail lol
-
solstis
*that i would NOT be able
-
rdr
yeah it's intimidating
-
vkarlsen
solstis: Have a little faith in yourself :D
-
rdr
but i got it mostly working :)
-
solstis
:-D
-
ivy
solstis: fwiw, if ghostbsd has some sort of mailing list / support forum, you could just ask them the right way to install 32-bit libraries
-
solstis
good idea.. will try that
-
solstis
wine: could not load ntdll.so: Shared object "libprocstat.so.1" not found, required by "ntdll.so"
-
solstis
oops. sorry (the paste was for another channel)
-
solstis
in the ghostbsd channel on this network they're like.. 18 ppl. i will leave the inquiry for tomorrow- i feel very sleepy
-
solstis
have a good day (evening?) thanks again for the assistance and advice