[Bug 1011986] Re: After logout Xorg stays stuck in tty_ld

Steve Langasek steve.langasek at canonical.com
Tue Jun 12 14:57:07 UTC 2012


James, it seems to me in this particular case that we could also address
this by making the mountall job be 'console log' by default instead of
'console output'.  Do you see any reason not to do that?

> What would be good is if we could contrive a mntctl option that could be run that
> would atleast warn if it detected an > fstab entry that could block for user input.

Hmm, my personal impression is that this is poking through too many
layers... mounts aren't meant to be interactive at boot time in the
first place, I'd rather we just disallow prompting from mountall (and
child processes).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/1011986

Title:
  After logout Xorg stays stuck in tty_ld

Status in “mountall” package in Ubuntu:
  Confirmed

Bug description:
  Precise is not able to restart Xorg after a logout in any of my
  machines. After I log out, the Xorg process stays stuck in tty_ld. ps
  shows:

  4     0  1258  1187  20   0      0     0 tty_ld Ds+  tty7       0:07 [Xorg]
  0  1000  2977  2959  20   0   9396   916 pipe_w S+   tty1       0:00 grep Xorg

  Since tty7 remains busy, no new desktop manager and Xorg start up
  automatically.

  Dmesg last line seems to be relevant:
  [  193.702121] tty_ldisc_hangup: waiting (Xorg) for tty7 took too long, but we keep waiting...

  It seems that a password prompt for some smb/cifs mounts that are not
  marked as noauto are causing the issue.

  //nasi/data             /home/gema/data         cifs    user,user=gema
  0       0

  Adding noauto works around the problem,

  //nasi/data             /home/gema/data         cifs
  noauto,user,user=gema  0       0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1011986/+subscriptions




More information about the foundations-bugs mailing list