RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1190233 - Spams "warning: Failed to read auxiliary vector, /proc not mounted" messages
Summary: Spams "warning: Failed to read auxiliary vector, /proc not mounted" messages
Keywords:
Status: CLOSED DUPLICATE of bug 1119068
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rpm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florian Festi
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-06 17:56 UTC by Enrico Scholz
Modified: 2015-07-31 13:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-16 16:05:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2015-02-06 17:56:30 UTC
Description of problem:

rpmlib tries to read /proc/self/auxv when using most of its functions and gives out a

| warning: Failed to read auxiliary vector, /proc not mounted?

message on failures.  Unfortunately, this is triggered in use cases like

----
#include <unistd.h>
#include <rpm/rpmlib.h>

int main(void)
{
	setreuid(99, 99);
	rpmReadConfigFiles(NULL, NULL);
}
----
| open("/proc/self/auxv", O_RDONLY)       = -1 EACCES (Permission denied)
----

because 'auxv' is inaccessible for group + world and its ownership is not changed by the 'setreuid()' call.


This happens e.g. in kojihub servers which are run within apache httpd server which drops perms and loads rpmlib then.



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

rpm-4.11.1-18.el7_0.x86_64


How reproducible:

100%

Comment 2 Patrick Hurrelmann 2015-02-19 08:30:43 UTC
The same behaviour can be observed by using spacewalk 2.3 (nightly) and spacewalk-proxy 2.3 (nightly) on RHEL 7.x.
Apache error logs are spammed with the message "warning: Failed to read auxiliary vector, /proc not mounted?"

Comment 3 Ben Woodard 2015-02-26 23:38:53 UTC
LLNL is also experiencing this bug. They are fine with having this BZ open. Adding them to the cc list for tracking purposes.

Comment 4 Florian Festi 2015-03-16 16:05:17 UTC

*** This bug has been marked as a duplicate of bug 1119068 ***

Comment 5 john.haxby@oracle.com 2015-07-31 13:43:07 UTC
This has been marked as duplicate of a bug that is private.


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