public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Daemon users that need an actual home directory
@ 2005-10-18 19:58 Petteri Räty
  2005-10-18 20:52 ` Roy Marples
  2005-10-18 20:54 ` Andrej Kacian
  0 siblings, 2 replies; 3+ messages in thread
From: Petteri Räty @ 2005-10-18 19:58 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

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.

Regards,
Petteri Räty (Betelgeuse)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Daemon users that need an actual home directory
  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
  2005-10-18 20:54 ` Andrej Kacian
  1 sibling, 0 replies; 3+ messages in thread
From: Roy Marples @ 2005-10-18 20:52 UTC (permalink / raw
  To: gentoo-dev

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Daemon users that need an actual home directory
  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
@ 2005-10-18 20:54 ` Andrej Kacian
  1 sibling, 0 replies; 3+ messages in thread
From: Andrej Kacian @ 2005-10-18 20:54 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

On Tue, 18 Oct 2005 22:58:51 +0300
Petteri Räty <betelgeuse@gentoo.org> 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.

I recently had a /dev/null homedir problem for media-sound/mpd{,-svn}
package[1]. Clearly, user mpd needs a non-null homedir. As for other daemon
users, I guess it should be handled on a per-user basis - some daemon users
most likely don't need the homedir, but need to have something specified
in /etc/passwd, thus /dev/null.

1. https://bugs.gentoo.org/show_bug.cgi?id=101662

Kind regards,
-- 
Andrej "Ticho" Kacian <ticho at gentoo dot org>
Gentoo Linux Developer - net-mail, antivirus, sound, x86

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-18 20:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-10-18 20:54 ` Andrej Kacian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox