public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Return from the dead... almost
@ 2006-03-15 22:20 Peter Kelly
  2006-03-15 22:46 ` Dave Moore
  2006-03-16  6:22 ` Eugene Rosenzweig
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Kelly @ 2006-03-15 22:20 UTC (permalink / raw
  To: gentoo-user

Hello to all.

After an exciting week of a failed hard drive (/usr, /home, /var) killing
the IDE port on the motherboard, I've finally got my gentoo box running
again.  Thank gawd for backups (/home, /var, /etc and all data).

I finished the 'emerge -e world', but have a couple issues.
First, when issuing the 'su' command, I enter the password and then get

peter@crichton ~ $ su -
Password:
configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
root ~ $

As you can see, I still get the root shell, but I'd like to get rid of the
errors.  I know these 'items' are all in /etc/login.defs, but I don't know
how to get pam-login to play nice.  I've seen other questions answered with
changes to baselayout and/or bash, so I re-emerged both of these.  No
change.  

Secondly, I've got a cron that updates nightly and mails me the results. 
One of the lines is 

diff-eix /var/cache/eix.old | Mail -s "New packages on $(hostname)" root

The part I can't figure out is the 'Mail' command.  Even after emerging
world, I have no 'Mail' on my system.  In fact, I have no 'mail' either.
What I have in my world file is

root ~ $ grep -i mail /var/lib/portage/world
mail-filter/procmail
mail-client/mailx-support
mail-filter/spamassassin
net-mail/fetchmail
mail-mta/postfix

I can get mail from the roadrunner stmp server without any problem, but have
an issue with local mail.  This worked for months, so I know I'm just
forgetting something I did a long time ago.  Any idea what I need to
emerge, or where the solution may lie?

Thanks.  And backup tonight!

Peter
-- 
Psychology.  Mind over matter.  Mind under matter?  It doesn't matter.
Never mind.
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Return from the dead... almost
  2006-03-15 22:20 [gentoo-user] Return from the dead... almost Peter Kelly
@ 2006-03-15 22:46 ` Dave Moore
  2006-03-15 23:04   ` Peter Kelly
  2006-03-16  6:22 ` Eugene Rosenzweig
  1 sibling, 1 reply; 6+ messages in thread
From: Dave Moore @ 2006-03-15 22:46 UTC (permalink / raw
  To: gentoo-user

On 3/15/06, Peter Kelly <linuxpete@satx.rr.com> wrote:
> peter@crichton ~ $ su -
> Password:
> configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
> configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
> configuration error - unknown item 'MOTD_FILE' (notify administrator)
> configuration error - unknown item 'FTMP_FILE' (notify administrator)
> configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
> configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
> configuration error - unknown item 'CHFN_AUTH' (notify administrator)
> root ~ $

I don't know about the rest, but this is likely because you didn't do etc-update

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GAT d-(+) s+: a24 C++ UBL++ P+>+++ L++ E--- W+++$ N+ o? K? w O? M-- V?
!PS !PE Y PGP- t++ 5++ X+ R+++ tv+ b++ DI++++ D++ G e+ h-- r++ y+
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Return from the dead... almost
  2006-03-15 22:46 ` Dave Moore
@ 2006-03-15 23:04   ` Peter Kelly
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Kelly @ 2006-03-15 23:04 UTC (permalink / raw
  To: gentoo-user

On Wednesday 15 March 2006 16:46, Dave Moore wrote:
> On 3/15/06, Peter Kelly <linuxpete@satx.rr.com> wrote:
> > peter@crichton ~ $ su -
> > Password:
> > configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
> > configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
> > configuration error - unknown item 'MOTD_FILE' (notify administrator)
> > configuration error - unknown item 'FTMP_FILE' (notify administrator)
> > configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
> > configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
> > configuration error - unknown item 'CHFN_AUTH' (notify administrator)
> > root ~ $
>
> I don't know about the rest, but this is likely because you didn't do
> etc-update

Uh-huh.  That's what I thought first.  Read that after the Google search.  
First thing I did, before the re-emerging.

root ~ $ etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)

But thanks.

Peter
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Return from the dead... almost
  2006-03-15 22:20 [gentoo-user] Return from the dead... almost Peter Kelly
  2006-03-15 22:46 ` Dave Moore
@ 2006-03-16  6:22 ` Eugene Rosenzweig
  2006-03-16 15:50   ` [gentoo-user] Return from the dead... almost [SOLVED] Peter Kelly
  2006-03-16 19:15   ` [gentoo-user] Return from the dead... almost louis brazeau
  1 sibling, 2 replies; 6+ messages in thread
From: Eugene Rosenzweig @ 2006-03-16  6:22 UTC (permalink / raw
  To: gentoo-user

Peter Kelly wrote:
> Hello to all.
>
> After an exciting week of a failed hard drive (/usr, /home, /var) killing
> the IDE port on the motherboard, I've finally got my gentoo box running
> again.  Thank gawd for backups (/home, /var, /etc and all data).
>
> I finished the 'emerge -e world', but have a couple issues.
> First, when issuing the 'su' command, I enter the password and then get
>
> peter@crichton ~ $ su -
> Password:
> configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
> configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
> configuration error - unknown item 'MOTD_FILE' (notify administrator)
> configuration error - unknown item 'FTMP_FILE' (notify administrator)
> configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
> configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
> configuration error - unknown item 'CHFN_AUTH' (notify administrator)
> root ~ $
>
> As you can see, I still get the root shell, but I'd like to get rid of the
> errors.  I know these 'items' are all in /etc/login.defs, but I don't know
> how to get pam-login to play nice.  I've seen other questions answered with
> changes to baselayout and/or bash, so I re-emerged both of these.  No
> change.  
>
> Secondly, I've got a cron that updates nightly and mails me the results. 
> One of the lines is 
>
> diff-eix /var/cache/eix.old | Mail -s "New packages on $(hostname)" root
>
> The part I can't figure out is the 'Mail' command.  Even after emerging
> world, I have no 'Mail' on my system.  In fact, I have no 'mail' either.
> What I have in my world file is
>
> root ~ $ grep -i mail /var/lib/portage/world
> mail-filter/procmail
> mail-client/mailx-support
> mail-filter/spamassassin
> net-mail/fetchmail
> mail-mta/postfix
>
> I can get mail from the roadrunner stmp server without any problem, but have
> an issue with local mail.  This worked for months, so I know I'm just
> forgetting something I did a long time ago.  Any idea what I need to
> emerge, or where the solution may lie?
>
> Thanks.  And backup tonight!
>
> Peter
>   
I know its a basic one but you say you re-emerged baselayout and bash 
but did you re-emerge pam-login? Maybe pam and shadow also? Maybe shadow 
was emerged without USE=pam? The funny thing is, my setup is ok and I 
have none of these values in my /etc/login.defs which belongs to 
pam-login package.

Eugene.


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Return from the dead... almost [SOLVED]
  2006-03-16  6:22 ` Eugene Rosenzweig
@ 2006-03-16 15:50   ` Peter Kelly
  2006-03-16 19:15   ` [gentoo-user] Return from the dead... almost louis brazeau
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Kelly @ 2006-03-16 15:50 UTC (permalink / raw
  To: gentoo-user

On Thursday 16 March 2006 00:22, Eugene Rosenzweig wrote:
> Peter Kelly wrote:
> > Hello to all.
> >
<snip>
>
> I know its a basic one but you say you re-emerged baselayout and bash
> but did you re-emerge pam-login? Maybe pam and shadow also? Maybe shadow
> was emerged without USE=pam? The funny thing is, my setup is ok and I
> have none of these values in my /etc/login.defs which belongs to
> pam-login package.
>
> Eugene.

Well, I did all that, and etc-update still didn't ask me to 
fix /etc/login.defs.  So I renamed the file, and emerge'd pam-login AGAIN.  
Then it gave me the correct file.  Yeah!  

And for those keeping score at home, in order to get 'Mail', you need to 
emerge nail.  

I think I'm now back to the same system I had before hdb started whining, and 
the motherboard decided that there was nothing attached to IDE1.

Don't forget to backup!

Peter

-- 
Economics is extremely useful as a form of employment for economists.
		-- John Kenneth Galbraith
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Return from the dead... almost
  2006-03-16  6:22 ` Eugene Rosenzweig
  2006-03-16 15:50   ` [gentoo-user] Return from the dead... almost [SOLVED] Peter Kelly
@ 2006-03-16 19:15   ` louis brazeau
  1 sibling, 0 replies; 6+ messages in thread
From: louis brazeau @ 2006-03-16 19:15 UTC (permalink / raw
  To: gentoo-user

> > peter@crichton ~ $ su -
> > Password:
> > configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
> > configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
> > configuration error - unknown item 'MOTD_FILE' (notify administrator)
> > configuration error - unknown item 'FTMP_FILE' (notify administrator)
> > configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
> > configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
> > configuration error - unknown item 'CHFN_AUTH' (notify administrator)
> > root ~ $
> >

I had exactly the same messages after updating pam-login (because,
even though it told me too, I didn't etc-update right away). After
running etc-update and replacing the old config file with the new one,
everything was fine.

So my guest is, you still have the old config file in your system. Try
to emerge pam-login again.

Good luck

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-03-16 19:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 22:20 [gentoo-user] Return from the dead... almost Peter Kelly
2006-03-15 22:46 ` Dave Moore
2006-03-15 23:04   ` Peter Kelly
2006-03-16  6:22 ` Eugene Rosenzweig
2006-03-16 15:50   ` [gentoo-user] Return from the dead... almost [SOLVED] Peter Kelly
2006-03-16 19:15   ` [gentoo-user] Return from the dead... almost louis brazeau

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