You are not logged in.

#1 2013-09-26 21:23:02

PreparationH67
Member
From: Chicago IL
Registered: 2010-07-28
Posts: 40

[SOLVED] /dev/pts mount options keep being reset (it's mkarchiso)

So hopefully there isn't a post about this already, because all I could find were thing referencing the glibc update the required editing /etc/fstab, but anyway something seems to keep resetting the mount options of /dev/pts while my system is running.

Yes my fstab is correct

# 
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
tmpfs           /tmp    tmpfs   nodev,nosuid,size=7G    0       0
# UUID=1eb72f25-91ac-4c2b-b8b3-4003990efb7a
#/dev/sda2              /               ext4            rw,relatime,data=ordered        0 2
#/dev/sda3      none    swap    defaults
UUID=5c1feba3-a8a2-4d67-99b1-bb2ed5c9d6f7       /       ext4    rw,relatime,discard,data=ordered   0 2
UUID=6ad98090-1f46-416c-aa9c-27c636f06e5a       none    swap    defaults,discard

It will change from this:

devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

to this

devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)

Breaking the ability to use virtual terminals (grantpt failed when trying to launch the xfce terminal or failures in tmux creating new windows/panes), so far the only helpful thing I've found is a post that references running this

sudo mount -o remount,gid=5,mode=620 /dev/pts

when it happens which fixes the problem, but it is very strange. Everything works fine for a while after boot, then randomly I won't be able to launch a new terminal. I'm not even sure where to start looking for more details on what might be happening since from my understanding its some systemd magic that takes care of setting /dev/pts up to if anyone has any insight I'd really appreciate it.

BTW System is completely up to date systemd 207-5 and sysctl.conf was moved etc

Last edited by PreparationH67 (2013-09-26 22:11:03)

Offline

#2 2013-09-26 21:25:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] /dev/pts mount options keep being reset (it's mkarchiso)

PreparationH67 wrote:

(Yes my fstab is correct)

Please edit your post to include it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-09-26 21:26:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] /dev/pts mount options keep being reset (it's mkarchiso)

Why not just remove it from fstab?

Offline

#4 2013-09-26 21:29:11

PreparationH67
Member
From: Chicago IL
Registered: 2010-07-28
Posts: 40

Re: [SOLVED] /dev/pts mount options keep being reset (it's mkarchiso)

jasonwryan wrote:
PreparationH67 wrote:

(Yes my fstab is correct)

Please edit your post to include it.

Done

Scimmia wrote:

Why not just remove it from fstab?

I'm not sure if you didn't catch the part about it not being there already or what?

Offline

#5 2013-09-26 21:35:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] /dev/pts mount options keep being reset (it's mkarchiso)

PreparationH67 wrote:
Scimmia wrote:

Why not just remove it from fstab?

I'm not sure if you didn't catch the part about it not being there already or what?

No, you never said it wasn't there, just that that your fstab was "correct" then gave the mount options, making me assume you had it in your fstab with the "correct" options.

Offline

#6 2013-09-26 21:35:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] /dev/pts mount options keep being reset (it's mkarchiso)

Offline

#7 2013-09-26 21:50:30

PreparationH67
Member
From: Chicago IL
Registered: 2010-07-28
Posts: 40

Re: [SOLVED] /dev/pts mount options keep being reset (it's mkarchiso)

Wow, thanks. I have been using mkarchiso, but I didn't think the two were related so that's probably why I couldn't find it. Well I guess that's it then.

Scimmia wrote:
PreparationH67 wrote:
Scimmia wrote:

Why not just remove it from fstab?

I'm not sure if you didn't catch the part about it not being there already or what?

No, you never said it wasn't there, just that that your fstab was "correct" then gave the mount options, making me assume you had it in your fstab with the "correct" options.

Ok, I get why you are saying that, but I did also say that it was updated with the systemd release as was sysctl

Offline

Board footer

Powered by FluxBB