[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] 4.5 patch: xendomains noise to stderr in rdname()



On Sat, Dec 13, 2014 at 01:34:14AM +0000, Mark Pryor wrote:
> Instead of tracking down which commit involving libxl* which prints all kind 
> of noiseto stderr, I will post a workaround. 

Though I think I am able to guess what log you were seeing, it would be
better in the future if you attach actual log for a bug report.

I will post a patch for this.

Wei.

> 
> If you build, install, and use 4.5 this bug will drive you mad, so here it is:
> -------------------- snip -----------------
> --- a/tools/hotplug/Linux/xendomains.in+++ b/tools/hotplug/Linux/xendomains.in
> @@ -175,7 +175,7 @@ contains_something()
>  # read name from xen config file
>  rdname()
>  {
> -    NM=$($CMD create --quiet --dryrun --defconfig "$1" |
> +    NM=$($CMD create --quiet --dryrun --defconfig "$1" 2>&1 |
>           sed -n 's/^.*(name \(.*\))$/\1/p;s/^.*"name": "\(.*\)",$/\1/p')
>  }
> 
> 

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.