00:01:43 I have always "made do" with echo-prints but it is the lowest form of debugging. The lowest form that all of us have done repeatedly. 00:02:35 I keep thinking I should drag in the bash debugger and see if it would work with the newer /bin/sh now as I think sh now might have all of the features needed to support the debugger. And then could single step through sh scripts. 00:36:53 ok made some progress in trying to run a command as an rc.d daemonized script: https://termbin.com/k1ob but it won't service logg stop 00:37:04 any help appreciated 01:56:38 polyex, why are you calling "logger" explicitely instead of using daemon(8) options to syslog output? That would let you get rid of the pipe, the wrapper script, and the need for bash, and may (by giving daemon a single process to run instead of 2 or 3) solve your stopping problem. 02:52:54 ah i'll try that V_PauAmma_V 03:04:27 ya there we go 03:18:02 seems to work 03:19:24 any way to trim empty lines from the output of: tcpdump -n -l -e -ttt -i pflog0? it's making my syslog parser choke 05:46:41 ooh, someone updated multimedia/navidrome 05:46:48 what's that 05:46:49 now i can move that off linux 05:46:59 polyex: music streaming server (think on-premise spotify) 05:47:04 niiice 05:58:45 does syslogd strip off the hostname when it sends to @remote ? 06:01:08 i look at /var/log/messages and it'll have like "May 24 05:05:05 myjail polyex[12345]: logger msg..." but opentelemetry collector's syslog receiver reports getting "May 24 05:05:05 polyex[12345]: logger msg..." with the hostname missing. anyone know what's going on pls? 06:45:39 nvm just changed syslogd's output format to 5424 14:55:51 I think FreeBSD is misdetecting the battery a bit 14:55:58 I know battery charge is just an approximation 14:56:02 but its been at 2% for a good 15 mins 14:56:20 any ideas? 14:56:34 (bare in mind it went from 100% to 2% in 2 hours) 15:01:27 I think it displays whatever is provided by BIOS 15:27:36 polarian, Are you using something like powerdxx to scale the cpu frequency? If not then I recommend it as it made a big difference for me. My Intel cpu needed powerdxx not powerd, my cpu was too new for powerd. 16:55:01 rwp: E6430 has 3rd gen intel 16:59:59 polarian, htop has gained the feature of being able to display the cpu frequency in real-time. It's under Setup, Display Options. For laptop use especially I would verify that the frequency is being scaled appropriately. 18:22:46 for certain values of realtime, including not realtime 19:01:25 Well... FreeBSD is not a RealTime(TM) kernel. So, right, not hard-real-time like a hard real time kernel. 19:02:14 Not like the Apollo Guidance Computer landing the Lunar Module! :-) 20:16:53 rwp: well, there's also the tiny issue that measuring even using pmc(3) can bump up the frequency 20:29:55 we hould all replaces our freebsd boxen with apollo guidance computers then 20:37:05 * V_PauAmma_V misread that as "GUI dance". 20:37:05 no, freebsd isn't hard-realtime, but it's got dynamic tickless and has a time resolution down to nanoseconds 20:37:34 i'm also not sure most people would want a hard-realtime general-purpose OS 20:38:37 RTEMS does use a fair amount of FreeBSD code though, which I always found interesting 20:39:38 Also, in finding the correct term above (ie, "dynamic tickless", which I was blanking on), I got periodically distracted by a reminder of this paper: https://www.usenix.org/legacy/events/bsdcon03/tech/full_papers/baldwin/baldwin.pdf 22:03:08 when 'periodic daily' runs base makes a network connection to vuxml.freebsd.org, any way to disable that pls? 22:07:55 maybe something in pkg.conf 22:27:29 It's probably /usr/local/etc/periodic/security/410.pkg-audit 22:28:40 hmm /etc/defaults/periodic.conf says 410 is status-mfi 22:28:45 13.3 22:33:45 pkg(8) isn't part of the base system 22:46:26 debdrup so to disable that check i'd put like security_status_pkgaudit_enable="NO" in /etc/periodic.conf? 22:47:17 You'd need a - between pkg and audit, but otherwise that sounds reasonable. 22:47:38 s/-/_/ (I think) 22:47:46 I don't know why you would want that, though. 22:47:54 V_PauAmma_V: the script is called pkg-audit, not pkg_audit 22:48:16 Can you have - in a shell variable name? 22:48:23 i don't have a fw rule allowing it out. only disabling it till i think that through 22:48:39 Oh, hm. That's a good point. 22:49:18 Yeah, it'll have to be an underscore as V_PauAmma_V points out. 22:49:22 That's a good catch. 22:56:52 * V_PauAmma_V preens. :-) 22:58:42 debdrup i had to disable security_status_baseaudit_enable AND security_status_pkgaudit_enable to disable those network conns during periodic daily/monthly/weekly 22:59:07 Still not clear on what you're trying to achieve. 22:59:27 the network connection to the vuxml.freebsd.org site 23:00:27 dunno yet if i wanna use pkg audit because it means i gotta allow a fw rule out 23:02:49 why is allowing a connection out a problem? 23:03:14 if you don't trust anything from freebsd.org, why are you using the OS? 23:03:16 an attacker could use the pass out rule to download hack tools no? 23:03:39 if that's a serious threat modeling, you need an airgapped system. 23:04:04 so you're saying just allow any outgoing http connection? pretty loose no? 23:04:28 who are you, RMS? 23:06:07 if someone can initiate an outgoing connection, they either 1) have physical access which means they can have root access in very short order, or 2) if they can initiate an outgoing connection but don't have physical access, the attacker is already on your system