Bug 374431 - selinux prevents terminal output from lvm commands when using rlogin
selinux prevents terminal output from lvm commands when using rlogin
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
5.0
All Linux
low Severity medium
: rc
: ---
Assigned To: Daniel Walsh
:
: 368041 (view as bug list)
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2008-05-21 12:06:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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

  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):
selinux-policy-2.4.6-30.el5

How reproducible:
always

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 

http://people.redhat.com/dwalsh/RHEL5
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
http://people.redhat.com/dwalsh/SELinux/RHEL5

Sorry
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.

http://rhn.redhat.com/errata/RHBA-2008-0465.html

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