[gentoo-dev] Sandbox violation?

2011-01-11 Thread Ajai Khattri


--- ACCESS VIOLATION SUMMARY ---
LOG FILE /var/log/sandbox/sandbox-24173.log

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: /usr/share/snmp/mibs/.index
A: /usr/share/snmp/mibs/.index
R: /usr/share/snmp/mibs/.index
C: /usr/bin/php-cgi -v -d session.save_path=/tmp


OK, this is a masked ebuild but what does this actually mean and how can 
we fix it?



--
Ajai Khattri
Systems Admin | Web / Mobile Developer



Re: [gentoo-dev] Re: Some support for Sunrise Overlay :-)

2008-11-28 Thread Ajai Khattri

On Mon, 24 Nov 2008, Tiziano Müller wrote:


Well, sunrise is not about uploading a package just somewhere but about
having it reviewed and corrected such that it follows basic guidelines.
Since this process requires bi-directional communication, IRC is a good
(low-latency) way to do that.


Some people simply dont like IRC. Or are unable to use IRC because of 
corporate firewalls...




--
A

Re: [gentoo-dev] Available hardware

2008-01-16 Thread A. Khattri

On Wed, 16 Jan 2008, Jeroen Roovers wrote:


Shipping is horrendous
across the Pond, even to the UK, let alone the hop across the Canal. :\


Given the continuing slide of the US dollar, actually its worse for US 
residents wanting something shipped *to* them from the UK...



--
A
--
gentoo-dev@lists.gentoo.org mailing list



[gentoo-dev] ACCESS DENIED during emerge

2006-04-28 Thread A. Khattri

In writing and testing a new ebuild, I ran emerge as root and got ACCESS
DENIED errors when it tried writing two config files into /etc.

Do I need to do something special for config files in an ebuild?


-- 
Aj
-- 
gentoo-dev@gentoo.org mailing list



[gentoo-dev] default RDEPEND?

2006-04-28 Thread A. Khattri

Does it make sense to make the value of RDEPEND in an ebuild depend on USE
flags? Example: Im writing an ebuild that use either cvs or svn at
runtime. I want to allow users to choose which one they want but make cvs
the default. What's the best practice for scripting this in an ebuild?


-- 
Aj
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] ACCESS DENIED during emerge

2006-04-28 Thread A. Khattri
On Fri, 28 Apr 2006, Chris White wrote:

 On Friday 28 April 2006 12:41 pm, A. Khattri wrote:
  In writing and testing a new ebuild, I ran emerge as root and got ACCESS
  DENIED errors when it tried writing two config files into /etc.
 
  Do I need to do something special for config files in an ebuild?

 Don't copy files to the live filesystem, instead do:

 cp whatever.conf whatever2.conf ${D}/etc/

 or some people like:

 insinto /etc
 doins whatever.conf whatever2.conf

Ah, I see now that the actual make install is trying to do this.

I see there is a configure flag for this:

  --enable-conf-install   enable install of sample .conf files in
  sysconfdir (default: yes)


Allow me to run this by you:

1. So I need to set --enable-conf-install=no which also implies
   I need to override src_compile

2. And then after the build, override pkg_postinst to copy the sample
   config files into /etc


Does this sound right or is there a better (preferred?) way?



-- 
Aj
-- 
gentoo-dev@gentoo.org mailing list



[gentoo-dev] Which license?

2006-04-27 Thread A. Khattri


Im working on an ebuild for a package and Im not sure what license to use.
The package is Copyright Company X but has this underneath:


## This software may be freely copied, modified and redistributed
## without fee for non-commerical purposes provided that this license
## remains intact and unmodified with any distribution.
##
## There is no warranty or other guarantee of fitness of this software.
## It is provided solely as is.  The author(s) disclaim(s) all
## responsibility and liability with respect to this software's usage
## or its effect upon hardware, computer systems, other software, or
## anything else.
##


Last time I looked, there were some 800 or so files in
/usr/portage/license/ - so which one would I use?



-- 
Aj
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] RFC: emerge snapshots

2006-01-24 Thread A. Khattri
On Tue, 24 Jan 2006, Wernfried Haas wrote:

 - adding buildpkg to your FEATURES builds binary packages, which makes
   it faster to revert to older versions if the new one cause
   problems.

You could also use quickpkg, i.e. write a script that interates through
world and runs quickpkg on each atom. Quickpkg will drop a binary package
in PKGDIR (which is set in /etc/make.conf). If you make a backup of PKGDIR
and your world file, you have a crude packages backup which can be used
to rebuild the box if need be.


-- 

-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] vpopmail and company

2006-01-24 Thread A. Khattri
On Tue, 24 Jan 2006, Darryl Wagoner wrote:

 I just did an emerge --update world which upgraded vpopmail.  This update
 was bad news.  It switched vpopmail over to mysql based auths and storage of
 email which I didn't have mysql or vpopmail setup for.  This gave me a lot
 of grief.  Just and FYI.

Thats why we have --pretend

;-)


-- 

-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] RFC: emerge snapshots

2006-01-24 Thread A. Khattri
On Tue, 24 Jan 2006, Francesco Riosa wrote:

 Better create the list from /var/db/pkg/* , world file only own the file
 explicitly merged, leaving out any dependencies (fex libraries).

Yes you're right - that is what I did last time I played with this.


-- 

-- 
gentoo-dev@gentoo.org mailing list