- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- hpasm + RHEL4 with SELinux produces audit errors
ProLiant Servers (ML,DL,SL)
1754014
Members
3424
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2005 04:38 AM
тАО03-01-2005 04:38 AM
hpasm + RHEL4 with SELinux produces audit errors
I'm trying to get RHEL4 ready to Kickstart, and I find that in a pretty vanilla installation, I still get some SELinux errors. Specifically, what I'm doing is:
rpm -Uvh net-snmp*
export CMAFDTNSILENT=yes
export CMAAGENTEXCLUDESTR="cmawebd cmaperfd cmascsid"
export CMALOCALHOSTROCOMMSTR=public
export CMASILENT=yes
rpm -Uvh hpasm-7.2.1-313.i386.rpm
The hpasm installation says that it's messing with SELinux, but apparently it's missing something, because while it's installing, I get these errors on the console:
audit(1109697409.099:0): avc: denied { search } for pid=25293 exe=/usr/sbin/snmpd scontext=root:system_r:snmpd_t tcontext=system_u:object_r:sysctl_dev_t tclass=dir
ProLiant System Health Monitor loading
audit(1109697413.919:0): avc: denied { read write } for pid=26242 exe=/usr/sbin/snmpd path=socket:[151024] dev=sockfs ino=151024 scontext=root:system_r:snmpd_t tcontext=user_u:system_r:unconfined_t tclass=unix_stream_socket
audit(1109697414.196:0): avc: denied { search } for pid=26264 exe=/usr/sbin/snmpd scontext=root:system_r:snmpd_t tcontext=system_u:object_r:sysctl_dev_t tclass=dir
I tried looking for mention of SELinux in the docs, but this didn't turn anything up:
rpm -ql hpasm|xargs fgrep -il selinux
rpm -Uvh net-snmp*
export CMAFDTNSILENT=yes
export CMAAGENTEXCLUDESTR="cmawebd cmaperfd cmascsid"
export CMALOCALHOSTROCOMMSTR=public
export CMASILENT=yes
rpm -Uvh hpasm-7.2.1-313.i386.rpm
The hpasm installation says that it's messing with SELinux, but apparently it's missing something, because while it's installing, I get these errors on the console:
audit(1109697409.099:0): avc: denied { search } for pid=25293 exe=/usr/sbin/snmpd scontext=root:system_r:snmpd_t tcontext=system_u:object_r:sysctl_dev_t tclass=dir
ProLiant System Health Monitor loading
audit(1109697413.919:0): avc: denied { read write } for pid=26242 exe=/usr/sbin/snmpd path=socket:[151024] dev=sockfs ino=151024 scontext=root:system_r:snmpd_t tcontext=user_u:system_r:unconfined_t tclass=unix_stream_socket
audit(1109697414.196:0): avc: denied { search } for pid=26264 exe=/usr/sbin/snmpd scontext=root:system_r:snmpd_t tcontext=system_u:object_r:sysctl_dev_t tclass=dir
I tried looking for mention of SELinux in the docs, but this didn't turn anything up:
rpm -ql hpasm|xargs fgrep -il selinux
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2005 04:57 AM
тАО03-01-2005 04:57 AM
Re: hpasm + RHEL4 with SELinux produces audit errors
There's also an error specific to cmanic. This one, though, I can figure out:
audit(1109699409.193:0): avc: denied { search } for pid=30216 exe=/sbin/syslogd name=spool dev=cciss/c0d0p2 ino=4276259 scontext=root:system_r:syslogd_t tcontext=system_u:object_r:var_spool_t tclass=dir
syslogd: /var/spool/compaq/nic/messages_fifo: Permission denied
This comes from the change that cmanic-7.2.1-5 makes to /etc/syslog.conf.
audit(1109699409.193:0): avc: denied { search } for pid=30216 exe=/sbin/syslogd name=spool dev=cciss/c0d0p2 ino=4276259 scontext=root:system_r:syslogd_t tcontext=system_u:object_r:var_spool_t tclass=dir
syslogd: /var/spool/compaq/nic/messages_fifo: Permission denied
This comes from the change that cmanic-7.2.1-5 makes to /etc/syslog.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2005 09:23 PM
тАО03-23-2005 09:23 PM
Re: hpasm + RHEL4 with SELinux produces audit errors
Simply disable SELinux or set it only to warning. SELinux enforced shouldn't be used for external binary stuff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2005 01:06 PM
тАО03-24-2005 01:06 PM
Re: hpasm + RHEL4 with SELinux produces audit errors
But I don't want to disable SELinux. I think it's a good idea.
Besides which, RHEL 4 turns it on by default, so I think Compaq's management software needs to have a better solution than "turn it off".
Besides which, RHEL 4 turns it on by default, so I think Compaq's management software needs to have a better solution than "turn it off".
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP