bhyve console question

Dan Mack mack at macktronics.com
Sat Apr 27 21:00:01 UTC 2013


For those of you tinkering with bhyve; quick question.  I've noticed that 
everything I type on the console ends up in /var/log/messages on the 
guest.  This includes all shell activity and login stuff.

Is this expected behaviour ?

When following the standard bhyve recipes on the interwebs, it appears as 
if all console activity is categorized as kernel.debug level messages, for 
example:

root at mcp:~ # tail /var/log/messages
Apr 27 15:50:02 mcp kernel: /
Apr 27 15:50:02 mcp kernel: va
Apr 27 15:50:03 mcp kernel: r/
Apr 27 15:50:03 mcp kernel: l
Apr 27 15:50:03 mcp kernel: o
Apr 27 15:50:03 mcp kernel: g
Apr 27 15:50:04 mcp kernel: /m
Apr 27 15:50:04 mcp kernel: e
Apr 27 15:50:04 mcp kernel: s
Apr 27 15:50:04 mcp kernel: sages

root at mcp:~ # echo 'weird, huh?'
weird, huh?
root at mcp:~ # !tail
tail /var/log/messages
Apr 27 15:50:25 mcp kernel: ,
Apr 27 15:50:25 mcp kernel: h
Apr 27 15:50:26 mcp kernel: u
Apr 27 15:50:26 mcp kernel: h
Apr 27 15:50:26 mcp kernel: ?
Apr 27 15:50:27 mcp kernel: '
Apr 27 15:50:27 mcp kernel:
Apr 27 15:50:29 mcp kernel: !
Apr 27 15:50:30 mcp kernel: ta
Apr 27 15:50:30 mcp kernel: il
root at mcp:~ #





More information about the freebsd-virtualization mailing list