Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 718206 Details for
Bug 719611
virt-what should work as non-root
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
This patch directs fail() output to stderr
0001-Direct-output-from-fail-to-stderr.patch (text/plain), 1.03 KB, created by
Todd Zullinger
on 2013-03-29 23:10:24 UTC
(
hide
)
Description:
This patch directs fail() output to stderr
Filename:
MIME Type:
Creator:
Todd Zullinger
Created:
2013-03-29 23:10:24 UTC
Size:
1.03 KB
patch
obsolete
>From e96373b176198f75a34e3ad7324af9d8601cbdd7 Mon Sep 17 00:00:00 2001 >From: Todd Zullinger <tmz@pobox.com> >Date: Fri, 29 Mar 2013 19:03:13 -0400 >Subject: [PATCH] Direct output from fail() to stderr >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This allows callers to more easily differentiate valid output from >errors. A recent example is facter. When calling virt-what for its >virtual fact, it gets 'virt-what: this script must be run as root' as >the fact value when run as non-root: > >$ facter | grep ^virtual >virtual => virt-what: this script must be run as root > >This is mildly related to RHBZ #719611¹. > >¹ https://bugzilla.redhat.com/show_bug.cgi?id=719611 >--- > virt-what.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/virt-what.in b/virt-what.in >index 21488e7..297956d 100644 >--- a/virt-what.in >+++ b/virt-what.in >@@ -34,7 +34,7 @@ skip_qemu_kvm=false > VERSION="@VERSION@" > > function fail { >- echo "virt-what: $1" >+ echo "virt-what: $1" >&2 > exit 1 > } > >-- >1.8.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 719611
: 718206