You are not logged in.

#1 2011-05-15 20:46:51

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

[SOLVED] Troubles mounting local filesystems tmpfs and devpts

Since yesterday, my boot log show a message :

mount: none already mounted or /dev/pts busy 
mount: according to mtab, /dev/pts is already mounted on /dev/pts

This is my /etc/mtab content :

proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=497620,mode=755 0 0
run /run tmpfs rw,nosuid,nodev,noexec,relatime,size=10240k 0 0
/dev/mapper/vg_arch-lv_root / ext4 rw,commit=0 0 0
/dev/pts devpts rw,relatime,mode=600,ptmxmode=000 (null) 0 0
/dev/shm tmpfs rw,relatime (null) 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
none /dev/shm tmpfs rw 0 0
/dev/mapper/vg_docs-lv_home /home ext4 rw,commit=0 0 0
/dev/mapper/vg_docs-lv_music /music ext4 rw,commit=0 0 0
/dev/mapper/vg_docs-lv_pictures /pictures ext4 rw,commit=0 0 0
/dev/md3 /boot ext3 rw,commit=0 0 0
/dev/sdc2 /media/exthd-sdc2 ext3 rw,noexec,nosuid,nodev,relatime,commit=0 0 0
/dev/sdc1 /media/exthd-sdc1 fuseblk rw,noexec,nosuid,nodev,allow_other,blksize=4096 0 0
gvfs-fuse-daemon /home/chris/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=chris 0 0  

Everything keeps on working though. But also my shutdown sometimes hangs when it comes to unmounting the local filesystems.

Last edited by Strider (2011-05-20 22:02:43)


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#2 2011-05-15 21:47:39

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

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

Is it something that always worked for you but stopped after an update?

Offline

#3 2011-05-16 02:27:22

haroldw
Member
Registered: 2011-03-15
Posts: 5

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

Same here; both on desktop and eeepc.

Pacman log if it's any use:

[2011-05-16 04:05] upgraded autofs (5.0.5-6 -> 5.0.5-7)
[2011-05-16 04:05] upgraded gnutls (2.12.4-1 -> 2.12.5-1)
[2011-05-16 04:05] upgraded udev (167-2 -> 168-1)
[2011-05-16 04:05] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
... kernel image builds were OK ...
[2011-05-16 04:05] upgraded initscripts (2011.04.1-2 -> 2011.05.2-1)
[2011-05-16 04:05] upgraded linux-firmware (20110227-1 -> 20110512-2)
[2011-05-16 04:05] upgraded kernel26 (2.6.38.6-1 -> 2.6.38.6-2)
[2011-05-16 04:05] upgraded kernel26-headers (2.6.38.6-1 -> 2.6.38.6-2)

Offline

#4 2011-05-16 02:33:58

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

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

It might be initscripts / udev -related. Try to downgrade and see if the issue goes away.

Just guessing here:
http://mailman.archlinux.org/pipermail/ … 00504.html
http://mailman.archlinux.org/pipermail/ … 00510.html

Last edited by karol (2011-05-16 03:29:47)

Offline

#5 2011-05-16 11:02:12

Kilzool
Member
From: Ireland
Registered: 2010-08-04
Posts: 232

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

I don't have a problem with it mounting or umounting... but since the last update of initscripts... I did notice a line in the logs whereas it 'fails to umount tmpfs'.

SOLVED  *** UPDATE: 5-17-2010 ***

I followed the posted below.. so prior to fixing the /etc/fstab I umounted /dev/shm -- then I edited /etc/fstab by adding a preceding '#' to /dev/shm in my fstab.  After a reboot or two, it was solved.  So the 'fails to unmount' doesn't happen anymore.  Thank you.

Old /etc/fstab:

shm                   /dev/shm      tmpfs     noexec,nodev,nosuid        0      0

Changed /etc/fstab:

#shm                   /dev/shm      tmpfs     noexec,nodev,nosuid        0      0

Last edited by Kilzool (2011-05-17 12:21:41)

Offline

#6 2011-05-16 14:54:45

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

Remove /dev/pts and /dev/shm from fstab or...
If you have custom options for these filesystems: put as "source" (change "none" to "devpts", and "none" -> "shm"). (New util-linux[#1] puts null string when "none" is used as source).
Do the same with all other entries with "none" as source, put any name wink

[#1] http://mailman.archlinux.org/pipermail/ … 01736.html

Last edited by djgera (2011-05-16 14:55:08)

Offline

#7 2011-05-16 18:51:11

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

Downgrading the initscripts package solved the problem for me.

I have filed a bug :
https://bugs.archlinux.org/task/24309


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#8 2011-05-17 06:49:50

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

It's not a bug, as explained by djgera.

Offline

#9 2011-05-17 14:52:08

haroldw
Member
Registered: 2011-03-15
Posts: 5

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

Thank you djgera, karol, Kilzool, Strider, brain0.

My /etc/fstab files indeed contained:
none/dev/pts    devpts    defaults    0    0
none       /dev/shm    tmpfs    nodev,nosuid    0    0

And there indeed was a fstab.pacnew from Oct 2010 stating that it should be:
devpts    /dev/pts    devpts    defaults    0    0
shm       /dev/shm    tmpfs    nodev,nosuid    0    0

Changing file system names from none to devpts and shm, solved the problem for me.

Offline

#10 2011-05-17 19:58:39

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

All,
after another busy working day I noticed a lot of replies to my post and my bug got closed as not being not a bug, interesting hmm .
@ djgera : I did read your post but I assumed it did not apply to me since I have neither /dev/pts/ nor /def/shm in my /etc/fstab ! Those only appear in /etc/mtab.

Anyway, I thought I might have overlooked something so I applied djgera's changes to my mtab file (as opposed to the fstab file) which according to me was not very logic but one never knows. I upgraded my initscripts and performed a shutdown ... which hung. I did two types of changes to mtab : one that changed 'none' to xxx and one that deleted the lines altogether from mtab.  But all was to no avail : two times my shutdown hung and my boot showed the same error messages.

I downgraded initscripts again and all was (again) back to normal.

I think I have to look further the udev route as mentioned by karol.
Any advice is still more than welcome, all your comments made so far are highly appreciated.


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#11 2011-05-20 00:50:15

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

same problem here (and solution), thank you everyone


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#12 2011-05-20 22:09:14

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

Re: [SOLVED] Troubles mounting local filesystems tmpfs and devpts

I have finally solved the problem :

1) for boot up : I apparently did not look correctly in my /etc/fstab : /dev/pts and /dev/shm are indeed in there. I applied the patch by djgera and I do not have any error messages anymore
2) but my shutdown still hung after the message 'unmounting local filesystems'. The hung was caused by ... plymouth neutral I removed it from my kernel image and gone was the hung. So bye bye plymouth smile

Thanks for the help once more


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

Board footer

Powered by FluxBB