• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Can't umount folder

Tsi-Shawn

Basic Pleskian
So yesterday I tried to follow along with http://www.eth0.us/tmp to secure m /tmp folder. It broke. I have since fixed the issues (chmod 1777 and not 0777) but I still have a second tmp mount point that I can't get rid of.

/dev/tmpMnt on /tmp type ext2 (rw,noexec,nosuid,loop=/dev/loop0)
tmpfs on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
/tmp on /tmp type none (rw,noexec,nosuid,nodev,bind)

umount /dev/tmpMnt
umount: cannot umount /dev/tmpMnt -- /tmp is mounted over it on the same point.

fuser shows
fuser -m /dev/tmpMnt
/dev/tmpMnt: 1 749 977 980 986 987 1594 1672 1741 1774 1866 1867 1869 1870 1871 1872 1873 1898 1900 2109 2587 2600 2615 4380 4383 4385 4389 4391 6900 6923 6924 6934 6935 6936 6937 7230 7307 7722 7723 7820 8608 8629 8846 15732 19213 19218 19219 31129 31138 31141 31146 31147 31148 31149 31150 31151 31394 31616 31881 33390 37658 39480 40303 40310 40311 40820 41175 42357 45083 45930 48259 48261 49590 49594 49759 50963 50965 51272 51273 51280 51282 51528 57282 57283 57359 57360 57602 57603 58000 58219 59727 59728 62210


Anyone help set this injustice right?
 
I have tmpfs loaded with no exec. The problem is the /dev/tmpMnt that was loaded while making the tmpfs noexec. Now both are being used?
 
Would like to see if I can get this resolved today as I have been having some crashes that I believe is directly related to this extra folder. This is the guide that I used http://www.eth0.us/tmp

df -h |grep tmp
/dev/tmpMnt 769M 55M 676M 8% /tmp
tmpfs 5.7G 20K 5.7G 1% /dev/shm

cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Thu Sep 11 12:42:10 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_206248173169-lv_root / ext4 defaults 1 1
UUID=f4023da7-7828-4543-ab71-f519fb3ae35b /boot ext4 defaults 1 2
/dev/mapper/vg_206248173169-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_206248173169-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults,nodev,nosuid,noexec 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0


var folder
lrwxrwxrwx 1 root root 5 Oct 7 15:25 tmp -> /tmp/


The
/dev/tmpMnt 769M 55M 676M 8% /tmp is showing up when I df -h but it is not in my fstab. I can't umount it because it says that it is busy.
 
It is always nice and helpfull, if you provide informations, how you solved your issue, because there might be others, who experience exactly the same issue/problems and others ( like me ^^ ), like to learn new things, each and every day. :p
 
You are correct. Here are the steps used to unmount the second tmp folder.

1. /etc/init.d/psa stopall
2. umount /dev/tmpMnt
3 commented the line below in /etc/fstab files:

# cat /etc/fstab |grep tmp

tmpfs /dev/shm tmpfs defaults,nodev,nosuid,noexec 0 0
#/tmp /var/tmp none rw,noexec,nosuid,nodev,bind 0 0

4. /etc/init.d/psa startall
 
Back
Top