Update of Virtualmin v4.13.gpl failed

Happy new year!
The latest update of webmin-virtual-server to v4.13.gpl via apt-get reported the error "Failed to find mount point for /home". However, the current version on the system information summary page reads now 4.13.gpl and the update is not waiting anymore (seems to be implemented). Should I worry about or check anything?

Regards,
fuggi

Status: 
Closed (fixed)

Comments

If you go to System Settings -> Re-check Configuration on the left menu, does it still report that same error message?

If so, what does the /etc/fstab file contain on your system?

Yes, it does:
The module could not find the mount point for your home directories filesystem /home. Quotas editing has been disabled.

Content of /etc/fstab:

proc /proc proc defaults 0 0
none /dev/pts devpts rw 0 0
shm /dev/shm tmpfs defaults 0 0

However /etc/fstab has not being changed lately and home directory is mounted and accessible.

Thanks in advance for you help!

I assume you are on a VM of some kind? That would explain why there is no entry in /etc/fstab for the root filesystem.

What does the mount command output on your system?

Yes, it is a VM. ASAIK it's OpenVZ.

mount says:

/dev/ploop56933p1 on / type ext4 (rw,relatime,barrier=1,data=ordered,balloon_ino=12,usrquota,grpquota)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime,mode=755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,relatime)

Ok, the quick fix is to add the following line to your /etc/fstab file :

/dev/ploop56933p1  /  ext4 rw,relatime,barrier=1,data=ordered,balloon_ino=12,usrquota,grpquota 0 0

A "real" system would always have this, but on an OpenVZ VM it can be left out in some cases.

Thanks a lot! It did the job.

However, I wonder why this issue has not come up at any earlier Virtualmin/Webmin update. Any ideas?

Maybe the file was always missing that line, but Virtualmin didn't detect it until you did an update?

I will keep an eye on that. Thank you again!