From: Roy Marples <uberlord@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Daemon users that need an actual home directory
Date: Tue, 18 Oct 2005 21:52:54 +0100 [thread overview]
Message-ID: <1129668774.10342.4.camel@uberpc.ubernet> (raw)
In-Reply-To: <435553FB.6080604@gentoo.org>
On Tue, 2005-10-18 at 22:58 +0300, Petteri Räty wrote:
> I am trying to solve http://bugs.gentoo.org/show_bug.cgi?id=109079. I
> asked on #gentoo-dev and ciaramn said that we do not have a policy on
> where to make a home directory. So I would now like the input of other
> developers on howto solve this bug.
Assuming that the tomcat user is in /etc/passwd (or available via
getent) then you can use this if you inherit eutils.
local homedir=$( egethome tomcat )
Now you have the homedir and if it's /dev/null you can either warn about
it in the ebuild or abort.
As to where to make homedirs - well, you can't go wrong with /var/lib -
postgres, openldap and others have their "homes" there (where they store
data).
AFAIK ciaramn is right and we don't have a set policy. But then I don't
think we can have a fixed policy as there would be many exceptions.
Roy
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2005-10-18 20:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-18 19:58 [gentoo-dev] Daemon users that need an actual home directory Petteri Räty
2005-10-18 20:52 ` Roy Marples [this message]
2005-10-18 20:54 ` Andrej Kacian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1129668774.10342.4.camel@uberpc.ubernet \
--to=uberlord@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox