* [gentoo-dev] how can I easily find out which *inetd* system gentoo is using ?
@ 2002-12-08 12:17 Stephan Hermann
2002-12-08 13:26 ` Jörg Sonnenberger
2002-12-08 17:31 ` Gontran Zepeda
0 siblings, 2 replies; 3+ messages in thread
From: Stephan Hermann @ 2002-12-08 12:17 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
how can I easily find out which *inetd* system gentoo is using ?
a "ps -elf|grep inetd " during an emerge is not nice.
after all, we don't have a configuration file for it.
but I think, it's a really serious problem, when you can't find out during an
ebuild which inetd system someone is using.
so, what's the best way, without searching the process list ?
regards,
\sh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE98zhdV8AnusWiV6wRAo/nAJsEmz/gWFXFesv7hyHukFockg89ygCgqN2x
t4nmghUYEMl8DqSbyjaSV/g=
=6Bzb
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] how can I easily find out which *inetd* system gentoo is using ?
2002-12-08 12:17 [gentoo-dev] how can I easily find out which *inetd* system gentoo is using ? Stephan Hermann
@ 2002-12-08 13:26 ` Jörg Sonnenberger
2002-12-08 17:31 ` Gontran Zepeda
1 sibling, 0 replies; 3+ messages in thread
From: Jörg Sonnenberger @ 2002-12-08 13:26 UTC (permalink / raw
To: gentoo-dev
On Sun, 8 Dec 2002 13:17:33 +0100
Stephan Hermann <sh@kde-coder.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hi,
>
> how can I easily find out which *inetd* system gentoo is using ?
>
> a "ps -elf|grep inetd " during an emerge is not nice.
> after all, we don't have a configuration file for it.
> but I think, it's a really serious problem, when you can't find out during an
> ebuild which inetd system someone is using.
>
> so, what's the best way, without searching the process list ?
Depends on what you need this information for. If you want to configure this daemons,
I suggest looking for the init script in /etc/init.d, if you want to know
which are actually used, look for startup scripts under /etc/runlevels, perhaps
only under /etc/runlevels/default, but I would try every runlevel.
- Joerg
>
>
> regards,
>
> \sh
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE98zhdV8AnusWiV6wRAo/nAJsEmz/gWFXFesv7hyHukFockg89ygCgqN2x
> t4nmghUYEMl8DqSbyjaSV/g=
> =6Bzb
> -----END PGP SIGNATURE-----
>
>
> --
> gentoo-dev@gentoo.org mailing list
>
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] how can I easily find out which *inetd* system gentoo is using ?
2002-12-08 12:17 [gentoo-dev] how can I easily find out which *inetd* system gentoo is using ? Stephan Hermann
2002-12-08 13:26 ` Jörg Sonnenberger
@ 2002-12-08 17:31 ` Gontran Zepeda
1 sibling, 0 replies; 3+ messages in thread
From: Gontran Zepeda @ 2002-12-08 17:31 UTC (permalink / raw
To: gentoo-dev
# On 2002-12-08 at 13:17:33 +0100,
# Stephan Hermann (sh@kde-coder.de) wrote:
>
> how can I easily find out which *inetd* system gentoo is using ?
>
> a "ps -elf|grep inetd " during an emerge is not nice.
May I suggest using pgrep? Part of sys-apps/procps, so in the base system.
pgrep inetd &> /dev/null
# check exit status $?
pgrep xinetd &> /dev/null
# check ...
This is only applicable if the internet daemons are running of course.
hth,
Gontran
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-08 17:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-08 12:17 [gentoo-dev] how can I easily find out which *inetd* system gentoo is using ? Stephan Hermann
2002-12-08 13:26 ` Jörg Sonnenberger
2002-12-08 17:31 ` Gontran Zepeda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox