Bug 157993 - Can't execute "hdparm -tT /dev/hda"
Can't execute "hdparm -tT /dev/hda"
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-17 13:43 EDT by sangu
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-20 10:00:06 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)

  None (edit)
Description sangu 2005-05-17 13:43:05 EDT
Description of problem:
$hdparm -tT /dev/hda Password: 
/dev/hda:
could not attach sharedmem buf: Permission denied
could not attach sharedmem buf: Permission denied

in dmesg
[...]
audit(1116351499.016:0): avc:  denied  { read write } for  path=/SYSV00000000
(deleted) dev=tmpfs ino=622608 scontext=root:system_r:fsadm_t
tcontext=root:object_r:tmpfs_t tclass=file
audit(1116351499.016:0): avc:  denied  { read write } for  path=/SYSV00000000
(deleted) dev=tmpfs ino=655376 scontext=root:system_r:fsadm_t
tcontext=root:object_r:tmpfs_t tclass=file


Version-Release number of selected component (if applicable):
selinux-policy-targeted-1.23.16-1

How reproducible:
always

Steps to Reproduce:
1. $hdparm -tT /dev/hda
2.
3.
  
Actual results:


Expected results:


Additional info:
hdparm-5.9-1
Comment 1 Daniel Walsh 2005-05-18 14:02:48 EDT
Fixed in selinux-policy-targeted-1.23.16-4

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