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

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


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Mark Pryor <tlviewer@xxxxxxxxx>
  • Date: Sat, 13 Dec 2014 01:34:14 +0000 (UTC)
  • Delivery-date: Sat, 13 Dec 2014 01:34:47 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=D0Wwoqg+I5n6ecJmhWfZH52HG54vHgspbOMWPJuAZjHJd7ouK8yPetR6pk6xLqZoQRWKsJ58MsZWf7/+6xwzfFK3oqYWuITBiA/vxa0QBibrGwQ5Xr9aSBCXnJeNOj6T0PAfrnR3rJDbms2Z7CCOH9hdIdkHBJ5QNbKDeexOCyc5PlezJwe6OhPDNCAFqfyXNojboE03NG0+RrqFdFREYYQosLeEl32O9iufxlvn43nF3eTGwSdWjupoh2ceYF+dQ/qdxM01Q8RzhCtskqls2/WUmZnVvkDDPp0Mzz2MUAwej9hBZmBUrQOMiq8ZcjkX45z49iio5G3Ftk39o1QPWQ==;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Instead of tracking down which commit involving libxl* which prints all kind of noise
to stderr, I will post a workaround.

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

 


Rackspace

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