Bug 7071 - xguest - after xguest login, i'm unable to login with normal user
Summary: xguest - after xguest login, i'm unable to login with normal user
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: Mageia 3
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-15 20:16 CEST by luca pedrielli
Modified: 2012-09-09 22:24 CEST (History)
3 users (show)

See Also:
Source RPM: xguest
CVE:
Status comment:


Attachments

Description luca pedrielli 2012-08-15 20:16:13 CEST
Description of problem:


i have installed xguest-1.0.10-8.mga2.


i can login with xguest and all seems working fine.
but if i close the session and i try to login with a normal user
i receive this error message:  cannot enter home directory. using /.

the only way to login is reboot mageia.

it seems that xguest doesn't close properly his session.



Steps to Reproduce:
1. login with xguest
2. logout
3. login with normal user
Comment 1 Manuel Hiebel 2012-08-18 17:21:36 CEST
what desktop ? what does said ls -l /home ? have you more info in the syslog ? (control alt f12 or tailf /var/log/syslog)
Comment 2 luca pedrielli 2012-08-18 18:00:56 CEST
kdm
--------------------------------------------------------------
ls -al /home
totale 4
drwxrwxrwt  3 root   xguest   60 ago 18 17:50 ./
drwxr-xr-x 20 root   root   4096 ago 11 14:24 ../
drwxr-xr-x 21 xguest xguest  640 ago 18 17:51 xguest/
--------------------------------------------------------------
Aug 18 17:51:34 cauldron kdm: :0[1175]: pam_tcb(kdm:session): Session closed for
 xguest
Aug 18 17:51:34 cauldron kdm: :0[1175]: pam_namespace(kdm:session): Unmount of /
tmp failed, Dispositivo o risorsa occupata
Comment 3 Jani Välimaa 2012-08-18 21:25:12 CEST
I can reproduce this with xfce and lightdm.

CC: (none) => jani.valimaa

Comment 4 Manuel Hiebel 2012-08-18 22:35:21 CEST
@Luca and was is your "normal user" ? (I don't see anything in home so hope you don't use root)

@Jani not really sure it's the same issue
Comment 5 luca pedrielli 2012-08-18 23:09:55 CEST
not root!! you cannot login as root in kdm.

my normal user :)

but it seems that xguest tmpfs remain ....
Comment 6 Manuel Hiebel 2012-08-18 23:48:41 CEST
but you have no other folder in /home and it search for that
Comment 7 luca pedrielli 2012-08-19 09:15:58 CEST
that is the situation after i logout xguest

drwxrwxrwt is strange

xguest owner is strange


this is nolmally

$ ls -al /home
totale 32
drwxr-xr-x  5 root   root    4096 ago 15 14:22 ./
drwxr-xr-x 20 root   root    4096 ago 11 14:24 ../
drwxr-xr-x 34 ilprof ilprof  4096 ago 19 09:12 ilprof/
drwx------  2 root   root   16384 ago 11 09:49 lost+found/
drwxr-xr-x  4 xguest xguest  4096 ago 15 14:22 xguest/
Comment 8 Marja Van Waes 2012-08-20 21:01:07 CEST
I'm wondering whether this is related to bug 5980 (which is still valid)

CC: (none) => marja11

Comment 9 luca pedrielli 2012-08-20 21:16:58 CEST
when i login like xguest all is working fine.
than i logout and try to login like normal user i can not.
Comment 10 Marja Van Waes 2012-08-20 21:47:26 CEST
well, I think there could be a relation with bug 5980, because there, when you log back in with a normal user and open a terminal, you don't see a normal prompt line, but

bash-4.2$

And I've seen a drwxrwxrwt permission there, too, after logging in as normal user.
Comment 11 luca pedrielli 2012-08-20 22:13:28 CEST
i'm not able to login kdm with normal user!
i switched to a virtual console with ctrl+alt+f3 and it seems that the xguest tmpfs is still mounted.

with xguest-1.0.10-8.mga2 i have no problem in mageia2 but only in cauldron

maybe it depend from /usrmove?
Comment 12 Manuel Hiebel 2012-08-20 22:58:52 CEST
damien, maybe you have any ideas ?

CC: (none) => mageia
Target Milestone: --- => Mageia 3
Source RPM: (none) => xguest

Comment 13 Marja Van Waes 2012-08-21 08:25:43 CEST
(In reply to comment #11)
> i'm not able to login kdm with normal user!

When, after logging out as xguest I change to tty 2 and try to login as marja, I see a message:

marja: /home/marja: change directory failed: No such file or directory

In bug 5980, everyone saw, when opening a konsole, he/she was in / instead of in /home/<username> , and <username> was missing before the prompt

I think because different DM's and DE's respond different to the bug, you perceive different problems than those reported in 5980. And yes, recent changes in cauldron can have caused your DM to be more sensitive to this bug.

Did you install xguest after installing cauldron or at the time of install (e.g. with boot.iso? How was that with Mageia 2?
Comment 14 luca pedrielli 2012-08-21 08:46:29 CEST
in a virtual machine(vbox)

i had installed mageia2, updated to cauldron with convetfs and than installed xguest
Comment 15 luca pedrielli 2012-08-21 17:22:44 CEST
maybe this can help:

-logout xguest
-service dm stop
-lsof| grep tmp and find xguest process using /tmp
-kill them(are gpg-agent process)
-umount /tmp
-umount /var/tmp
-cd /home
-umount xguest
-cd ..
-umount /home

now i can login with normal user
Comment 16 luca pedrielli 2012-09-09 22:24:45 CEST
with alpha1 seems resolved

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.