[CentOS] Centos 7 lockup

Thu Aug 21 21:32:08 UTC 2014
Les Mikesell <lesmikesell at gmail.com>

On Thu, Aug 21, 2014 at 4:07 PM, Daniel J Walsh <dwalsh at redhat.com> wrote:
>
> mmap_zero is a fairly dangerous access. It means the object is
> attempting to memeory map
> low memory in the kernel.  Bugs in the kernel have been known to allow
> priv escallation, can be prevented by this check.
>
> http://eparis.livejournal.com/
>
> Talks about the access check.
>
> I usually tell people to avoid these apps, but if you need to run it,

Ocsinventory-agent wants to report the hardware where it runs back to
the central server, including the attached monitor, if any.   I think
that is the source of the access. Is there a better way to do that in
a perl script?

> you can turn the protection off as the alert told you.
>
> setsebool -P mmap_low_allowed 1

Thanks.  This is a package from EPEL.   Can they do something in the
package to make it work without being blocked?

In any case, my real question is whether this could be related to the
system hang.  I don't really see why a failing access in a perl script
would be a real problem unless there is some more serious bug, so it
may not be related at all.  There were several such log messages, so
at least we know the first few weren't fatal.

-- 
   Les Mikesell
      lesmikesell at gmail.com