Missing devpts in /etc/fstab

Bug #362167 reported by mst
8
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

After an upgrade from 8.10 to 9.04 beta it was not possible to open any terminals in a X session.

I found out the devpts entry in /etc/fstab was missing.

See here:
http://www.linuxquestions.org/questions/slackware-14/cant-start-a-terminal-200544/

Revision history for this message
MrNfector (mrnfector) wrote :

I can confirm that this issue exists in the final release for 9.04 when upgrading from Ubuntu 8.10. The fix posted in the linuxquestions.org discussion worked for me. devpts isn't being mounted by default. Fix is to add the line:

devpts /dev/pts devpts gid=5,mode=620 0 0

to /etc/fstab, then mount -a or reboot. The gid value may need be be changed on some systems to match the GID of the "tty" user, which appears to be 5 by default on Ubuntu 9.04.

Clay Weber (claydoh)
Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Augusto Santos (mkhaos7) wrote :

This bug is invalid since devpts is mounted by /etc/init.d/moutdevsubfs.sh

If devpts is not being mounted the problem should be troubleshoot again, and not by adding a entry in /etc/fstab .

Cheers.

Revision history for this message
Augusto Santos (mkhaos7) wrote :

There should be no devpts in /etc/fstab, so there is no sense in this bug.

Changed in ubuntu:
status: Confirmed → Invalid
Revision history for this message
PSCArmstrSM (sarmstrong1) wrote :

I seem to be having an issue with devpts being mounted at boot. Since I upgraded to 9.04, updates fail since it cannot create the pty for apt. I had been getting around this by echoing the devpts init line into my /etc/mtab file. I came across this bug report today, and did a /etc/init.d/mountdevsubfs.sh stop and start, now it works.

How can I make sure this happens on boot?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.