Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77501 - Sandbox Access Violation when emerging scotty 2.1.11
Summary: Sandbox Access Violation when emerging scotty 2.1.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: REMOVED
Keywords: PMASKED
: 97318 123692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-11 03:55 UTC by Tor Houghton
Modified: 2006-10-29 09:48 UTC (History)
9 users (show)

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


Attachments
scotty-2.1.11-Makefile.patch (scotty-2.1.11-Makefile.patch,2.29 KB, patch)
2005-03-05 15:50 UTC, Carlos Silva (RETIRED)
Details | Diff
Makefile patch removes the sandbox violation. (scotty-2.1.11-Makefile.patch,2.94 KB, patch)
2005-04-02 11:18 UTC, Stefan Sperling
Details | Diff
patch to the ebuild (scotty-2.1.11.ebuild.patch,368 bytes, patch)
2005-04-02 11:20 UTC, Stefan Sperling
Details | Diff
Adds ntping/straps to the install, instructs on adding condensed mibs (scotty-2.1.11-r1.ebuild,1.46 KB, text/plain)
2005-04-09 23:30 UTC, Mike Green
Details
Fixes man page paths, removes sandbox violation (scotty-2.1.11-Makefile.patch,2.36 KB, patch)
2005-04-09 23:32 UTC, Mike Green
Details | Diff
scotty-2.1.11-Makefile.patch (scotty-2.1.11-Makefile.patch,1.79 KB, patch)
2006-08-05 14:13 UTC, Sohail
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Houghton 2005-01-11 03:55:25 UTC
The emerge reports an access violation when emerging scotty 2.1.11 -- it fails when trying to 'mkdir /usr/lib/tnm2.1.11'.

Reproducible: Always
Steps to Reproduce:
1. emerge -u scotty
2.
3.

Actual Results:  
See above.

Expected Results:  
It should install.
Comment 1 Carlos Silva (RETIRED) gentoo-dev 2005-03-05 15:50:35 UTC
Created attachment 52756 [details, diff]
scotty-2.1.11-Makefile.patch

This if is a substitution of the one that already exists.
Comment 2 Carlos Silva (RETIRED) gentoo-dev 2005-03-05 15:51:34 UTC
Can you please download this file to /usr/portage/app-admin/scotty/files/
and reemerge again please?
Comment 3 Stefan Sperling 2005-04-02 11:18:20 UTC
Created attachment 55122 [details, diff]
Makefile patch removes the sandbox violation.

See the patch itself for an explanation of the problem.
Comment 4 Stefan Sperling 2005-04-02 11:20:19 UTC
Created attachment 55123 [details, diff]
patch to the ebuild

This patch adds an einfo informing the user
how condensed mibs can be manually generated.
This cannot be done automatically due to sandbox violations.
Comment 5 Mike Green 2005-04-09 21:28:02 UTC
Is this correct?

 # Top-level directory for manual entries:
-MAN_INSTALL_DIR =	$(prefix)/man
+MAN_INSTALL_DIR =	$(DESTDIR)$(prefix)/man
 
 # Directory in which to install the manual entries:
-MAN1_INSTALL_DIR =	$(MAN_INSTALL_DIR)/man1
+MAN1_INSTALL_DIR =	$(DESTDIR)$(MAN_INSTALL_DIR)/man1

Won't that install the man pages into ${D}/usr/share/man/usr/share/man/man1?  Ditto with man8 and mann?
Comment 6 Mike Green 2005-04-09 23:30:30 UTC
Created attachment 55833 [details]
Adds ntping/straps to the install, instructs on adding condensed mibs

This ebuild adds make DESTDIR=${D} sintall to src_install() so that ntping and
straps are installed (suid).  Adds correct instructions on how to generate
condensed mibs and manually remove them.
Comment 7 Mike Green 2005-04-09 23:32:20 UTC
Created attachment 55834 [details, diff]
Fixes man page paths, removes sandbox violation

The sandbox violation patch submitted elsewhere works great, the original patch
and sandbox violation patches both had incorrect paths set for the man
directories.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-06-28 10:04:11 UTC
*** Bug 97318 has been marked as a duplicate of this bug. ***
Comment 9 David Bruha 2005-12-27 10:16:00 UTC
Strange - although the patch from here is working ok in the portage there is still the incorrect version. Why is it not commited?
Comment 10 Patrizio Bassi 2006-02-18 02:43:33 UTC
same issue here, please commit to portage
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-02-22 02:43:14 UTC
*** Bug 123692 has been marked as a duplicate of this bug. ***
Comment 12 Florian E 2006-06-08 06:44:47 UTC
(In reply to comment #10)
> same issue here, please commit to portage
> 

still not commited, got a "ACCESS VIOLATION"
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-06-08 09:36:40 UTC
(In reply to comment #12)
> still not commited, got a "ACCESS VIOLATION"

Yeah, that's why this bug is still open. And, as you might or might not have noticed, it's assigned to maintainer-needed, a.k.a. this ebuild lacks a maintainer now.

@QA: Unless someone is willing to fix this, it's best punted from portage. Been broken for almost 1 1/2 year now, upstream homepage is dead as well.

Comment 14 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-06-21 20:31:17 UTC
I spent a bit of time on this with some aid from trelane who was a big help.  The determination is that this pkg is dead.

The sandbox violation is not fixable, and we could rewrite the build system to install differently, or attempt something in src_config(), but neither of us are interested in doing that.
Comment 15 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-07-17 19:51:02 UTC
I spoke to elric about this package but haven't heard back.

I've attempted to CC him on this bug as he was interested in fixing the build system.  The package will survive for 4 more days.
Comment 16 Sohail 2006-08-05 14:13:26 UTC
Created attachment 93544 [details, diff]
scotty-2.1.11-Makefile.patch

First bug busted.
Comment 17 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-05 14:38:27 UTC
(In reply to comment #16)
> Created an attachment (id=93544) [edit]
> scotty-2.1.11-Makefile.patch
> 
> First bug busted. 
> 

That isn't the problem, the problem is after compilation ./scotty is invoked to process mibs, which scotty attempts to do on the livefs, which is broken.
Comment 18 SpanKY gentoo-dev 2006-08-05 14:47:59 UTC
he is correct ... there's two bugs here
Comment 19 Sohail 2006-08-06 01:53:55 UTC
(In reply to comment #17)
> (In reply to comment #16)
> > Created an attachment (id=93544) [edit]
> > scotty-2.1.11-Makefile.patch
> > 
> > First bug busted. 
> > 
> 
> That isn't the problem, the problem is after compilation ./scotty is invoked to
> process mibs, which scotty attempts to do on the livefs, which is broken.
> 

Okhey, picked up this bug from the bugday page, there the summary is....

   Sandbox Access Violation when emerging scotty 2.1.11

never did the ./scotty to find out about the other problem.


Comment 20 Christian Heim (RETIRED) gentoo-dev 2006-08-19 01:40:20 UTC
The app-admin/scotty package has been removed.