securetmp on centos 7 error

rhm.geerts

Well-Known Member
Jul 29, 2008
179
23
68
Maastricht
cPanel Access Level
Root Administrator
Hello.
I installed Cpanel on a Centos 7.4 server.

Everthing went fine and looks working.
Now I tried to secure my tmp partition and I get this error:

*** Notice *** No loop module detected
If the loopback block device is built as a module, try running `modprobe loop` as root via ssh and running this script again.
If the loopback block device is built into the kernel itself, you can ignore this message.
I've found a couple of threads about this on the cpanel forums and it said try "modprobe loop" which doesn't give me any result:
Code:
[email protected] ~ # modprobe loop
[email protected] ~ #
How can I fix this?
 

rhm.geerts

Well-Known Member
Jul 29, 2008
179
23
68
Maastricht
cPanel Access Level
Root Administrator
Hello.
I tried to make it a 10 GB /tmp but it looks like it only made 4 GB.
Code:
proc /proc proc defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/md/0 none swap sw 0 0
/dev/md/1 /boot ext3 defaults 0 0
/dev/md/2       /       ext4    usrjquota=quota.user,jqfmt=vfsv0        0       0
/usr/tmpDSK             /tmp                    ext3    defaults,noauto        0 0
This is my df -h output at the moment:
Code:
Filesystem      Size  Used Avail Use% Mounted on
/dev/md2        1.8T  6.4G  1.7T   1% /
devtmpfs         16G     0   16G   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
tmpfs            16G   17M   16G   1% /run
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/md1        488M  184M  279M  40% /boot
/dev/loop0      3.9G  8.4M  3.7G   1% /tmp
tmpfs           3.2G     0  3.2G   0% /run/user/0
The server is no VPS, it's a real dedicated server running Centos 7.4, no virtualization.
Thank you.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,265
1,298
363
Houston
Hello,


It's there and seems to be configured correctly you can confirm this by running:

losetup -f

in this case it appears to be the second notice:

If the loopback block device is built into the kernel itself, you can ignore this message.

Thank you,
 
  • Like
Reactions: rhm.geerts