Mailing List Archive

qmail* UID's not resolving?
Greetings! This is a seemingly small problem, yet it bothers me. I just
got through completely reinstalling my operating system (Linux) on my
machine, and I set up qmail exactly as it was set up before. (At least, I
*think* I did...) However, I've noticed that when the processes are
running, they show up like this:

#7992 708 0.0 0.2 840 292 ? S 17:18 0:03 splogger qmail
#7994 711 0.0 0.1 832 208 ? S 17:18 0:01 qmail-clean
#7995 710 0.0 0.1 836 228 ? S 17:18 0:00 qmail-rspawn
#7996 707 0.0 0.2 884 272 ? S 17:18 0:24 qmail-send
root 709 0.0 0.1 836 216 ? S 17:18 0:04 qmail-lspawn

I'm trying to figure out why the usernames are coming up as number instead
of the names. I ahve the following entries in /etc/passwd for the qmail
users:

alias:*:7790:2108::/var/qmail/alias:/bin/true
qmaild:*:7791:2108::/var/qmail:/bin/true
qmaill:*:7792:2108::/var/qmail:/bin/true
qmailp:*:7793:2108::/var/qmail:/bin/true
qmailq:*:7794:2107::/var/qmail:/bin/true
qmailr:*:7795:2107::/var/qmail:/bin/true
qmails:*:7796:2107::/var/qmail:/bin/true

This is qmail 0.95, by the way. Any ideas what's going on here?

Thanks in advance...

**********************************************************************
* Bryce Newall * IRC: Data * Email: data@dal.net *
* WWW: http://voyager.abac.com/data * IRC Admin, voyager.dal.net *
* --== Try DALnet! Server irc.dal.net, port 7000 ==-- *
* "Stop smirking, Number 1." -- J.L. Picard *
* "I'm a doctor, not a doorstop!" -- EMH Program, ST:FC *
**********************************************************************
Re: qmail* UID's not resolving? [ In reply to ]
>*think* I did...) However, I've noticed that when the processes are
>running, they show up like this:
>
>#7992 708 0.0 0.2 840 292 ? S 17:18 0:03 splogger qmail
>#7994 711 0.0 0.1 832 208 ? S 17:18 0:01 qmail-clean
>#7995 710 0.0 0.1 836 228 ? S 17:18 0:00 qmail-rspawn
>#7996 707 0.0 0.2 884 272 ? S 17:18 0:24 qmail-send
>root 709 0.0 0.1 836 216 ? S 17:18 0:04 qmail-lspawn
>
>I'm trying to figure out why the usernames are coming up as number instead
>of the names. I ahve the following entries in /etc/passwd for the qmail
>users:
>
>alias:*:7790:2108::/var/qmail/alias:/bin/true
>qmaild:*:7791:2108::/var/qmail:/bin/true
>qmaill:*:7792:2108::/var/qmail:/bin/true
>qmailp:*:7793:2108::/var/qmail:/bin/true
>qmailq:*:7794:2107::/var/qmail:/bin/true
>qmailr:*:7795:2107::/var/qmail:/bin/true
>qmails:*:7796:2107::/var/qmail:/bin/true
>
>This is qmail 0.95, by the way. Any ideas what's going on here?


The good news is that qmail is running with the correct UIDs. The bad news
is that this is probably a Linux problem more than anything else. Does this
only occur for qmail ids or does it occur for any new ids you add?


Regards.
Re: qmail* UID's not resolving? [ In reply to ]
> >*think* I did...) However, I've noticed that when the processes are
> >running, they show up like this:
> >
> >#7992 708 0.0 0.2 840 292 ? S 17:18 0:03 splogger qmail
> >#7994 711 0.0 0.1 832 208 ? S 17:18 0:01 qmail-clean
> >#7995 710 0.0 0.1 836 228 ? S 17:18 0:00 qmail-rspawn
> >#7996 707 0.0 0.2 884 272 ? S 17:18 0:24 qmail-send
> >root 709 0.0 0.1 836 216 ? S 17:18 0:04 qmail-lspawn
> >
> >I'm trying to figure out why the usernames are coming up as number instead
> >of the names. I ahve the following entries in /etc/passwd for the qmail
> >users:
> >
> >alias:*:7790:2108::/var/qmail/alias:/bin/true
> >qmaild:*:7791:2108::/var/qmail:/bin/true
> >qmaill:*:7792:2108::/var/qmail:/bin/true
> >qmailp:*:7793:2108::/var/qmail:/bin/true
> >qmailq:*:7794:2107::/var/qmail:/bin/true
> >qmailr:*:7795:2107::/var/qmail:/bin/true
> >qmails:*:7796:2107::/var/qmail:/bin/true
> >
> >This is qmail 0.95, by the way. Any ideas what's going on here?
>
>
> The good news is that qmail is running with the correct UIDs. The bad news
> is that this is probably a Linux problem more than anything else. Does this
> only occur for qmail ids or does it occur for any new ids you add?
>
>
> Regards.
>
>

It's problem with your instalation (it's not a Linux problem).
I'm using qmail-1.0 with linux without any problems.

Ramos.

--------------------------------------------------------------------------
qmaill 9111 0.0 0.4 812 148 ? S Feb 28 0:00 splogger qmail
qmailq 9114 0.0 0.1 804 52 ? S Feb 28 0:00 qmail-clean
qmailr 9113 0.0 0.0 808 0 ? SW Feb 28 0:00 qmail-rspawn
qmails 9109 0.0 0.3 848 116 ? S Feb 28 0:10 qmail-send

