-
lw
is 'newfs -U -j -t -S 4096' readonable for a filesystem on a bhyve VM backed by zfs? i can't keep up with all the new types of su/journalling they keep adding
-
rtprio
they added journaling ages ago
-
lw
yes, but i haven't used UFS since the original softupdates
-
lw
there's also two different types of journal, i guess gjournal is older and SU+J is preferred? newfs manpage doesn't really offer any guidance
-
rtprio
yes, su+j is preferred afaik
-
debdrup
it's also the default
-
debdrup
as in, it's what's used by bsdinstall
-
debdrup
both journaling and soft updates can be enabled at runtime with tunefs(8) too
-
parv
Is journaling better (in terms of least data corruption & faster recovery) via "gjournal" or via "soft updates"?
-
debdrup
journaling and softupdates and gjournal are three separate things, and SU+J are best used together
-
debdrup
gjournal can, in theory, add journaling to any filesystem that doesn't have it
-
debdrup
-
parv
I wrote "journaling ... via "soft updates"" because of (from "newfs(8)"): -j Enable soft updates journaling ...
-
debdrup
Read the paper to understand why it says that ;)
-
parv
too long for now; will read later.
-
kenrap
parv: btw, I was able to migrate back to CURRENT recently and tried out the drm-61-kmod package for my Arc A770 GPU, and sadly it kernel panics atm, even when I supplied the appropriate firmware bins from the linux-firmware by hand. :(
-
kenrap
just to let you know
-
parv
kenrap, Much appreciate the update. I had forgotten; after reading 2-3 times I realized why you had addressed me (because I had requested)
-
kenrap
yeah, a month back or so :)
-
parv
kenrap, Thanks to you for remembering for both of us
-
kenrap
;)
-
parv
kenrap, So do you use VESA driver instead?
-
kenrap
parv: I went back to my other GPU for now
-
parv
Ah. Ok
-
Victor
hello hello! I hope you all are having a great Saturday!
-
tercaL
Hi
-
debdrup
-
VimDiesel
Title: FreeBSD / src / aa3b7a2 / /etc/rc add trace debug and verify - FreshBSD
-
kenrap
Nice!
-
debdrup
Yea, it's pretty neat
-
kenrap
It will come in handy that's for sure :)
-
mynam
Happy Saturday
-
SpaceBass
I've been a unix and linux user for decades but for some reason I have the hardest time understanding pam.d ... I'm trying to get winbind working for ssh, console, services, and sudo ... I can ssh in as a directory user and I can sudo for some commands (eg date) but I can'd sudo su -
-
SpaceBass
-
VimDiesel
Title: debian Pastezone
-
remiliascarlet
pam.d is an asshole.
-
SpaceBass
Yep... on day three of fighting this
-
SpaceBass
I also cannot mount any NFS shares on this new box, I get Stale NFS file handle every time
-
mynam
Pam and I aren't friends... I wish it was as simple as updating nsswitch.conf.
-
SpaceBass
I just wish there was good documentation
-
SpaceBass
Currently I can't sudo su - because it doesnt think root is a pam_winbind user
-
mynam
Does it work outside of sudo?
-
SpaceBass
No, I can't login as root on the console anymore either
-
mynam
You'll prob want to boot into recovery and look at the contents of nsswitch.conf
-
mynam
Did you edit nsswitch.conf or only pam.d stuff?
-
SpaceBass
Both
-
mynam
Do you remember what you set for the passwd line?
-
SpaceBass
I dont think it's an nsswitch issue... it's almost certainly pam.d
-
SpaceBass
passwd: files winbind
-
SpaceBass
I can ssh in as a domain user and can sudo many things... I just can't switch to root because it seems to only be looking for domain users
-
mynam
files is in there so ya, no issues there like you said.
-
mynam
One sec, I run ldap so a little diff but same idea. Let me pull up my notes there. Did you remove anything from the pam files or just add?
-
mynam
Ok, in pam.d, I edit: sshd, su, and system
-
mynam
And I'm only adding lines
-
SpaceBass
Which version of freebsd are you running btw?
-
mynam
13.2
-
mynam
pastebin.com/RiywNRpa <-- this is a snip from my notes for how I edit pam.d
-
VimDiesel
Title: sshd```bashvi sshd``````bash## $FreeBSD$## PAM configuration for - Pastebin.com
-
mynam
bsd.to is throwing http 500 errors.
-
SpaceBass
Thanks for sharing that
-
mynam
It's ldap instead of winbind but should at least serve as a reference for what I added and where. Just look for the ldap lines.
-
SpaceBass
Yep going to try and emulate
-
SpaceBass
Damn its just getting worse now
-
mynam
Can you restore the pam.d files to their orig?
-
SpaceBass
I did, and that gets me back in with local users
-
mynam
Ok good! In theory you should be able to drop the winbind entries into the same spots I did my ldap entries.
-
SpaceBass
I'm on FreeBSD 14-release so my files look different from yours ... but I essentially dropped them in the same place
-
SpaceBass
Now auth.log shows success but ssh and sudo still fail
-
mynam
Do the logs say why they failed?
-
SpaceBass
pam_winbind(sshd): user 'XXXX' granted access
-
SpaceBass
Failed keyboard-interactive/pam
-
mynam
I gotta run, going to a bday party.
-
mynam
I wish you luck
-
mynam
I'll be back later today tho
-
umoga
No updates needed to update system to 13.2-RELEASE-p9.
-
umoga
freebsd-version -k > 13.2-RELEASE-p8
-
umoga
why?
-
umoga
i have done freebsd-update -r upgrade for 13.2 and did run install 3 times + rebooted
-
nimaje
freebsd-version -kru ?
-
nimaje
pretty sure the kernel did not change in -p9
-
ivaat
twice 13.2-RELEASE-p8 and third pos 13.2-RELEASE-p9
-
ivaat
freebsd-update install > No updates are available to install.
-
nimaje
your userland is at -p9, the kernel did not change after -p8 and you are running -p8, all fine
-
ivaat
lsof: WARNING: compiled for FreeBSD release 13.2-RELEASE-p9; this is 13.2-RELEASE-p8.
-
nimaje
that seems to be a bug in how lsof detects the freebsd version
-
ivaat
so i was useful
-
ivaat
:)
-
nimaje
ah, well, while building packges in poudriere you can't know what the kernel version will be, so the userland version gets compiled in for that
bugs.freebsd.org/bugzilla/show_bug.cgi?id=225986#c27
-
VimDiesel
Title: 225986 – sysutils/lsof false warning
-
ivaat
ok
-
ivaat
hm php 8.2 yourls installed. configured. under nginx all php pages blank. running directly php info.php does not produce any error. in nginx error nothing. access log shows 200
-
ivaat
in php.ini errors turned on
-
ivaat
i cant get any php in web showing up. all blank
-
ivaat
php-fpm
-
ivaat
this was pkg upgrade from php 7 as well
-
ivaat
i mean no error
-
ivaat
so nginx gives 200, no error on logs, from command line works info.php for example but when requesting over web server then blank
-
ivaat
hm php-fpm is configured ritgh way and nginx uses same socket
-
rtprio
ivaat: obviously not or it would be working. do you want to share your configs or should we just guess
-
ivaat
rtprio, if socket would be wrong then nginx would throw error. i get 200 ok. sharing conf right now. one moment
-
rtprio
it's probably php that's unhappy; turn up the logging for it
-
ivaat
-
VimDiesel
Title: nginx.conf - paste.ovh - troubleshoot easily
-
ivaat
error loggin is turned on
-
ivaat
on command line php does not print any error
-
ivaat
when executing php info.php for example
-
rtprio
i suspect that your app is more complicated than info.php eh
-
rtprio
did you turn up errors in php.ini too ?
-
rtprio
ovh has their own TLD? what a bunch of clowns.
-
ivaat
app may be complicated than that but phpinfo should run too.. all php files under freebsd 13.2 nginx, php-fpm php 8.2.14 over web white blank page
-
ivaat
in old php 7 worked.. this was upgrade
-
rtprio
and the app supports php 82?
-
rtprio
turn up the error level and logging in php.ini too
-
ivaat
yes but again simple <?php phpinfo();?> should work as well
-
tercaL
ivaat: Start removing all the stuff from line 9, up to (including) line 124, save and exit. make sure there is no mistake, so check with: nginx -t and if it says OK, then reload nginx with; nginx -s reload
-
tercaL
and finally try a sample php file again.
-
tercaL
-
VimDiesel
Title: nginx.conf - paste.ovh - troubleshoot easily
-
tercaL
adding the file into; /usr/local/www/shareurl.net/http/sample.php and checking with: yourwebsite/sample.php
-
ivaat
thats what i did
-
ivaat
you think sql injectiopn protection rules may affect?
-
ivaat
i will try
-
ivaat
used to work
-
ivaat
nope, nothing
-
tercaL
location / { try_files $uri $uri/ /yourls-loader.php$is_args$args; }
-
tercaL
What's this?
-
ivaat
this yourls docs nginx rule
-
ivaat
yourls is php app
-
tercaL
ivaat: Do you have /usr/local/etc/php.ini file
-
tercaL
?
-
tercaL
ivaat: You removed an older version of PHP and installed PHP 8.2, have you created/updated your /usr/local/etc/php.ini file?
-
ivaat
yes i copied for test production ini file to /usr/local/etc/php.ini
-
ivaat
cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini
-
tercaL
ivaat: How about the content of /usr/local/etc/nginx/nginx.conf?
-
ivaat
tercaL, i removed the lines you recommended. did not help
-
tercaL
Pastelink the /usr/local/etc/nginx/nginx.conf file please.
-
ivaat
-
VimDiesel
Title: nginx.conf - paste.ovh - troubleshoot easily
-
ivaat
i have to go for today. thank you for responding
-
lw
hmm, what does this mean Feb 10 19:33:15 thyme gssd[913]: gss_acquire_cred: principal_name for non-root
-
jbo
only one more PR and then I have nothing else assigned \o/