Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531980 - sys-infiniband/opensm-3.3.17: sandbox access violation: /var/lib/rpm/.dbenv.lock
Summary: sys-infiniband/opensm-3.3.17: sandbox access violation: /var/lib/rpm/.dbenv.lock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 533676
  Show dependency tree
 
Reported: 2014-12-08 12:38 UTC by Andrew Savchenko
Modified: 2015-02-11 04:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,8.13 KB, text/x-log)
2014-12-08 12:39 UTC, Andrew Savchenko
Details
environment (environment,92.07 KB, text/plain)
2014-12-08 12:40 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,8.94 KB, text/plain)
2014-12-08 12:40 UTC, Andrew Savchenko
Details
opensm-3.3.17-norpm.patch (opensm-3.3.17-norpm.patch,1.58 KB, patch)
2014-12-27 00:15 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2014-12-08 12:38:20 UTC
It looks like it shouldn't execute rpm in the first place. It's not even in deps.

>>> Source configured.
 ^[[31;01m*^[[0m --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 ^[[31;01m*^[[0m LOG FILE: "/var/log/sandbox/sandbox-8627.log"
 ^[[31;01m*^[[0m
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /var/lib/rpm/.dbenv.lock
A: /var/lib/rpm/.dbenv.lock
R: /var/lib/rpm/.dbenv.lock
C: rpm -q sles-release

F: open_wr
S: deny
P: /var/lib/rpm/.dbenv.lock
A: /var/lib/rpm/.dbenv.lock
R: /var/lib/rpm/.dbenv.lock
C: rpm -q openSUSE-release
 ^[[31;01m*^[[0m --------------------------------------------------------------------------------
Comment 1 Andrew Savchenko gentoo-dev 2014-12-08 12:39:32 UTC
Created attachment 391212 [details]
build.log
Comment 2 Andrew Savchenko gentoo-dev 2014-12-08 12:40:05 UTC
Created attachment 391216 [details]
environment
Comment 3 Andrew Savchenko gentoo-dev 2014-12-08 12:40:47 UTC
Created attachment 391218 [details]
emerge --info
Comment 4 Andrew Savchenko gentoo-dev 2014-12-27 00:15:35 UTC
Created attachment 392474 [details, diff]
opensm-3.3.17-norpm.patch

This problem appears only when app-arch/rpm is installed: configure tries to run rpm.

Proposed patch removes rpm calls and spec file generation. We don't need them on Gentoo.

Works fine here. Cluster team, please review.
Comment 5 Andrew Savchenko gentoo-dev 2015-01-10 06:32:09 UTC
Hello,

I'm going to commit this patch it two weeks if there are no objections.
Comment 6 Andrew Savchenko gentoo-dev 2015-02-11 04:46:54 UTC
Fixed in 3.3.17-r1.