--
---
J. RAMOS Goncalves | E-mail: J.R.Goncalves@reading.ac.uk
Department of Physics - University of Reading - England - U.K.
Re: qmail* UID's not resolving? [ In reply to ]
On Sun, 2 Mar 1997, Bryce Newall wrote:

> Greetings! This is a seemingly small problem, yet it bothers me. I just
> got through completely reinstalling my operating system (Linux) on my
> machine, and I set up qmail exactly as it was set up before. (At least, I
> *think* I did...) However, I've noticed that when the processes are
> running, they show up like this:
>
> #7992 708 0.0 0.2 840 292 ? S 17:18 0:03 splogger qmail
> #7994 711 0.0 0.1 832 208 ? S 17:18 0:01 qmail-clean
> #7995 710 0.0 0.1 836 228 ? S 17:18 0:00 qmail-rspawn
> #7996 707 0.0 0.2 884 272 ? S 17:18 0:24 qmail-send
> root 709 0.0 0.1 836 216 ? S 17:18 0:04 qmail-lspawn
>
> I'm trying to figure out why the usernames are coming up as number instead
> of the names. I ahve the following entries in /etc/passwd for the qmail
> users:
>
> alias:*:7790:2108::/var/qmail/alias:/bin/true
> qmaild:*:7791:2108::/var/qmail:/bin/true
> qmaill:*:7792:2108::/var/qmail:/bin/true
> qmailp:*:7793:2108::/var/qmail:/bin/true
> qmailq:*:7794:2107::/var/qmail:/bin/true
> qmailr:*:7795:2107::/var/qmail:/bin/true
> qmails:*:7796:2107::/var/qmail:/bin/true

Take a real close look at your uid's in both the passwd and what qmail
is running as. eg: qmails in the passwd is 7796 but running as 7996.

Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev@michvhf.com flame-mail: /dev/null
# include <std/disclaimers.h> TEAM-OS2
Online Searchable Campground Listings http://www.camping-usa.com
==========================================================================
Re: qmail* UID's not resolving? [ In reply to ]
On Sun, 2 Mar 1997, Vince Vielhaber wrote:

> > #7994 711 0.0 0.1 832 208 ? S 17:18 0:01 qmail-clean
> > #7995 710 0.0 0.1 836 228 ? S 17:18 0:00 qmail-rspawn
> > #7996 707 0.0 0.2 884 272 ? S 17:18 0:24 qmail-send

> > qmailq:*:7794:2107::/var/qmail:/bin/true
> > qmailr:*:7795:2107::/var/qmail:/bin/true
> > qmails:*:7796:2107::/var/qmail:/bin/true
>
> Take a real close look at your uid's in both the passwd and what qmail
> is running as. eg: qmails in the passwd is 7796 but running as 7996.

Indeed! I had to look real closely, 'cause I looked before and didn't
notice. I think the problem was that the first time, I tried to compile
qmail before I had restored my /etc/passwd file. It complained, so I
restored it and then recompiled again... but apparently something got
confused. So, this time I nuked the source tree, untarred it again and
recompiled, and now it's working fine:

qmaill 21483 0.6 0.2 840 292 pc S 17:06 0:00 splogger qmail
qmailq 21486 0.2 0.1 832 220 pc S 17:06 0:00 qmail-clean
qmailr 21485 0.2 0.1 836 208 pc S 17:06 0:00 qmail-rspawn
qmails 21482 1.6 0.2 876 268 pc S 17:06 0:00 qmail-send
root 21484 0.2 0.1 836 212 pc S 17:06 0:00 qmail-lspawn

Thanks for the help! It's much appreciated. :)

**********************************************************************
* Bryce Newall * IRC: Data * Email: data@dal.net *
* WWW: http://voyager.abac.com/data * IRC Admin, voyager.dal.net *
* --== Try DALnet! Server irc.dal.net, port 7000 ==-- *
* "Stop smirking, Number 1." -- J.L. Picard *
* "I'm a doctor, not a doorstop!" -- EMH Program, ST:FC *
**********************************************************************
Re: qmail* UID's not resolving? [ In reply to ]
>*think* I did...) However, I've noticed that when the processes are
>running, they show up like this:
>
>#7992 708 0.0 0.2 840 292 ? S 17:18 0:03 splogger qmail
>#7994 711 0.0 0.1 832 208 ? S 17:18 0:01 qmail-clean
>#7995 710 0.0 0.1 836 228 ? S 17:18 0:00 qmail-rspawn
>#7996 707 0.0 0.2 884 272 ? S 17:18 0:24 qmail-send
>root 709 0.0 0.1 836 216 ? S 17:18 0:04 qmail-lspawn
>
>I'm trying to figure out why the usernames are coming up as number instead
>of the names. I ahve the following entries in /etc/passwd for the qmail
>users:
>
>alias:*:7790:2108::/var/qmail/alias:/bin/true
>qmaild:*:7791:2108::/var/qmail:/bin/true
>qmaill:*:7792:2108::/var/qmail:/bin/true
>qmailp:*:7793:2108::/var/qmail:/bin/true
>qmailq:*:7794:2107::/var/qmail:/bin/true
>qmailr:*:7795:2107::/var/qmail:/bin/true
>qmails:*:7796:2107::/var/qmail:/bin/true
>
>This is qmail 0.95, by the way. Any ideas what's going on here?


The good news is that qmail is running with the correct UIDs.

If you compare the numbers you realize that the numbers #7992, #7994,
etc are *not* the uid's of qmail.

Mate