Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jun 23, 2010 3:56 am 
Offline

Joined: Wed Jun 23, 2010 3:51 am
Posts: 1
I just did a Fedora 13 install through the basic user interface, so I used the image you guys made. The problem is the fstab you have, it doesn't include several important things, among those devpts. Which means by default your FC13 image doesn't work right with, for example, screen. I discussed this on #fedora with some people, and the fix was adding this to /etc/fstab:

tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0

One of the nice Fedora experts also said to report the following to you (I quote): "you might want to suggest to them that they do a normal fedora install and image that - it looks like they used febootstrap or something which isn't quite a proper install" While I can't verify that febootstrap stuff, there is definitely something wrong with the current image. Once I applied the fix, screen started working perfectly for all users, not just root. Please fix? :-D


Top
   
 Post subject:
PostPosted: Wed Jun 30, 2010 11:12 am 
Offline

Joined: Wed Jun 30, 2010 11:10 am
Posts: 1
Website: http://www.nonsensebb.com
Location: Lisboa, Portugal
Thanks, I was going around trying to figure out why screen wasn't working and it never crossed my mind to check fstab.


Top
   
 Post subject:
PostPosted: Mon Nov 22, 2010 12:55 am 
Offline
Newbie

Joined: Sun Sep 05, 2010 3:26 am
Posts: 2
Thanks for this thread!

Just a question (and please excuse my admin inadequacies); running CentOS, I've added those lines to fstab, saved and then `mount -a`. I get the following messages:
Code:
mount: devpts already mounted or /dev/pts busy
mount: according to mtab, /dev/ptmx is already mounted on /dev/pts
mount: sysfs already mounted or /sys busy

I already had the following lines within fstab and added the new lines below them:
Code:
# Device                Mount Point             FS

/dev/xvda               /                       ext3
/dev/xvdb               none                    swap
/dev/ptmx               /dev/pts                devpts

So /dev/pts and dev/ptmx are now both pointing to the same mount point? Are these messages from `mount` errors or just general information?

Is my machine still going to boot next time it's restarted? :shock:


Cheers!


Top
   
 Post subject:
PostPosted: Mon Nov 22, 2010 10:55 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Are you sure that you need this? You're running a completely different distro than the OP.


Top
   
 Post subject:
PostPosted: Mon Nov 22, 2010 11:06 am 
Offline
Newbie

Joined: Sun Sep 05, 2010 3:26 am
Posts: 2
Hi,


I'm pretty sure...

I couldn't get screen to work for normal users (root was fine) and fixed it via the method listed here:

http://www.linuxquestions.org/questions ... ost3186866
Code:
mount -t devpts /dev/ptmx /dev/pts


Hence the existing line in my fstab mounting /dev/pts. But when I restarted my box, screen stopped working again. So I was hoping the fix for Fedora also fixs my CentOS issue...


Top
   
 Post subject:
PostPosted: Tue Nov 23, 2010 4:53 am 
Offline
Senior Newbie

Joined: Mon Oct 04, 2010 5:28 pm
Posts: 8
/dev/pts has been missing in my Arch install (not Fedora), too, when I installed it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group