01:59:03 fluent-bit pkg has a bug? i enable it in rc.conf with fluent_bit_enable="YES", fluent_bit_group="fluentbit", fluent_bit_user="fluentbit". start server, sudo top shows fluent-bit running, but service fluent-bit status says it's not running. but /var/run/fluent_bit.pid exists -rwxr-xr-x fluentbit:fluentbit 01:59:42 You ran the service command with sudo as well? 01:59:49 ya 02:00:09 If the rc script for fluent-bit doesn't handle a status request properly, then the service command won't be able to tell 02:00:28 You can try to run the rc script directly - /usr/local/etc/rc.d/fluent-bit status 02:01:10 if i try to sudo service fluent-bit restart it ends up creating a new process 02:01:26 doesn't terminate old process 02:02:33 fluent-bit rc.d doesn't have status support 02:03:48 but i got another daemon that doesn't have support for status but status works for it 02:05:06 and why does the pid file get created +x? 02:10:35 i set the pid file 644 getting rid of the +x but service fluent-bit status still says it's not running 02:11:52 changed owner/group to root:wheel, still says not running 02:13:46 rc.d/fluent-bit, binary is fluent-bit, fluent_bit.pid, service fluent-bit status says fluent_bit is not running. maybe there's a -_ mismatch? 02:22:41 anyone can has help? 02:36:11 hm im fiddling around and i get daemon: open: permission denied 02:38:28 so ya still says fluent_bit is not running 02:41:43 ok got all the info together in case anyone sees it... 02:41:45 fluent-bit pkg has a bug? i enable it in rc.conf with fluent_bit_enable="YES", fluent_bit_group="fluentbit", fluent_bit_user="fluentbit". reboot server, sudo top shows fluent-bit running, but service fluent-bit status (rc.d/fluent-bit) says "fluent_bit is not running". fwiw /var/run/fluent_bit.pid exists -rwxr-xr-x fluentbit:fluentbit, not sure why 02:41:46 it's +x. 02:42:11 ty! 03:04:12 Is the _ in "fluent_bit is not running" a typo? 03:04:26 no that's what it says 03:04:38 think there's a - vs _ issue? 03:10:06 Ah, the _ is because you can't use "-" in shell variable names. See in /usr/local/etc/rc.d/fluent-bit, name="fluent_bit" and the next line. 03:10:16 ya 03:10:28 so what could be the prob? 03:10:29 So unrelated. 03:14:06 Dunno offhand. Nothing obvious jumps out to me in /usr/local/etc/rc.d/fluent-bit (or rather, the file in the port it's generated from). 03:22:16 damn wtf 03:33:48 i must be seeing somethign wrong here,.. if i want to delete an interface from a bridge0, i do: ifconfig bridge0 remove ? 03:33:58 i am doing it and i keep getting this: ifconfig: epair8a: bad value 03:34:11 i am dumbfounded as the interfaces are "down" but yet it won't let me remove from bridge 03:40:03 voy4g3r2, ifconfig(8) says it's "deletem", not "remove". 03:41:01 (presumably, for "delete member") 03:43:25 err 03:43:34 remove must be the interface itself then 03:43:37 thank you V_PauAmma_V 03:44:50 "remove Another name for the -alias parameter. Introduced for compatibility with BSD/OS." 03:45:12 yeah and that complains.. err 03:45:15 this VNET jail script 03:45:37 the dang interface exists, stop telling me it doesn't ifconfig 03:47:27 interesting ifconfig remove epair8a returns "nothing" and keeps interface but ifconfig destroy epair8 removes it 03:57:11 I think "remove" (or "-alias") is for removing address aliases from an interface, not an interface from the network stack. For that, you need "destroy" as you figured (and as the manual page says). 04:04:40 yes, i was mixing up a epair as an alias, it is not 04:05:27 jail is now working.. now next step.. why does plexmedia "run" but the webpage does not work.. 04:05:34 i WILL get this moved to a jail from a bhyve 04:08:56 Bedtime for good crabs. 04:22:49 night o/ 04:22:59 fluent-bit pkg has a bug? i enable it in rc.conf with fluent_bit_enable="YES", fluent_bit_group="fluentbit", fluent_bit_user="fluentbit". reboot server, sudo top shows fluent-bit running, but service fluent-bit status (rc.d/fluent-bit) says "fluent_bit is not running". fwiw /var/run/fluent_bit.pid exists -rwxr-xr-x fluentbit:fluentbit, not sure why 04:23:00 it's +x. 04:39:41 sweet, 666 users in #freebsd lol all hail beastie 05:26:36 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269480 is the problem i'm having with fluent bit! anyone know a way to work around it? 05:26:39 Title: 269480 – sysutils/fluent-bit: rc.d script should not use --daemon option when combined with daemon command 05:51:36 polyex: not really, the maintainer put --daemon outside of the configurable _flags so you're pretty much stuck with modifying the rc script 05:52:11 kevans what's the right edit to make? it's a bit beyond me 05:52:25 the change in the diff: https://bz-attachments.freebsd.org/attachment.cgi?id=240071 05:52:29 strip --daemon from the command_args line 05:53:48 if you have a bugzilla account, I'd also drop a +1 in there and see if the maintainer picks it up... I haven't checked if they're still active, but this is definitely way past timeout if not 05:54:10 (well, it's way past timeout if they are, too) 05:57:20 kevans you sure that was the fix? i tried it but same behavior 06:08:34 i mean, that's what the diff says 06:09:08 ya it just didn't fix it for me 06:10:23 it should have, based on your description above. you sure you patched the right script? 06:11:32 i'm gonna try it without the user and group rc.conf vars 06:13:06 hm daemon: open: permission denied 06:14:35 well /var/run/fluent_bit.pid has rwxr-xr-x nobody:nogroup 06:14:40 size is 0 13:42:31 Hi, I've got a super strange problem and I'm looking for a bit of help. I'm trying to start a service in a freebsd 13.3 jail, the rc.d script uses /usr/sbin/daemon to start and daemonize the service. But the call has no effect, no output to syslog or logfile, nothing, just a return code of 0. any ideas how I could figure out what's going on there? thanks. 13:44:14 a pidfile is created, but it's empty 13:49:40 ah, I've run into this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278195 13:49:43 Title: 278195 – daemon in jail is exiting without informing that it failed to execute 14:00:22 <_xor> What's going to be the best way, from the CLI, to get CPU idle/user/system/interrupt time since boot? 14:02:22 * _xor is reading man iostat, vmstat, systat, etc 14:39:41 Hey... how do I ensure pulseaudio is not started, but instead pipewire is... pulseaudio is currently being loaded, I don't see any rc service for it... so I am not too sure what starts it... I can't simply remove pulseaudio either... because chromium and dino ports require it, but they will work with pipewire too (or use the pulse compatibility layer) 14:57:28 fluent-bit pkg has a bug? i enable it in rc.conf with fluent_bit_enable="YES", fluent_bit_group="fluentbit", fluent_bit_user="fluentbit". reboot server, sudo top shows fluent-bit running, but service fluent-bit status (rc.d/fluent-bit) says "fluent_bit is not running". fwiw /var/run/fluent_bit.pid exists -rwxr-xr-x fluentbit:fluentbit, not sure why 14:57:28 it's +x. 14:57:37 the bug was reported already https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269480 but i tried the diff and it didn't seem to fix the problem for me. any help is appreciated! 17:50:39 if i am running a jail in a VNET setuep, the expectation (when i do jls show) to NOT see the ip address assigned? 17:50:51 JID IP Address Hostname Path 17:50:52 5 plex.home /usr/local/jails/containers/plex 17:50:59 i was expecting IP Address to be filled... 17:52:12 that is normal for a vnet jail 17:53:27 which is weird since the zones admin commands can tell you. 17:53:40 solaris (zones) 17:54:42 i am okay with it, this is my first time using vnet jails.. i was usually using thick jail WITHOUT vnet and it would show ip address 17:54:49 at least i gget to kill a bhyve image :) 17:56:28 thanks for confirmation llua 17:59:58 np 19:13:47 fluent-bit pkg has a bug? i enable it in rc.conf with fluent_bit_enable="YES", fluent_bit_group="fluentbit", fluent_bit_user="fluentbit". reboot server, sudo top shows fluent-bit running, but service fluent-bit status (rc.d/fluent-bit) says "fluent_bit is not running". fwiw /var/run/fluent_bit.pid exists -rwxr-xr-x fluentbit:fluentbit, not sure why 19:13:48 it's +x. 19:13:50 the bug was reported already https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269480 but i tried the diff and it didn't seem to fix the problem for me. any help is appreciated! 19:13:53 Title: 269480 – sysutils/fluent-bit: rc.d script should not use --daemon option when combined with daemon command 20:05:56 anyone know if palle girgensohn comes on irc? 20:57:34 there a way to see lines that 1 file has that another doesn't have? but order doesn't matter so diff is too noisy 20:58:36 sort them then diff them 21:01:42 won't diff care about the order of the lines tho? 21:01:58 and just sort file.txt > output.txt? 21:03:39 the sort is to give a predictable order. yes, if alpha-sort is appropriate for the data 21:20:55 weird. when i sort -o out.txt in.txt there's a bunch of blank lines at the start of the file. i guess that's all of the double blank lines through the file? 21:22:56 just blank lines; not double in particular 21:23:09 ah 21:35:15 if you're seeing several in the sorted output, they're different in some invisible way. Like, spaces 22:27:28 is there a way to remove every line from a file that isn't found in another file? and if not, is there a way to get a list of lines that are in a file but not in another file? then i can do it manually 22:28:49 i guess if i sort both files (and probably skip whitespace) i get a list of lines in both. then i can somehow get a list of lines that's in 1 but not the other. diff maybe but the ordering noise sucks 22:31:37 copying the file over isn't an option? 22:31:51 no 22:36:16 it sounds like a foolproof way of doing that 22:37:12 this is about to be tedious work but i believe in myself. i hope you believe in me too llua 22:41:28 ..not looking good 23:02:21 k got it 23:02:38 wew there was 6 hours 23:03:23 ty team! 23:03:44 fluent-bit pkg has a bug? i enable it in rc.conf with fluent_bit_enable="YES", fluent_bit_group="fluentbit", fluent_bit_user="fluentbit". reboot server, sudo top shows fluent-bit running, but service fluent-bit status (rc.d/fluent-bit) says "fluent_bit is not running". fwiw /var/run/fluent_bit.pid exists -rwxr-xr-x fluentbit:fluentbit, not sure why 23:03:45 it's +x. 23:03:45 the bug was reported already https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269480 but i tried the diff and it didn't seem to fix the problem for me. any help is appreciated! 23:03:48 Title: 269480 – sysutils/fluent-bit: rc.d script should not use --daemon option when combined with daemon command