-
RhodiumToad
so I think daemon is botching the error message
-
_xor
Oh?
-
RhodiumToad
CALL execve(0x239240ddeb30,0x239240dde780,0x239244217140) / NAMI "/usr/local/bin/consul" / RET execve -1 errno 13 Permission denied
-
_xor
Hmm, for the life of me, I can't see why it's getting a permission denied on that though? It's 755, as are the parent dirs.
-
_xor
I even tried 555 in case it was exiting early since it doesn't need to be wirtable.
-
RhodiumToad
it's getting the same error from fstatat. that implies it's a directory not the file
-
_xor
I mean 555 on /usr/local/bin/consul
-
_xor
Hmm
-
preyalone
FreeBSD's make implementation still has BSDmakefile as the highest precedence search path, correct?
-
preyalone
Strangely, Homebrew's man page for the bsdmake package documents this filename, but FreeBSD's man page does not:
man.freebsd.org/cgi/man.cgi?make(1)
-
VimDiesel
Title: make(1)
-
RhodiumToad
_xor: any mountpoints involved?
-
meena
-
meena
this could tell you which part is failing
-
_xor
/cluster, /cluster/consul, & /cluster/consul/data are all zfs datasets.
-
_xor
I did briefly wonder if that could be part of the issue as well earlier, but haven't had the chance to poke around yet.
-
_xor
Other than that though, /usr/local/bin/consul is just on zroot/usr
-
_xor
Let me try it with non-zfs dirs to see if that makes a difference, quick and easy to test.
-
RhodiumToad
you checked the perms on all of / /usr /usr/local /usr/local/bin yes?
-
_xor
Yeah, just tried it with `-u consul` and all instances of /cluster changed to /t (and rsynced /cluster/consul/ /t/ with --chown=consul:consul). Same error, no such file or directory.
-
_xor
Yup, will re-check just to make sure.
-
_xor
WAIT A SECOND...
-
_xor
What should the perms be on /?
-
RhodiumToad
755
-
_xor
It's 700. If this turns out to be the problem, I'm going to burn down an orphanage or something.
-
RhodiumToad
yup, that'll do it
-
_xor
Heh, when I checked earlier I ls'ed /, but somehow didn't look at . (was confused for a split-second there as to why I wasn't getting POSIX perms for /, so I used getfacl and just looked at that really quick)
-
RhodiumToad
preyalone: I believe the search path is actually set in sys.mk
-
_xor
Wait, so would this mean that anything that tried to run as non-root on this box was probably failing or something?
-
RhodiumToad
preyalone: which does seem to have BSDmakefile makefile Makefile as the order
-
RhodiumToad
_xor: yup
-
» _xor goes comotose
-
_xor
All day yesterday and half of the day today...spent on this.
-
_xor
I'm still trying to figure out how / got set to 700.
-
RhodiumToad
there's a reason I ask people to check on all the directory prefixes including / itself :-)
-
preyalone
i see
-
preyalone
can we update the man page to reflect this name?
-
RhodiumToad
I usually ask for a pastebin of the output of ls -ld / /usr /usr/local /usr/local/bin but I was sloppy today
-
_xor
RhodiumToad: Yeah, I somehow missed that earlier. Took a triple-check to catch it.
-
_xor
Doh!
-
preyalone
what is the relationship between bmake and FreeBSD make?
-
_xor
I just checked a few other boxes and it looks like it was just this one, so that's good.
-
_xor
Aren't they both the same file?
-
RhodiumToad
preyalone: freebsd make is bmake, but I'd have to check the history of contrib/bmake (where it lives) to see versions, etc
-
_xor
Well, I'm chalking this up as a positive. At least I learned some more details about rc.subr, limits, su, and ktrace/kdump.
-
preyalone
what's goofy, is that the Homebrew bmake and Homebrew bsdmake packages behave differently regarding BSDmakefile. The former treats it as a missing makefile error. The latter loads it just fine.
-
_xor
I just used truss, dtrace, or previously strace before.
-
RhodiumToad
it's a bit of a pain that daemon is botching the error. would be good to track that down, since it's a bug
-
RhodiumToad
all of those would probably work, I just happen to prefer ktrace
-
_xor
Yes, that was the annoying part. I was really hoping there was an argument to daemon that allowed more verbosity or something.
-
_xor
How much of base is dtrace instrumented? Most of it?
-
preyalone
Is it standard practice for FreeBSD to provide both a make man page and a bmake man page? I guess, since one binary would be symlinked to the other
-
_xor
They're not symlinked, but they're the exact same size and file $FILE returns the exact same info.
-
preyalone
not aliased to each other, either?
-
RhodiumToad
are they hardlinked?
-
_xor
I was just wondering that.
-
preyalone
does `bmake` load the same sys.mk as `make`?
-
_xor
Btw, when was strace replaced with truss? Not that I mind, just curious because I'm pretty sure I used strace from base before years ago.
-
RhodiumToad
does it install a bmake link by default? I don't recall that
-
_xor
"/usr/bin/bmake was installed by package FreeBSD-utilities-13.snap20230316060122" (using PkgBase)
-
RhodiumToad
oh, pkgbase
-
RhodiumToad
is it just a hardlink to make?
-
_xor
Might be, let me check
-
_xor
It would appear so: `159595068566595282 263496 -r-xr-xr-x 2 root wheel 18446744073709551615 208528 "Dec 31 19:00:00 1969" "Mar 16 07:02:37 2023" "Mar 18 03:24:37 2023" "Mar 16 07:02:37 2023" 131072 233 0x800 bmake`
-
RhodiumToad
bah. it's execvp() that botches the error
-
_xor
When it tries to run /usr/local/bin/consul?
-
RhodiumToad
if (eacces) errno = EACCES; else errno = ENOENT; -- very informative, not
-
_xor
lol
-
RhodiumToad
it's... technically right
-
RhodiumToad
it's supposed to be doing a $PATH search, and if it finds that a directory in $PATH isn't accessible it skips it rather than treating it as an error
-
_xor
Can daemon just be revised to differentiate errno and dump a more specific message? Or would execvp need to be revised to set errno more specifically? If it's technically right, then wouldn't want to break it I imagine.
-
RhodiumToad
daemon can't do any better since it's just calling execvp
-
RhodiumToad
execvp could, arguably, do better if the path name has a / in
-
_xor
Oh is the error message being output directly by execvp? It's not daemon checking errno and outputting it?
-
RhodiumToad
execvp sets errno, and daemon just looks up the text message corresponding to errno
-
RhodiumToad
and it's execvp that sets errno to ENOENT rather than EACCES
-
_xor
ah that's what I was wondering.
-
RhodiumToad
it's in the execvp manpage, fwiw
-
_xor
Yeah will check it in a bit. Going to take a quick break after this stupid ordeal had me obsessing. I didn't want to backlog it and come back to it later.
-
_xor
Thanks for the help.
-
RhodiumToad
anyway, lesson is: always check perms on / and other key dirs if stuff works for root but not other users.
-
_xor
Yup, going to make sure that's checked from here out. Though I'm wondering how that got set in the first place. (not a big deal as it's isolated to this specific box)
-
Axman6
Are there any good resources to see what's planned for future releases? I've found pages on the wiki in the past but the ones I saw didn't have a whole lot of detail; just wondering if I've managed to miss the right resources
-
kevans
there's usually an at-least-yearly have/need/want session at one of the devsummits
-
kevans
-
VimDiesel
Title: FreeBSD 14.0 Planning - HackMD
-
kevans
they're fairly raw, but maybe paint a good picture
-
Axman6
Thanks,, I'll take a look
-
V_PauAmma_V
Checking in case I'm misreading pkg-clean(1) or it's incomplete: is there a way to delete cached package files for packages that were current but that I uninstalled meanwhile, other than "pkg clean -a" which deletes even those for still-installed packages?
-
V_PauAmma_V
(I know rm is an option, but I'm reluctant to rm them by hand.)
-
Axman6
Is there a way to put the primary display to sleep when connected via HDMI? I have a screen which I have my laptop plugged into, and my FreeBSD box, and because the console is always on, whenever my laptop sleeps or disconnects, the screen switches to the FreeBSD box and stays on. Haven't been able to find the right search term to find anything yet
-
meena
kevans: I didn't realise PkgBase Falls under need
-
RoyalYork
Has anyone been able to run a FreeBSD desktop in Proxmox with a resolution greater than 1280x720?
-
rustyaxe
havent tried a desktop on my proxmox fbsd instances, hmm maybe i sohuld on e day
-
RoyalYork
rustyaxe, CLI works fine, but the resoluiton on the desktop caps out at 1280x720. Debian guests and window guests are able to go to 4k on my system. Obviosuly a setting is missing for the FreeBSD guest
-
Grabunhold_
i tried to remotely update my backup box from 13.1 to 13.2 yesterday. got to "new kernel has been installed, please reboot and run freebsd-update again", so i rebooted but the box never came back. had a look through IPMI, "Mounting from zfs:zroot/ROOT/default failed with error 6."
-
Grabunhold_
google had some forum threads from people with very old zpool versions, but my zroot pool was created during a fresh 13.1 installation so i don't think that's it
-
Grabunhold_
from the bootloader i can start a 13.1 boot environment that's probably been created by freebsd-update, and it even boots through to the login prompt. so the zroot zpool itself should be fine. (but i can't get ssh access to the box in this case because of a mismatch between the running kernel and the kernel modules inside the rootfs)
-
Grabunhold_
any ideas on what to do?
-
trev
Grabunhold_: did you run `freebsd-update` again once you booted in 13.1?
-
Grabunhold_
trev: you mean when i booted into the alternate boot environment? no, i just noted that the filesystem seems to be fine and shut it down again
-
trev
yeah
-
trev
i would've aggressively done that, but it's just me. i am a noob
-
Grabunhold_
i don't think running freebsd-update on the alternate boot environment would do me any good. i need to figure out why mounting zfs:zroot/ROOT/default fails with error 6 when doing a normal boot
-
tsoome
6 is ENXIO, and hints about openzfs.ko module is not available during mountroot phase.
-
tsoome
either it is not loaded by loader or failed otherwise.
-
Grabunhold_
i haven't changed the loader config, it was working fine with 13.1 and the zroot pool. maybe the openzfs.ko module problem has something to do with the update. I'll try to read the loader config.
-
Grabunhold_
(if it even is a module problem, not sure. might be.)
-
Grabunhold_
escaping to the loader prompt and typing "load openzfs.ko" doesn't work, not sure if it's supposed to
-
Grabunhold_
"lszfs zroot/ROOT" from the loader prompt lists "default" and the boot environments, so it seems to be working from the loader itself
-
tercaL
-
tercaL
Pretty scary story :/ *double-thinks before proceeding from 13.1 to 13.2
-
Grabunhold_
i'm still wondering if this is a one-off error or if it will reproduce with my other 13.1 machines
-
meena
Grabunhold_: let's first get it fixed before you go break any more machines
-
meena
so, first off: why does the 13.1 boot environment not work?
-
meena
second, what does your loader.conf(s) look like?
-
parv
-
VimDiesel
Title: freebsd-update(8) upgrade peculiarities (was: FreeBSD 13.2-RELEASE Now Available)
-
parv
By "that" I meant not being able to boot 13.2
-
parv
As for the new boot environment for 13.2, "freebsd-update" has started using ZFS snapshots (when available) for some time during 13.1 period without fucking any mention in its manual page
-
parv
s/fucking any mention/any fucking mention/ # sorry for the misplaced cursing
-
Grabunhold_
meena: the 13.1 boot env boots, but version mismatches between the kernel and the ethernet driver modules on the rootfs prevent network access. also, the login prompt doesn't come up. it prints the current time but no login: line.
-
Grabunhold_
regarding loader.conf: is there a way to print it from the loader prompt? i can't boot a live environment right now, the virtual media functionality of the IPMI device is dysfunctional and I am waiting for my coworker to put a boot stick into the machine
-
Grabunhold_
parv: i don't think it's the absence of /etc/rc.d/zpool, in my (limited) understanding of the FreeBSD boot process that would only be touched once the root filesystem has been mounted, which is what we fail to do
-
parv
Grabunhold_, Right, right
-
Grabunhold_
meena: telling the bootloader to load "kernel.old" instead of "kernel" makes the ethernet modules load, but still no login prompt
-
meena
and ssh?
-
Grabunhold_
i'll try that right away
-
Grabunhold_
(and when i speak of loading kernel.old i mean with the 13.1 boot environment, of course)
-
Grabunhold_
meena: no network despite interfaces showing up. "devd: cant open devctl device /dev/devctl: no such file", devd fails to start and that seems to prevent networking from starting up
-
Grabunhold_
and still no login prompt
-
Grabunhold_
oookay, got my coworker to plug in a stick, let's see...
-
Grabunhold_
i wonder why on earth would the kernel (no matter of it's kernel.old or just kernel) be able to mount zfs:zroot/ROOT/(name of boot environment snapshot) but not zfs:zroot/ROOT/default
-
Grabunhold_
yeah, got the livecd booted
-
Grabunhold_
ctrl-w is no good when running the shell through an ipmi interface in your browser -.-*
-
nimaje
I would try to check if strange stuff happened with /boot/
-
Grabunhold_
gotta love ipmi, set scroll lock but can't un-set it
-
Grabunhold_
is it safe to import the zroot pool or will the loader fail to import it because it's been used on "another machine"?
-
parv
Force import via -f option
-
Grabunhold_
easy, but is it safe? will the loader stumble afterwards?
-
Grabunhold_
*bootloader
-
parv
I use it in single user mode. Cannot say about your situation
-
Grabunhold_
-
Grabunhold_
interesting. where might this second "zroot" pool come from?
-
Grabunhold_
maybe the usb device?
-
Grabunhold_
(the original zpool, the one with the 118 ID, is a single-device pool)
-
Grabunhold_
importing the 118-id zroot pool via it's ID gave me no errors, but "zfs list" or "zpool status" just says "no such file or directory"
-
Grabunhold_
what the f is going on here
-
Grabunhold_
oh, yeah, importing the zroot pool mounted zroot/ROOT/default on /
-
Grabunhold_
the live environment didn't seem to like that, should probably have provided some sort of alternate root to the import command
-
Grabunhold_
but we can get at loader.conf now
-
Grabunhold_
meena:
imgur.com/eYT10OI.png this is the loader.conf from zroot/ROOT/default
-
Grabunhold_
I'm tempted to copy my homedir, nuke zroot from space and do a fresh 13.2 install
-
Grabunhold_
okay, got the zpool mounted using "zpool import -R /mnt", now the live environment is working. zpool status reports the pool to be in fine condition and zpool list has all filesystems including the boot environments
-
tercaL
Grabunhold_: But what was the problem?
-
nimaje
'now the live environment is working.' seems to me like still in the process of finding the problem
-
meena
08:28 <tsoome> 6 is ENXIO, and hints about openzfs.ko module is not available during mountroot phase.
-
meena
it seems that kernel and modules were out of sync, but it's not clear why
-
glenda
Hello, everyone. Can anyone help please? I got this: dtrace: failed to compile script "/usr/ports/lang/tcl86/work/tcl8.6.13/generic/tclDtrace.d: "/usr/lib/dtract/ipfw.d", line 1: syntax error near "in_addr_t"
-
glenda
I'm not sure if it's correct channel to ask, sorry if no.
-
Grabunhold_
the problem with the live env was getting my coworker to stick in a boot medium and working around IPMI bugs.
-
Grabunhold_
the original problem is this: <Grabunhold_> i tried to remotely update my backup box from 13.1 to 13.2 yesterday. got to "new kernel has been installed, please reboot and run freebsd-update again", so i rebooted but the box never came back. had a look through IPMI, "Mounting from zfs:zroot/ROOT/default failed with error 6."
-
Grabunhold_
i've got the live environment going, got ssh access in there but still unsure what the problem is.
-
Grabunhold_
booting the 13.2 kernel with snapshots of 13.1 works (but has the aforementioned module mismatches, so no ethernet because modules don't load)
-
Grabunhold_
<Grabunhold_> i wonder why on earth would the kernel (no matter of it's kernel.old or just kernel) be able to mount zfs:zroot/ROOT/(name of boot environment snapshot) but not zfs:zroot/ROOT/default
-
Grabunhold_
meena: any ideas with the loader.conf?
-
glenda
Sounds complicated.
-
glenda
Strange, installing tcl86 using package manager, solved problem with building it?..
-
meena
glenda: fun!
-
meena
Grabunhold_: loader.conf looks sensible
-
glenda
Anyone else using FreeBSD on server?
-
meena
Grabunhold_: this is very strange because why would freebsd-update install a kernel without the right modules
-
glenda
meena: Do they can install modules manually?
-
nimaje
glenda: /usr/lib/dtract/ipfw.d looks strange, is it a typo by you?
-
glenda
no
-
glenda
Anyway, it is solved somehow.
-
glenda
And that file exists.
-
nimaje
dtract and not dtrace? and installing tcl86 fixed building tcl86 from ports?
-
glenda
That's weird.
-
glenda
Wait.
-
glenda
It is a typo by me, when I was writing error message, yes.
-
glenda
Sorry.
-
Grabunhold_
meena: i guess the right modules are there, but they are on zroot/ROOT/default, and that can't be mounted because of error 6
-
Grabunhold_
at least during boot
-
Grabunhold_
can be mounted just fine from the live environment
-
tercaL
glenda: Yes, I do use FreeBSD for too many web servers. Can help you if you wish.
-
Grabunhold_
and why can the 13.2 kernel mount the 13.1 snapshot but not the zroot/ROOT/default, that irritates me the most
-
dvl
Registration for BSDCan 2023 is now open.
-
glenda
I got another problem. I am running iRedMail-1.6.2, and getting this: Port directory /usr/ports/lang/php74 doesn't exists. What to do?
-
glenda
I know this port was deleted.
-
glenda
It is required by RoundCube I think.
-
glenda
tercaL : Nice. The obly problem I have now is what I wrote above.
-
nimaje
you try to *run* something and it complains about missing something in */usr/ports/*? nothing should require /usr/ports/ to exist; it shouldn't matter if you have a copy of the ports tree and if you have one it shouldn't matter where it is or what you decide to do with it
-
glenda
It is a script that should build/install this all.
-
meena
Grabunhold_: did you update loader in efi?
-
glenda
And port of php version that it requires is missing.
-
glenda
no?
-
Grabunhold_
meena: not manually, no. haven't really "touched" anything so far aside from backing up my homedir
-
Grabunhold_
still poking around the system
-
meena
I don't think freebsd-update… updates that
-
meena
but either way, it shouldn't need updating if you haven't upgraded the zpool (not sure if there's other criteria)
-
Grabunhold_
i haven't upgraded the zpool, it's been created by the 13.1 installer and i haven't touched the pool in any way, just booted the OS off of it and that's it
-
Grabunhold_
i need this machine functioning again by the end of the day. i'm close to nuking it.
-
nimaje
hm, that iRedMail installer doesn't seem like something I would want to run, maybe create a propper port for it instead of running that shitty installer?
-
glenda
Sounds like a good idea
-
glenda
iRedMail is just a script, that setup mail server, etc.
-
glenda
I have not found any information on setting up mail server manually.
-
debdrup
-
VimDiesel
Title: How To Run Your Own Mail Server
-
debdrup
Even despite search engines' best attempt at becoming worse, it's still possible to search using keywords - it's just a question of using the right ones.
-
debdrup
Getting an IP address that's not already in a blacklist somewhere, or getting an IP off blacklists, is usually a much more difficult problem than the software stack.
-
vkarlsen
glenda: You'll need to use php 8.x because 7.x is no longer supported
-
glenda
vkarslen: Yeah I see.
-
glenda
Okay, no shitty scripts ever again.
-
glenda
debdrup : Thanks.
-
glenda
Time to purge jail, and make new.
-
debdrup
(the keywords for the above results would've probably been something like postfix dovecot rspamd dkim sieve and maybe freebsd
-
glenda
And "coffee"!
-
gzar
hey folks
-
debdrup
gzar: nope
-
debdrup
sorry for that hilight!
-
glenda
hi gzar
-
gzar
hello
-
debdrup
glenda: nope, the URI has nothing to do with keywords
-
gzar
ooh, both names start with g :P
-
glenda
debdrup : Doesn't matters, you can't setup mail server without coffee.
-
debdrup
-
VimDiesel
Title: postfix dovecot rspamd dkim sieve freebsd - Google Search
-
glenda
It is hard for me to browse web.
-
glenda
I cannot open most of sites, sadly.
-
debdrup
looks like there's at least two other guides, one of which also specifically targets freebsd.
-
debdrup
i don't know what that means
-
glenda
Nevermind.
-
glenda
Can you remind me please what package command "dig" from?
-
vkarlsen
glenda: Use /usr/bin/drill
-
debdrup
You can use drill, it's a drop-in replacement.
-
debdrup
I think dig comes from bind-tools, but you can use sysutils/pkg-provides to find out.
-
glenda
Thank you
-
glenda
Oh, rDNS? Sounds complicated. Knocked my ISP.
-
debdrup
Mail won't work without it.
-
debdrup
As a bonus, it gets you a neat hostname on IRC. :P
-
glenda
mail.example.com? :p
-
glenda
It will work but messages will get into spam
-
glenda
I checked by dig, got: my-ip.my-isp.com
-
glenda
So I mailed them, I guess it's what I supposed to do?
-
debdrup
They need to set up the rDNS, yes.
-
glenda
Hope they will not tell me to go away.
-
glenda
Does anyone have experience with hosting mail server at home?
-
debdrup
if there's something specific you want to know, it's better to ask that, instead of asking for people
-
glenda
No, nothing specific.
-
debdrup
in the +25 years i've been on irc, i don't think i've ever seen someone get help by asking for people.
-
glenda
Oh no, I wasn't asking for help.
-
glenda
I am just wondering
-
xtile
i've never lived somewhere with an ISP that didn't block port 25 :x
-
glenda
My ISP didn't
-
xtile
nice
-
glenda
My ISP is like: do anything as long as it's not commercial
-
glenda
Can I buy public ip?
-
glenda
- nah, you got it for free.
-
dubiousness
glenda: I used to, I no longer do because there were more interesting things to try to get working.
-
dubiousness
(hosting a mail server)
-
glenda
But what prevented you from keeping hosting mail server and trying interesting things?
-
dubiousness
Because the universe is vast and computers are varied, mail is interesting to learn but a pain to maintain
-
dubiousness
So I let others maintain it and just use a custom domain.
-
glenda
Why it is pain to maintain?
-
glenda
No way sadly, no mail providers.
-
glenda
Google? It's a shit.
-
Demosthenex
glenda: because scammers have ruined the open public commons of email, and so the filtering/antispam wars make server upkeep high maintenance
-
dubiousness
I suppose it depends how complex or not you want to make it, but when you include spam checking, blacklist updates/removals/checks, updates of software, occasional bounces from people who don't trust you, etc. it gets tiring
-
dubiousness
Yeah, what Demosthenex said
-
Demosthenex
Yeah, what dubiousness said that Demosthenex said.
-
dubiousness
I wouldn't dissuade you, especially if it's your only option for whatever reason, but I would also suggest that it's not an "easy" thing
-
glenda
Just a simple mail server, just for me.
-
glenda
Yeah I have heard it's very complicated.
-
Demosthenex
glenda: if it's not internet facing, it's easy
-
xtile
I ran a mailing list once, and it was easy.
-
debdrup
It's not just spam (though correctly dealing with it by doing spam filtering before accepting the mail isn't always easy to configure) - it's also that the biggest providers cf.
netmeister.org/blog/mx-diversity.html are either only interested in being able to send mail to everyone (in the case of Google) or they're only interested in being able to send and receive mail from other companies
-
VimDiesel
Title: Who reads your email?
-
debdrup
using their service (in the case of Microsoft).
-
debdrup
It's especially a problem with Microsoft, because they don't publish their blacklist, and getting anything off it is an actual multi-month herculean effort.
-
debdrup
Mail deliverability also isn't really promised by the protocols used, so it's not a reliable protocol for things that people think it's reliable for (ie. alerting and notification systems).
-
debdrup
The only thing in the RFCs that's a requirement is that mail servers don't throw away email once it's accepted it, and until the user tells the mail server to get rid of it.
-
debdrup
..and most of that is handled on the filesystem level, not by the mail server.
-
glenda
Interesting.
-
glenda
By the way, is there a specific reason for ISPs to block port 25?
-
dubiousness
Blocking spam
-
debdrup
They don't want people sending email from their home connections.
-
glenda
That's weird
-
debdrup
A lot of ISPs used to offer mail hosting as an extra service, so permitting people to host their own mail meant they'd lose out on that extra money.
-
glenda
Most of ISPs charge a lot, and they not permitting you to host things.
-
xtile
the reasons for this are political, alas
-
dubiousness
ISP charges depend on where you are, they can be dirt cheap in most of Europe.
-
debdrup
Why permit you to host things yourself when you can force people to pay?
-
glenda
My network costs about 5 usdper month.
-
glenda
lol
-
xtile
yeah debdrup is right here
-
» xtile nods.
-
glenda
debdrup: Yes you are right.
-
debdrup
It also doesn't help that at one point before they started closing port 25, there _were_ worms which would distribute themselves via mail on port 25.
-
glenda
I will not be surprised if my ISP will forbid using rDNS
-
debdrup
But that hasn't really stopped even after ISPs started blocking port 25, so I'm not convinced it's a valid reason in and of itself.
-
debdrup
I'd be surprised if the support personelle you get in contact with know what rDNS is.
-
glenda
oh yes
-
Grabunhold_
my current ISP is using CGNAT on ipv4 and doesn't support ipv6. so there isn't ANY public IP on my WAN line, not even a dynamic one.
-
Grabunhold_
and that's the only ISP that's able to supply more than 12mbit/s here
-
glenda
awful
-
glenda
And what is the max speed and price?
-
xtile
yeah, my current ISP doesn't have IPv6 either, it sucks, I got so used to haveing IPv6 before I moved
-
Grabunhold_
60mbit/s, around 45 euro / month
-
glenda
wow.
-
glenda
1000 mbit/s, around 5 usd / month..
-
xtile
no public IP is even worse...
-
Grabunhold_
yeah, i'd trade a few mbit for that public IP
-
Grabunhold_
there should really be a definition what legally constitutes "internet" in the context of shitty ISPs
-
Grabunhold_
next year they'll get away with giving you a http proxy, it's a race to the bottom
-
xtile
agreed. i'm not a fan of the gov, but just as food labels aren't supposed to explicitly LIE about the ingredients, the same should be true of ISPs
-
xtile
if they block ports, or don't provide ipv6, etc, they shouldn't be allowed to call themselves ISPs, but have some alternative name
-
glenda
I didn't liked my ISP, but after reading about your ISPs. I love my ISP.
-
Grabunhold_
mobile ISPs here used to inject lower-res versions of jpgs using transparent proxies and block TLS/SSL connections some 15 years back.
-
» xtile nods
-
xtile
Comcast would inject ads in sites accessed via http:// rather than https:// back when I used it.
-
Grabunhold_
at least that stupid crap came to an end
-
glenda
Also I don't use ipv6. Should I?
-
xtile
glenda: I find it convenient to be able to use both ipv4 and ipv6
-
xtile
ipv6 makes it so much easier to run multiple servers from home
-
xtile
without NAT
-
xtile
if you *can* enable ipv6 in your router, doing so is nice
-
glenda
I run multiple, also every Jail has it's IP, and every VM (local).
-
Grabunhold_
as recently as a few years ago, they'd redirect you to their ad-laden "search engine" instead of sending NXDOMAIN if you tried to resolve something that didn't exist
-
glenda
I have only local ipv6
-
Grabunhold_
that DNS requests don't always come from a browser didn't seem to faze them
-
xtile
oh yeah, i remember when that was a thing for phones
-
glenda
Reverse hostname have to be "mail.example.com", right?
-
glenda
And I can use mailboxes: user⊙ec
-
glenda
I understood it right?
-
_0pr_
Hi, anyone has solution equivalent to shadowsocks+ck-cloak on freebsd? Kinda have to use it on my laptop but cannot seem to find a way to get ck-cloak to work...
-
tercaL
glenda: Different things. The term "mail.*" is not mandatory. It can be "aristo.example.com" as well. Just depends on what you set for MX record (Your domain DNS panel).
-
xtile
it's been a few years since i ran a mailserver. if you had an A record and PTR record for mail.example.com and your IP, you could then use an MX record to map mail.example.com and example.com together
-
tercaL
rDNS should match the MX record of your domain.
-
tercaL
Let's say the MX record of your domain states a hostname like: peril.yourdomain.com, you create an A record: peril.yourdomain.com with its IP address (IP addr. of your mailserver) and that IP address should reply host queries the same hostname; peril.yourdomain.com - that's all, imho.
-
tercaL
When it comes to mail server configuration,
mail-tester.com helped me a lot, back then.
-
VimDiesel
Title: Newsletters spam test by mail-tester.com
-
tercaL
Very simple and much detailed online check.
-
tercaL
for mail servers.
-
glenda
tercaL: Thank you
-
glenda
tercaL: I don't really understand other thing. "myhostname = something" is the same as mx record, right? (eg mx.moo.org). What is "myorigin"?
-
tercaL
glenda: I don't even use "myorigin", well if you refer to Postfix configuration. I only have myhostname = mail.mywebsite.com
-
tercaL
And btw, there're really good people with great experience, in #postfix if you wish to ask about further details.
-
glenda
Oh, thanks, I will join.
-
glenda
But as I asked already, do you have mydestination = or no?
-
tercaL
I got this there -> mydestination = localhost.$mydomain, localhost, mail.mywebsite.com
-
glenda
thanks!
-
msiism
`uname -a` tells me: FreeBSD frog 13.1-RELEASE-p6 FreeBSD 13.1-RELEASE-p6 GENERIC amd64
-
msiism
Now, freebsd-update says: I've installed `world/lib32`, among other things.
-
msiism
And then asks me whether that looks reasonable.
-
msiism
Well, does it?
-
msiism
The full line is: kernel/generic src/src world/base world/lib32
-
dclau
Harmless, it should be considered reasonable.
-
RoyalYork_
Can you copy and paste the entire output of the freebsd-update command to pad.bsd.to ?
-
Grabunhold_
okay, all data is safe plus another just-in-case backup of zroot/ROOT/default. i'll nuke the 13.1 install and do a fresh 13.2 one now.
-
msiism
RoyalYork_: Here's the entire output:
paste.debian.net/plainh/2d8f64f9
-
msiism
It seems that lib32 is for also being able to run 32-bit applications.
-
msiism
So, it should indeed be fine.
-
RoyalYork_
You should be safe to proceed
-
dclau
msiism: I believe you remember what you checked at install time?
-
msiism
I don't, actually.
-
msiism
But it was probably reasonable.
-
RoyalYork_
msiism, Chapter 25. Updating and Upgrading FreeBSD -
-
RoyalYork_
25.1. Synopsis of the Handbook has an example similar to yours.
-
dclau
It happens :) no worries
-
RoyalYork_
By continuing (yes), freebsd-update will attempt to download all files required for the upgrade. In some cases, the user may be prompted with questions regarding what to install or how to proceed.
-
msiism
Okay, thanks. I'm now upgrading.
-
dclau
Good luck, it should go smoothly
-
RoyalYork_
I have yet to upgrade my production server.... I should get to it
-
msiism
I hope this will bring the Falkon browser back to a working state, maybe. The last pkg upgrade kind of broke it.
-
msiism
Maybe because it wasn't tested on 13.1 anymore.
-
dclau
Browsers, the source of all evil
-
msiism
Well, w3m usually works.
-
msiism
Except for 50% of the Web, that is.
-
msiism
But that's not w3m's fault.
-
dclau
Agreed
-
rustyaxe
50%?? try 90% these days to garbage like cloudflail
-
rustyaxe
thanks to
-
dclau
No wonder, these days even toilet paper runs on Javascript
-
antranigv
debdrup jail review?
-
debdrup
antranigv: didn't you have a review involving some jail stuff?
-
CrtxReavr
Do I need /dev/fd/ if I don't use linux compat?
-
glenda
linux compat?
-
CrtxReavr
fdescfs(5)
-
glenda
/dev/fd is floppy
-
debdrup
Not on FreeBSD.
-
glenda
ah
-
debdrup
fdescfs(5) isn't the same as fd(4) either.
-
glenda
Sorry then
-
CrtxReavr
fdescfs /dev/fd fdescfs rw 0 0
-
debdrup
Oh, yeah I'm also getting confused.
-
debdrup
fdc(4) creates /dev/fd%d devices, whereas /dev/fd/ is a filesystem created by devfs(5) for fdescfs(5).
-
debdrup
So far as I know, the only thing that needs fdescfs(4) outside of things in Linuxulator is bash.
-
debdrup
fdescfs(5)*
-
glenda
Linuxulator lol
-
glenda
What a name
-
debdrup
That's the name of the Linux syscall translator.
-
glenda
Does it emulates kernel?
-
debdrup
It doesn't emulate, it simply translates syscalls.
-
glenda
from linux to freebsd?
-
glenda
kernels
-
debdrup
src/sys/<arch>/linux/syscalls.master iirc.
-
glenda
Ah, thanks
-
debdrup
linux(4) has more information.
-
kevans
i think java also requires it
-
debdrup
Huh.
-
nimaje
I don't have fdescfs mounted on /dev/fd and use some java programs sometimes, so it does not
-
debdrup
it might be like bash, where a small subset of the functionality depends on fdescfs(5), but it can mostly run without.
-
debdrup
-
VimDiesel
Title: src - FreeBSD source tree
-
CmdLnKid
fdescfs has been a source of a "few" bash related problems in the past
-
CmdLnKid
fstab: that i usually use on systems that mainly get affected by those things...
-
CmdLnKid
procfs /proc procfs rw 0 0
-
CmdLnKid
fdescfs /dev/fd fdescfs rw 0 0
-
CmdLnKid
linprocfs /compat/linux/proc linprocfs rw,late 0 0
-
CmdLnKid
linsysfs /compat/linux/sys linsysfs rw,late 0 0
-
debdrup
Use a pastebin!
-
CmdLnKid
tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777,late 0 0
-
CmdLnKid
yeah i should of
-
CmdLnKid
appologies
-
CmdLnKid
other notes ... ports emulators/* may need to have something to so with that
-
CmdLnKid
at least production systems on my part are using linux_base-c7-7.9.2009_1
-
CmdLnKid
solved the majority of linux/bsd integration problems ive hadddd
-
debdrup
Sysadmin by cargo-cult doesn't seem advisable.
-
dch
CrtxReavr: IIRC theres python stuff works better with fdescfs (no details sorry)
-
CrtxReavr
Well, for now I've unmounted it and removed it from fstab. . . it can go back if needed.
-
CrtxReavr
I think though, it was just mounted by default by this VPS provider and I've left it alone for muiltiple upgrades.
-
dch
tercaL: sorry for delayed response, yes. enable zfs compression everywhere, all the time, and don't worry about it. lz4 on any h/w more recent than last 10 years is not going to make any negative effects. prior to that, maybe, you can test easily enough.
-
kevans
yeah, I'd bet java's exactly like bash in that way
-
kevans
I did double-check to make sure I'm not crazy (just now); the install message in the pkg recommends both procfs and fdescfs:
freshports.org/java/openjdk18
-
VimDiesel
Title: FreshPorts -- java/openjdk18: Java Development Kit 18
-
kevans
but yeah, bash only uses it for <(cmd substitution) iirc, which is also relatively minor; I wouldn't be surprised if it's only one or two special java things
-
dch
anybody interested in having an invidious port?
-
kevans
"relatively" carrying a lot of weight, it can have security implications
-
dch
I have a "works on my amd|arm machine" thing, and it could do with some help turning it into a usable thing.
-
dch
I hope to get the rest of the port on my trip next week, and then a hand making useful "first run setup" notes would be good
-
nimaje
that was that seflhostable alternative youtube fontend? while I currently won't use/run it myself, it seems like a good idea to have as port
-
CmdLnKid
dch, ? have a link somewhere to follow ?
-
CmdLnKid
even a depot
-
dch
sure CmdLnKid nimaje when I've done the rc.d bits I will share the link
-
drobban
exploring hardware with arm64 that could be a cheap and capable server able to run freebsd, any recommendations.
-
drobban
sata and pci-e is needed =D
-
rustyaxe
i enjoying my proliant, but it seems to make a bit too much RF noise for my use ;(
-
drobban
proliant?
-
dclau
:D
-
moonshine
why arm64 specifically
-
CmdLnKid
thx
-
drobban
exploring new tech
-
drobban
energy effiency is a plus
-
moonshine
i guess it depends on what you intend to do with it
-
drobban
throwing around some data. not computation heavy
-
moonshine
if it were me and i wanted to play with a different server arch, i'd go with riscv
-
moonshine
not because i think riscv is good, but it's just more "interesting" at the moment
-
drobban
moonshine: are you able to present a cheap capable alternative with sata and pci-e with riscv?
-
drobban
that is able to run freebsd, in that case im interested
-
CmdLnKid
can bsd run on a energy starved cpu...
-
moonshine
probably not, but let me do a quick search
-
kevans
drobban: define 'cheap'
-
CmdLnKid
lol
-
drobban
well. not sure what USD is at from SEK. but perhaps around 1.5k?
-
moonshine
no, there probably won't be any cheap riscv boards anytime soon
-
drobban
what did you find? and price range?
-
kevans
assuming google's not lying to me, 1500 SEK ~ 145 USD. hmm
-
dclau
Dollar to Swedish Krona Exchange Rate Today, Live 1 USD to SEK = 10.243
-
drobban
yea, around 1500USD
-
kevans
oh, that was 1.5k USD
-
kevans
depending on how much power you need, I've heard great things about the Windows devkit that clocks in at ~$600USD
-
drobban
windows devkit :-O
-
drobban
wtf is happening.. Im in the freebsd channel right?
-
kevans
:-)
-
dclau
Aye
-
kevans
it runs freebsd
-
» drobban checks irsi status
-
kevans
I mean, naturally it runs windows by default, but there's nothing stopping you from wiping that and installing freebsd instead
-
CmdLnKid
forgot an s
-
moonshine
there are some small riscv sbcs but they're not exactly what i'd call a server
-
moonshine
also they're overpriced for what they actually do
-
drobban
are we talking about the Volterra machine?
-
moonshine
compared to other archs, that is
-
kevans
yeah
-
kevans
volt errabn\y\\\
-
kevans
sorry, toddler attack. volterra
-
drobban
missing pci-e?
-
moonshine
i started testing arm64 servers in 2013 or so, just getting things bootstrapped... riscv today is kind of where arm64 was in 2013
-
moonshine
in my estimation, anyway
-
kevans
oh, yeah, it probably is, sorry
-
drobban
moonshine: what kind of gear did you use back then?
-
moonshine
i can't even remember. we (where i was working at the time) one that was loaned to us to test
-
moonshine
all those companies are gone now, i think :)
-
Grabunhold_
i have completely wiped the 13.1 installation, did a fresh 13.2 install, rolled my ansible playbook and we're back in business.
-
kevans
unfortunately all of the arm64 stuff I use is way over the suggested budget
-
Grabunhold_
let's hope the next 13.1 -> 13.2 upgrade goes more smoothely...
-
moonshine
except for dell, maybe
-
moonshine
dell tried to get into arm early, iirc
-
msiism
Even after upgrading to 13.2, Falkon gives me errors:
paste.debian.net/plainh/1ff5ff94
-
msiism
The effect of that is that the window area for Falokon is occupied, but nothing is every drawn.
-
msiism
s/Falo/Fal/
-
msiism
Now I'm looking for someone also using Falkon to confirm that the problem doesn't just occur for me.
-
msiism
s/every/ever/
-
drobban
at dells site it seems to only offer intel/amd
-
RoyalYork_
msiism, Wish I could assist with your Falkon issue, however this one goes beyond my limited experience
-
msiism
I mean, I can use Firefox for now. So, it's not all that urgent.
-
msiism
But I'd file a PR after some more investigation, I think.
-
cedb
i use this self powered usb hub with my machine, every device on it works fine except my trackball which keeps getting removed (by udev i think?), i dont really see how to track this down. There is no such problem if i plus the mouse directly in the mobo
-
rustyaxe
drobban: HP proliant server.. 24 cores, 256gb ram. bunch 15k SAS drives
-
rustyaxe
10gbit connection from it to LAN and another 10gbit to my radio, which tends to throw a 1-2gbit/sec firehose at the poor computer, depending what im playing with. ;)
-
nimaje
seems to be amd64 not arm64
-
armin
rustyaxe: poor computer. :D
-
moonshine
most arm64 servers you would probably need to talk to sales to get pricing
-
moonshine
maybe there's stuff you can pull off ebay
-
CrtxReavr
I don't have lang/rust installed, but something I'm upgrading on my system is trying to bring it in as a depedency - how do I tell what?
-
nimaje
how do you upgrade? pkg upgrade?
-
CrtxReavr
Was going a ports upgrade with portmaster.
-
guardian
hello, when using lsof I e.g. get "lsof 1173 vagrant txt VREG 0,92 135120 28461 /usr/local/sbin/lsof (/dev/gpt/rootfs)" in the output. Is there a flag or an option to remove the (/dev/gpt/rootfs) part? Or should I pipe to sed/perl/awk?
-
CrtxReavr
What does the lsof manpage say?
-
CrtxReavr
I suspect is has an option to omit itself, but I don't have it installed and don't plan to for your question.
-
CrtxReavr
I'm sure you could also: lsof | grep -v lsof
-
nimaje
iirc portmaster shows a dependency path when building stuff and note that portmaster builds and installs on your running system, so you build in an unclean environment (shouldn't lead to problems, but sometimes does) and has your system in a partial updated state while building, which can be very bad, I suggest using poudriere or synth to build ports
-
CrtxReavr
Well, sadly more & more ports don't build well outside of pouderie or whateverthefsck they call it.
-
RhodiumToad
really?
-
CrtxReavr
Don't act like you don't know that.
-
morpho
what is the performance of Windows OS's virtualised with freeBSD as a host?
-
morpho
I need to use some Adobe software sometimes, I have a thinkpad x270. Will it be enough?
-
kevans
drobban: I was reminded of these:
ipi.wiki/products/com-hpc-ampere-altra?variant=43142801129634 just a little higher than $1.5k @ $2k for a 32-core beast
-
VimDiesel
Title: Ampere Altra Dev Kit – I-Pi SMARC
-
meena
kevans: that's for zero 🐏
-
kevans
meena: zero... sheep? o.o
-
meena
ram
-
kevans
oh, I guess I need a magnifying glass
-
kevans
yeah that's a bit lame
-
llua
morpho: try it and see
-
dch
I need something to run as a daemon to listen on ipv6 port and send stuff to ipv4 port
-
dch
I guess this is not something pf can do
-
daemon
nope that will need a couple of chained netcats; you could do it with perl to but eh ~ I mean you could do it with any programming language
-
daemon
unless you can find a userland tool to listen on ipv6 and send ipv4 .... which you MIGHT be able to do actually with ncat
-
daemon
nmap's version of netcat
-
dch
super annoying, its actually this java issue
Graylog2/graylog2-server #15177
-
VimDiesel
Title: unable to start GELF input on IPv6 address · Issue #15177 · Graylog2/graylog2-server · GitHub
-
VimDiesel
15177 – not able to set CC in port, graphics/mpeg2codec
bugs.freebsd.org/bugzilla/show_bug.cgi?id=15177
-
meena
-
VimDiesel
Title: Fennel – Getting Started with Fennelthe Fennel programming language
-
dch
it used to work just fine in previous graylog/jvm combo and in the last edition it broke
-
dch
meena: that is pretty neat
-
dch
ffennel
-
meena
:D
-
dch
^^^ kevans you now have a lisp in base, what have you done
-
dch
fennel is a lispy flavoured lua
-
meena
Fenne is very good, because Lua is very good.
-
RhodiumToad
eh
-
dclau
Hmmm... Lua is good because of what? What makes it so good?
-
daemon
its good because its light
-
daemon
that is why its used for the AI in NPC's in games so much
-
Onepamopa
idk.. syntax is (puke) ...
-
daemon
but every language is good
-
daemon
every tool has a job
-
dclau
True, it is light. What else?
-
daemon
no idea I just know its used a lot in games for NPC's for its lightness
-
daemon
im a perl/c#/rust guy :P
-
daemon
and this is a freebsd channel lol
-
dclau
Probably is fast, as well, right?
-
daemon
speed does not matter
-
dclau
Freaking interpreted
-
daemon
geting the job done matters, you use what you like
-
dclau
Ok
-
daemon
threading and forking will do the rest
-
daemon
worry about optimizations after you deliver
-
daemon
before that write in what you like
-
daemon
or what community you like to deal with
-
dclau
I am not dealing with communities, mate :)
-
daemon
you are dealing with one right now
-
dclau
I was just curious about how good, fast, light and shiny Lua can be
-
Onepamopa
as good, fast, light and shiny as any other language :)
-
daemon
for that I could not answer and to be honest; I do not think most of the lua community could either
-
dclau
Ok, sorry for disturbing the community with my ignorant questions :)
-
dclau
Peace out
-
debdrup
Homework question on IRC brings back memories.
-
daemon
dclau, its good to chat it was no problem :) but yes indeed any language is what you make it
-
RhodiumToad
Lua is better than a lot of languages and worse than some
-
dclau
I'm a bit late for a homework question :)
-
Onepamopa
as long as you're not a byte late ... it's okay :)
-
dclau
Now I see the community. Relax, guys.
-
meena
now I'm trying to remember if there's been CVEs with 1 bit leaks
-
RhodiumToad
lua isn't as fast as some interpreted languages (unless you go for luajit, which has its own issues) but it's pretty nicely embeddable
-
dch
is there a native equivalent of lsof?
-
RhodiumToad
fstat
-
dch
tried that, it won't tell me what's open on my zfs dataset
-
dch
which I can trivially unmount -f
-
RhodiumToad
what exactly did you try?
-
dch
-
VimDiesel
Title: Snippet | IRCCloud
-
dch
RhodiumToad: that, `sudo fstat -v`
-
RhodiumToad
sudo fstat -f /jails/h2o
-
dch
thats blank
-
RhodiumToad
hmm
-
RhodiumToad
fbsd version?
-
dch
1400082 approximately 2 weeks old
-
dch
main-n261593-491263d7a640 so actually 17 March almost a month old
-
dch
ha got it
-
dch
its a socket
-
dch
syslog-ng 97187 root 23u unix 0xffff000174425900 0t0 /jails/h2o/var/run/log
-
dch
thats from lsof
-
dch
-
VimDiesel
Title: Snippet | IRCCloud
-
RhodiumToad
sockstat -u should also show that
-
dch
obvious in hindsight
-
dch
fstat only shows `root syslog-ng 97187 25`
-
RhodiumToad
that suggests that the fstat program, the sysctl interface to the files table, and the files table itself are somehow out of sync on what type values exist
-
dch
it seems a bit unfortunate that fstat doesn't recognise those
-
dch
this isn't the first time I've seen this, but its the first time I've had the time to dig around instead of `umount -f` and doing whatever it was I needed to do
-
dch
RhodiumToad: ok, looking on a nice 13.2-RELEASE instead, I see the same thing - sockets aren't recognised
-
RhodiumToad
uh, they are, but maybe not on zfs?
-
RhodiumToad
I see that libprocstat has some zfs-specific code, possibly that hasn't been kept properly updated?
-
RhodiumToad
hm, fstat -f ... doesn't list sockets on the specified FS even on ufs
-
dch
RhodiumToad: I think you're right, only zfs. I wonder if I have any UFS atm.
-
dch
try `fstat -s` maybe?
-
dch
and paste output please, I'm curious to know what I should see :D
-
dch
-
VimDiesel
Title: ⚙ D21880 fstat(1) -s option
-
RhodiumToad
-
VimDiesel
Title: dpaste/hsbAE (Plain Code)
-
dch
RhodiumToad: this is great. I want `-s` on all the time, everywhere.
-
RhodiumToad
note that the first command didn't show the sockets though
-
dch
cool, I can close 3 old BZ with this now, and then feel good about asking for a zfs specific fix :D
-
dch
did I read this correctly, it only shows up into when the pid is given?
-
RhodiumToad
it shows up in fstat -s without other args
-
RhodiumToad
but if you use -f /path to examine just one filesystem, they don't show at all
-
dch
and you don't see it for a single fs, aah.
-
dch
hmmm
-
RhodiumToad
-
VimDiesel
Title: dpaste/SiWBN (Plain Code)
-
dch
root syslog-ng 84577 16* local dgram fffff80023b52d00 /var/run/log
-
dch
it does show up in zfs /
-
dch
but not in child datasets
-
RhodiumToad
hm, on the system I tested that on, /var is actually just a subdir of / (ufs)
-
dch
on the ones I have, /var/run is just a subdir of / zfs, but there are a bunch of jails with syslog-ng providing the sockets
-
yuripv
cgit.freebsd.org/src/tree/usr.bin/fstat/fstat.c#n247 probably explains why sockets aren't printed if -f is specified
-
VimDiesel
Title: fstat.c « fstat « usr.bin - src - FreeBSD source tree
-
_xor
Can't remember, but HEAD on -STABLE branches (e.g. stable/13) is usually buildable, no? (or is it expected to break sometimes?)
-
yuripv
(and why it only prints for the same FS as specified path and not child datasets)
-
RhodiumToad
_xor: stable branches should pretty much always build
-
_xor
That's what I thought.
-
yuripv
_xor: it should be buildable, yes, it's the reverse (something older being built on main) that isn't guaranteed and not really supported
-
_xor
Hmm, probably my config/environment then. Though the build did error in the same place on two separate machines, so it made me wonder.
-
RhodiumToad
what was the error?
-
_xor
/usr/src/crypto/heimdal/lib/hdb/hdb-ldap.c:819:17: warning: cast to 'unsigned char *' from smaller integer type 'unsigned char' [-Wint-to-pointer-cast]
-
_xor
I guess I can remove WITH_OPENLDAP=yes from src.conf.
-
_xor
It's not mandatory, but would have been helpful.
-
RhodiumToad
are you expecting to build without warnings?
-
_xor
Oh wait sorry, that was the warning line. Let me get the error line.
-
» RhodiumToad not sure he ever managed that
-
_xor
No, mis-paste. One sec...
-
_xor
-
RhodiumToad
erm
-
_xor
I was about to go for the easy route first and try diabling ccache, until I saw that it's a source compile error and not a linker error.
-
RhodiumToad
yeah, that's wrong in the source
-
RhodiumToad
hrm, but this code is like 11 years old???
-
_xor
Hmm, how can I see the default value for a make macro? I wanted to make sure WITH_OPENLDAP=no by default and that I explicitly changed it to yes.
-
_xor
Tried `make -V WITH_OPENLDAP` but that didn't dump anything.
-
_xor
I guess not many people compile it, heh.
-
dch
yuripv: so are you saying with a small logic change, fstat could show sockets in child filesystems?
-
yuripv
s/WITH/MK/ ?
-
_xor
yuripv: Just tried that, no dice.
-
dch
I read the code you linked but can't spot the logic yet
-
_xor
No biggie, going to try to with that set to no to see if that allows it to skip past that part of the source.
-
RhodiumToad
the code has an obvious glaring bug
-
yuripv
dch: nope, i'm saying that if -f is specified, sockets (or anything else that isn't fifo/vnode) are not printed
-
RhodiumToad
maybe it compiled with warnings before but compiler is stricter now? would have to check
-
dch
aaah yes I see now
-
_xor
RhodiumToad: Yeah, that's what made me wonder if I was wrong about -STABLE always being buildable.
-
RhodiumToad
hm
-
RhodiumToad
my build logs from way back show it compiling without error
-
RhodiumToad
oh wait, wrong file
-
_xor
I guess it could have compiled with a warning before, but a pointer where it expected a char? That seems odd to be intentional. Like truncating a wider type to a narrower one where you know the extra bits aren't used...ok, I can maybe see that.
-
_xor
but a char vs word-size address? (then again, been a long time doing systems stuff, so I'm very out of touch)
-
RhodiumToad
what WITH/WITHOUT options are you using?
-
_xor
WITH_OPENLDAP=yes
-
_xor
I just commented that out and am recompiling now.
-
_xor
Oh optionS...one sec
-
_xor
-
_xor
Only other thing I can think of is one of the other options causing the error, but not sure which one.
-
_xor
That's the current /etc/src.conf I'm compiling with now, the error'ed one had WITH_OPENLDAP=yes enabled.
-
RhodiumToad
WITH_OPENLDAP doesn't look like it's supposed to be enabling compilation of heimdal/**/hdb-ldap.c
-
_xor
Well that sucks, heh. Guess this one is probably going to bomb too then.
-
RhodiumToad
hm
-
RhodiumToad
maybe it is
-
RhodiumToad
MK_OPENLDAP adds -DOPENLDAP=1 to heimdal cflags
-
_xor
If it makes a difference...
-
_xor
-
_xor
There's src-env.conf
-
RhodiumToad
and the whole file is #ifdef OPENLDAP it seems
-
_xor
I guessed it was WITH_OPENLDAP due to Heimdal.
-
RhodiumToad
so this option may never have worked?
-
_xor
Guess not?
-
_xor
Last commit was actually 11 years ago?
-
_xor
I mean that touched those files.
-
RhodiumToad
the broken source line is blamed on "Import Heimdal 1.5 distribution -- 12 years ago"
-
RhodiumToad
Oct 5 2011 to be precise
-
_xor
Lulz
-
» _xor was just browsing cgit.freebsd.org to look at the commit history for that dir, but had trouble finding date there
-
RhodiumToad
looks like it was fixed in heimdal 1.6, but apparently 1.5 was the last version imported
-
RhodiumToad
the idea of running crypto code that has not been updated since 2011 and contains obvious this-won't-compile bugs seems a bit iffy
-
_xor
Yes. Yes it does. I should check stuff like that before I enable it. Had I seen it was 11 years old, I'd have probably not enabled it, not at least without looking a bit more into its origin/status/etc.
-
RhodiumToad
the description sounds like it shouldn't be compiling this at all
-
RhodiumToad
someone with more familiarity with the makefile mess would have to comment
-
_xor
If it's not being used, maybe it should be deprecated?
-
_xor
ah