-
bsdguydr
What about zsh?
-
bsdguydr
I always use the default shell for root, plain sh or Bash for scripting, zsh for my user on the main laptop, tcsh on others computers/servers. Don´t know why, but always I have confidence when using tcsh.
-
Freaky
it's pretty respectable for interactive use
-
Freaky
no shells are respectable for scripting so that just about covers it all
-
mns
how do I monitor the logs in my jails ? Right now I've got a single jail, serving up several websites using lighttpd. I want to monitor the websites, so will need to monitor the log files. They are only accessible from within the jail.
-
llua
your normal log aggregation tools
-
mns
I want the host system to have access to the logs inside the jail. Or I guess have the jails send out the logs to the host for aggregation, though what tools are available for log aggregation ? Last time I did anything of the sort, I think it was something like webalizer or such that was available.
-
llua
the most primitive is syslog forwarding
-
llua
what people refer to as an `ELK' stack is common too
-
Freaky
mns: there's no fundamental difference between jail and host, except the jail only has access to the jail, obviously
-
Freaky
you can have the host syslog dump a socket in the guest, you can nullfs mount a directory into it if it's convenient
-
mns
Yeah I guess first point is going to be to use syslog to get things out of the jail and into the host's syslog.
-
Freaky
for web server logs it's just a case of them being buried deeper in the filesystem
-
Freaky
what you analyse them with is another matter
-
Freaky
last one I played with is goaccess, which at least seems slightly better maintained than webalizer
-
mns
one thing at a time. get the logs to the host first. right now its just the web server, later on there will be other services, mail, squid, database, etc. so want to make sure I've got the bits working properly.
-
mns
goaccess seems nice. I'll have to check it out.
-
meena
re dumping a socket from the host into jails:
reviews.freebsd.org/D27411#882100
-
VimDiesel
Title: ⚙ D27411 add altlog_jaillist to syslogd's rc script
-
-
VimDiesel
Title: Contributors to FreeBSD | FreeBSD Documentation Portal
-
yuripv
it seems to be there yet
-
meena
so a website build & deploy takes about 20 minutes?
-
dch
mns, run a separate syslog-ng instance *outside* the jail that logs jail data
-
dch
this is as always a security tradeoff
-
dch
+ is that logs from the jail are immediately off-sited and unable to be tampered with
-
dch
- is that if there's a bug or vuln in syslog-ng, it can be exploited from outside the jail
-
dch
syslog-ng is very flexible and I can ensure tagging and filtering as required of jail traffic
-
dch
this all predates meena's patch above which allows doing the same thing with the base system
-
dch
johnjaye: I don't think anybody mentioned it but this is awesome
beej.us/guide/bgnet
-
VimDiesel
Title: Beej's Guide to Network Programming
-
salvadore
jrm, do you know if a FreeBSD Foundation status report is coming?
-
salvadore
dvl, is there anything noteworthy about FreshPorts this quarter for status reports?
-
jrm
salvadore: Yes. It's coming.
-
salvadore
great, thanks jrm
-
drobban
dch: beej's guide is a real goldie. It has been on the net for as long I can remember
-
debdrup
meena: 20 minutes sounds right, yeah
-
last1
I have to use Debian for 3rd-party supported app, it reminds me how much I hate Linux
-
last1
I can't believe people develop and love that crap
-
last1
there are like 4 network managers, apps all over the place, packages as well
-
last1
nic bonding requires a special package that's not included in their install dvd, and which requires internet access - which you don't have because your nics require lacp
-
angry_vincent
ugh
-
meena
-
VimDiesel
Title: 270628 – ifconfig destroy epair parent not destroying child vlan sub-interfaces
-
meena
I wonder if this is current only
-
rtprio
last1: thankfully lagg does not have that problem
-
rtprio
huh i never heard of epair
-
johnjaye
dch: thank you! that is really good
-
mason
rtprio: epair is Useful
-
rtprio
mason: what are times that you'd use it? a netflow or monitoring host?
-
mason
rtprio: VNET jails
-
mason
-
VimDiesel
Title: MasonLoringBliss/JailsEpair - FreeBSD Wiki
-
rtprio
oh
-
souji
Hello, short question: Does passthrough with a UEFI bhyve guest work?
-
debdrup
What kind of passthrough?
-
souji
PCI passthrough
-
debdrup
Yes, it does.
-
souji
Hmm, because whenever I try it, I only get: Unable to setup memory (17)
-
souji
And I did set the -S flag
-
souji
Oh, I might need to set 'hw.vmm.amdvi.enable'
-
mason
souji: Did it work?
-
debdrup
They left.
-
souji
That was the problem; I didn't read to the end. Sorry for the bother...
-
debdrup
Oh, they returned.
-
debdrup
-
VimDiesel
Title: src - FreeBSD source tree
-
mason
Schrödinger's souji
-
mason
souji: No worries. Glad it's working.
-
souji
mason: Thank you anyways :)
-
_xor
While I'm Googling this, anyone got a status on pledge/unveil on FreeBSD? Last I remember reading about it, there was talk of implementing it on top of capsicum.
-
mason
meena: That is interesting. I'd not have expected that to work, from that epair bug.
-
mason
I don't see the notion of sub-interfaces in epair(4) which makes me wonder if this is supposed to exist, as a concept.
-
meena
mason: maybe it's un(der)documented
-
mason
Yeah. Just a new idea to me, so the notion of "create an epair, now create another epair with a lexically related name" doesn't make me think tearing down the one would tear down the other, which is what the reporter is observing.
-
mason
I might follow the ticket because I'm curious.
-
mason
added
-
rtprio
i guess when would you just use a bridge instead of an epair?
-
mason
rtprio: They work together.
-
_xor
Netgraph is pretty awesome, but I wish it were documented a bit more from an admin/ops point-of-view.
-
meena
does FreeBSD have an equivalent to Linux' /proc/cmdline? that is, passing parameters from the bootloader to the kernel — context is this pull request:
canonical/cloud-init #2112/files
-
VimDiesel
Title: Standardize kernel commandline disable by holmanb · Pull Request #2112 · canonical/cloud-init · GitHub
-
meena
IIRC it's kenv kernel.boot? or something like that, but i can't find any documentation
-
meena
looks like it's kernel_options
-
ixmpp
do many of you use desktop freebsd?
-
craigger
I do.
-
V_PauAmma_V
Define "many"? (I do as well. My laptop almost never leaves my desktop.)