-
polyex
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
-
Ltning
You ran the service command with sudo as well?
-
polyex
ya
-
Ltning
If the rc script for fluent-bit doesn't handle a status request properly, then the service command won't be able to tell
-
Ltning
You can try to run the rc script directly - /usr/local/etc/rc.d/fluent-bit status
-
polyex
if i try to sudo service fluent-bit restart it ends up creating a new process
-
polyex
doesn't terminate old process
-
polyex
fluent-bit rc.d doesn't have status support
-
polyex
but i got another daemon that doesn't have support for status but status works for it
-
polyex
and why does the pid file get created +x?
-
polyex
i set the pid file 644 getting rid of the +x but service fluent-bit status still says it's not running
-
polyex
changed owner/group to root:wheel, still says not running
-
polyex
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?
-
polyex
anyone can has help?
-
polyex
hm im fiddling around and i get daemon: open: permission denied
-
polyex
so ya still says fluent_bit is not running
-
polyex
ok got all the info together in case anyone sees it...
-
polyex
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
-
polyex
it's +x.
-
polyex
ty!
-
V_PauAmma_V
Is the _ in "fluent_bit is not running" a typo?
-
polyex
no that's what it says
-
polyex
think there's a - vs _ issue?
-
V_PauAmma_V
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.
-
polyex
ya
-
polyex
so what could be the prob?
-
V_PauAmma_V
So unrelated.
-
V_PauAmma_V
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).
-
polyex
damn wtf
-
voy4g3r2
i must be seeing somethign wrong here,.. if i want to delete an interface from a bridge0, i do: ifconfig bridge0 remove <interface name>?
-
voy4g3r2
i am doing it and i keep getting this: ifconfig: epair8a: bad value
-
voy4g3r2
i am dumbfounded as the interfaces are "down" but yet it won't let me remove from bridge
-
V_PauAmma_V
voy4g3r2, ifconfig(8) says it's "deletem", not "remove".
-
V_PauAmma_V
(presumably, for "delete member")
-
voy4g3r2
err
-
voy4g3r2
remove must be the interface itself then
-
voy4g3r2
thank you V_PauAmma_V
-
V_PauAmma_V
"remove Another name for the -alias parameter. Introduced for compatibility with BSD/OS."
-
voy4g3r2
yeah and that complains.. err
-
voy4g3r2
this VNET jail script
-
voy4g3r2
the dang interface exists, stop telling me it doesn't ifconfig
-
voy4g3r2
interesting ifconfig remove epair8a returns "nothing" and keeps interface but ifconfig destroy epair8 removes it
-
V_PauAmma_V
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).
-
voy4g3r2
yes, i was mixing up a epair as an alias, it is not
-
voy4g3r2
jail is now working.. now next step.. why does plexmedia "run" but the webpage does not work..
-
voy4g3r2
i WILL get this moved to a jail from a bhyve
-
V_PauAmma_V
Bedtime for good crabs.
-
polyex
night o/
-
polyex
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
-
polyex
it's +x.
-
xgpt
sweet, 666 users in #freebsd lol all hail beastie
-
polyex
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?
-
VimDiesel
Title: 269480 – sysutils/fluent-bit: rc.d script should not use --daemon option when combined with daemon command
-
kevans
polyex: not really, the maintainer put --daemon outside of the configurable _flags so you're pretty much stuck with modifying the rc script
-
polyex
kevans what's the right edit to make? it's a bit beyond me
-
kevans
-
kevans
strip --daemon from the command_args line
-
kevans
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
-
kevans
(well, it's way past timeout if they are, too)
-
polyex
kevans you sure that was the fix? i tried it but same behavior
-
kevans
i mean, that's what the diff says
-
polyex
ya it just didn't fix it for me
-
kevans
it should have, based on your description above. you sure you patched the right script?
-
polyex
i'm gonna try it without the user and group rc.conf vars
-
polyex
hm daemon: open: permission denied
-
polyex
well /var/run/fluent_bit.pid has rwxr-xr-x nobody:nogroup
-
polyex
size is 0
-
oaken-source
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.
-
oaken-source
a pidfile is created, but it's empty
-
oaken-source
-
VimDiesel
Title: 278195 – daemon in jail is exiting without informing that it failed to execute
-
_xor
What's going to be the best way, from the CLI, to get CPU idle/user/system/interrupt time since boot?
-
» _xor is reading man iostat, vmstat, systat, etc
-
polarian
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)
-
polyex
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
-
polyex
it's +x.
-
polyex
the bug was reported already
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!
-
voy4g3r2
if i am running a jail in a VNET setuep, the expectation (when i do jls show) to NOT see the ip address assigned?
-
voy4g3r2
JID IP Address Hostname Path
-
voy4g3r2
5 plex.home /usr/local/jails/containers/plex
-
voy4g3r2
i was expecting IP Address to be filled...
-
llua
that is normal for a vnet jail
-
llua
which is weird since the zones admin commands can tell you.
-
llua
solaris (zones)
-
voy4g3r2
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
-
voy4g3r2
at least i gget to kill a bhyve image :)
-
voy4g3r2
thanks for confirmation llua
-
llua
np
-
polyex
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
-
polyex
it's +x.
-
polyex
the bug was reported already
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!
-
VimDiesel
Title: 269480 – sysutils/fluent-bit: rc.d script should not use --daemon option when combined with daemon command
-
polyex
anyone know if palle girgensohn comes on irc?
-
polyex
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
-
jgh
sort them then diff them
-
polyex
won't diff care about the order of the lines tho?
-
polyex
and just sort file.txt > output.txt?
-
jgh
the sort is to give a predictable order. yes, if alpha-sort is appropriate for the data
-
polyex
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?
-
jgh
just blank lines; not double in particular
-
polyex
ah
-
jgh
if you're seeing several in the sorted output, they're different in some invisible way. Like, spaces
-
polyex
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
-
polyex
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
-
llua
copying the file over isn't an option?
-
polyex
no
-
llua
it sounds like a foolproof way of doing that
-
polyex
this is about to be tedious work but i believe in myself. i hope you believe in me too llua
-
polyex
..not looking good
-
polyex
k got it
-
polyex
wew there was 6 hours
-
polyex
ty team!
-
polyex
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
-
polyex
it's +x.
-
polyex
the bug was reported already
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!
-
VimDiesel
Title: 269480 – sysutils/fluent-bit: rc.d script should not use --daemon option when combined with daemon command