Cannot login After Mounting Home From Previous Fedora Install Error “call to lnusertemp failed (temporary directories full ?).Check your installation”

| 0 comments

I performed a fresh install on my boot disk of Fedora 16 moving from Fedora 13 after using the “linux noprobe” to see my devices on the HP DL580 smart array as mentioned in my previous post. Once I had Fedora 16 properly installed and updated now was the time to bring in the other drives I didn’t want the installation to touch into use.

I didn’t have to perform  “vgimport”. When I ran the “vgdisplay -v” command to find what the current state of LVM and names the volume groups and logical volumes were already imported so all I had to do was enter them into “/etc/fstab/” and mount the directories.

After mounting “/home” and the other directories in “init level 3”  I entered “init level 5” to start the desktop and after trying to login into my users I created on the system I get the error “call to lnusertemp failed (temporary directories full ?).Check your installation”.

I restarted the system in “single-user mode” and well “/tmp” or the mountpoint it was connected to “/” wasn’t full and the permissions were wide open. I looked at a few more items and checked log files then decided to  copy the files from the “/home” created by the system which I had renamed to “/home.orig” before mounting my old logical volume to the newly created “/home” and still couldn’t login.

After rebooting again into single-user-mode, I then looked at the permissions of the user directories in /home and noticed that the numeric values were being used and not the user names. I then looked in “/etc/passwd” (#cat /etc/passwd |grep <username>) and of course the numeric values in the new “/etc/passwd” didn’t match the numeric values from my previous install.

to correct the issue I performed the chown command for each user’s directory:
#chown  -R <username>:<username> /home/<user-directory>/

Now “ls -al /home/<user-directory>/” shows the  user name instead of the numeric value and I can login just fine into each user on the system.

Enhanced by Zemanta

Leave a Reply

Required fields are marked *.


%d