Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10182 - Creating ebuilds for services that run out of /home
Summary: Creating ebuilds for services that run out of /home
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Developers HOWTO (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-04 02:38 UTC by Dylan Carlson (RETIRED)
Modified: 2002-11-05 20:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dylan Carlson (RETIRED) gentoo-dev 2002-11-04 02:38:36 UTC
Greetings, 
 
I have been writing an ebuild in vain for several hours, an application that 
should run as a unique user out of cron.  Thus, trying to figure out how to 
get the ebuild to: 
 
1.  properly create a user with adduser (/bin/false) 
2.  get this ebuild to move application files into the home directory 
3.  install a couple CGI's related to it in the Apache /home/httpd/cgi-bin/ 
directory. 
4.  manipulate that user's crontab with some default entries.   
   
On all of these actions, I get sandbox access violations.     
  
The docs don't cover this, and what I've been able to Google, it seems like it 
can't be done.  Am I missing something? 
 
Cheers,
Comment 1 SpanKY gentoo-dev 2002-11-04 08:47:54 UTC
1. do it pkg_postinst or config 
2. insinto /home/ 
   newins mylittlebinary binforyou 
3. insinto /home/httpd/htdocs 
   doins scripts/*.cgi 
4. see #1 
 
did you try reading other ebuilds ?  did you try `man 5 ebuild` ? 
Comment 2 SpanKY gentoo-dev 2002-11-04 08:49:13 UTC
you might want to grab the manpages here ... 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-src/portage/man/ 
i've done a lot of updating and such with them since the last portage release 
Comment 3 Dylan Carlson (RETIRED) gentoo-dev 2002-11-04 19:31:13 UTC
OK, will follow up on that.  You can close this out for now (I'm out of time 
for the week to do much with that ebuild).  If by chance I still have problems 
afterward, I'll file a new bug with an attached ebuild for assistance. 
 
Thanks 
Comment 4 Stoyan Zhekov (RETIRED) gentoo-dev 2002-11-05 20:09:51 UTC
So they will be a new bug and this is already resolved.