[Pkg-xen-devel] Bug#989656: Bug#989656: Bug#989656: Xen misusing syslog

Andy Smith andy at strugglers.net
Thu Aug 5 23:20:19 BST 2021


Hello,

On Fri, Aug 06, 2021 at 12:04:07AM +0200, Hans van Kranenburg wrote:
> On 6/9/21 5:04 PM, Phillip Susi wrote:
> > My syslog has entries that look like this:
> > 
> > Jun 09 10:54:26 hyper1 root[621]: /etc/xen/scripts/block: add
> > XENBUS_PATH=backend/vbd/1/768
> > 
> > The third field is supposed to be the program name, which I would expect
> > to either be xen or xl or something, but instead it appears to be
> > passing $USER.
> 
> Yeah, that's a bit weird yes.

I think it's a consequence of using logger(1) for logging. If you
don't use --tag then:

       -t, --tag tag
                     Mark every line to be logged with the specified
                     tag.  The default tag is the name of the user
                     logged in on the terminal (or a user name based
                     on effective user ID).

But yeah, one for upstream.

Cheers,
Andy



More information about the Pkg-xen-devel mailing list