Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

problems with a fresh G1.2 install

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
30 posts
  • Previous
  • 1
  • 2
Author
Message
Don-Slash
n00b
n00b
Posts: 5
Joined: Fri Dec 06, 2002 2:30 pm
Location: Florida

  • Quote

Post by Don-Slash » Sun Dec 08, 2002 4:00 am

emerge newbie, I had the exact same problem since last week after I did an 'emerge world' and I will tell you that it IS the /etc/login.defs update that corrected your problem.

I thought it was before when I had commented the offending lines out and the erros went away, but I was told by a friend that I should try to fix the problem another way if those lines where suppose to be there. While trying to figure it out today I:
1) ran 'etc-update' in shell
2) scrolled through the list of updates I had on my system
3) exited the menu (-1)
4) cp /etc/login.defs /etc/login.defs.original as a back up.
5) ran 'etc-update' again and went through the displayed instructions of doing a complete replace of the origional with the update.

I would like to thank <a href='http://forums.gentoo.org/viewtopic.php?p=144774'>rac</a> for pointing me to your string here. Now we can help another newbie like ourselves.
Top
mangr3n
n00b
n00b
Posts: 7
Joined: Mon Aug 12, 2002 7:49 pm

Solution

  • Quote

Post by mangr3n » Mon Dec 16, 2002 2:55 pm

I just did an install of Gentoo 1.2 from scratch and came looking for a solution to this same problem.

After reading all of the notes I found the answer.

Rename your /etc/._cfg0000_login.defs file to /etc/login.defs
Top
Yoannez
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Sun Jul 28, 2002 11:12 am
Location: Portugal
Contact:
Contact Yoannez
Website

  • Quote

Post by Yoannez » Thu Feb 06, 2003 10:08 pm

Hi


I think this is really a bug in that were in the Gentoo 1.2 why?

Because I have two machines one is a IBM T22 Laptop and the other a dual PIII one is installed since I joined the forums and the other was installed from a gentoo 1.4RC_1 one has the file that
emerge newbie has or had (the laptop) and the other the Dual PIII the rac's one.
The laptop was upgraded from 1.2 to 1.4 RC_1 and 1.4 RC_2, and I have the login.defs problem.

Another thing is, although I have reemerged pam_login several times and even due to dispair unmerge pam_login and booted from cd to reemerge it, it didn't solved the problem.
Now after reading this just for fun I have done a

Code: Select all

 [etc@gandalf] # qpkg -f login.defs
[etc@gandalf] #

has you can see there is no output. This is for the laptop.


Samething in the dual :

[root@moebius] # qpkg -f /etc/login.defs 
sys-apps/pam-login *
[root@moebius] # 

So has you can see there is a diference.
I'll try to solve the problem in two ways by order:

1.st : mv /etc/login.defs /etc/login.defs.orig
emerge -u pam-login

2.nd: scp /etc/login.defs gandalf:/etc/login.defs :)

I'll give some news.

If anyone has any other idea post-it :)
The road to Perfection is too rocky ! Consider Linux as home delivery service.
Top
Yoannez
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Sun Jul 28, 2002 11:12 am
Location: Portugal
Contact:
Contact Yoannez
Website

  • Quote

Post by Yoannez » Thu Feb 06, 2003 11:09 pm

Hi

The problem is solved!

How?

1.st solution did it.

I have moved the /etc/login.defs to /ec/login.defs.orig and reemerged pam-login. it created automatically a new /etc/login.defs the good one now.

I think this can be a bug with pam-login, don't you?
The road to Perfection is too rocky ! Consider Linux as home delivery service.
Top
MrSlayer
n00b
n00b
Posts: 39
Joined: Sat Aug 17, 2002 6:26 pm

  • Quote

Post by MrSlayer » Wed Aug 03, 2005 9:36 pm

Ok last night i had this problem, the issue was that i was using a non-stable version of shadow. After downgrading everything is fine.
I know its a couple of years late to solve this guys problem, but perhaps some one later on can use my experince.
Top
Post Reply

30 posts
  • Previous
  • 1
  • 2

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy