Bug 374431 - selinux prevents terminal output from lvm commands when using rlogin
selinux prevents terminal output from lvm commands when using rlogin
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Daniel Walsh
: 368041 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2007-11-10 04:39 EST by Olle Liljenzin
Modified: 2008-05-21 12:06 EDT (History)
0 users

See Also:
Fixed In Version: RHBA-2008-0465
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 12:06:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
selinux messages (5.45 KB, text/plain)
2007-11-10 04:39 EST, Olle Liljenzin
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0465 normal SHIPPED_LIVE selinux-policy bug fix update 2008-05-20 10:36:31 EDT

  None (edit)
Description Olle Liljenzin 2007-11-10 04:39:21 EST
Description of problem:
No output is printed to the terminal from lvm commands (lvdisplay, vgdisplay etc.)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. enable rlogin
2. run 'rlogin localhost'
3. run '/usr/sbin/lvm help'
Actual results:
no output

Expected results:
help text should be displayed
Comment 1 Olle Liljenzin 2007-11-10 04:39:21 EST
Created attachment 253861 [details]
selinux messages
Comment 2 Daniel Walsh 2007-11-10 07:17:53 EST
You can probably get around this by executing 

/usr/sbin/lvm help | cat
Comment 3 Olle Liljenzin 2007-11-10 08:11:31 EST
Yes, I get the output if I pipe stderr.

But 'lvm help' was just a simplified example. Some commands are interactive,
e.g. lvremove, and I also suspect stdin being detached by selinux.
Comment 4 Daniel Walsh 2007-11-13 15:37:57 EST
Please update to the U1 policy.  Preview is currently available on 

Comment 5 Olle Liljenzin 2007-11-14 03:29:55 EST
The link above is broken...
Comment 6 Daniel Walsh 2007-11-14 10:11:27 EST

Comment 7 Olle Liljenzin 2007-11-15 05:32:28 EST
The packages are the same as we get from rhn?

Unfortunately they don't fix this bug.
Comment 8 Milan Broz 2008-01-04 07:00:01 EST
*** Bug 368041 has been marked as a duplicate of this bug. ***
Comment 14 errata-xmlrpc 2008-05-21 12:06:04 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.