[vpsFree.cz: community-list] /dev/shm does not exist.

Jakub Skokan jakub.skokan at vpsfree.cz
Wed Jul 24 22:03:09 CEST 2019


Hi,

On 7/24/19 9:41 AM, Panagiotis Palias wrote:
> after recent upgrade to Debian Buster, pihole stopped working and from 
> the output of diagnostics `pihole -d` I can see the error:
> *** [ DIAGNOSING ]: contents of /dev/shm
> /dev/shm does not exist.
> ls: cannot access '/dev/shm': Too many levels of symbolic links
> 
> Which is because of that:
> trendy at vps:[~]$ls -la /dev/shm
> lrwxrwxrwx 1 root root 8 Ιουν 29 04:49 /dev/shm -> /run/shm
> trendy at vps:[~]$ls -la /run/shm
> lrwxrwxrwx 1 root root 8 Ιουλ 21 11:18 /run/shm -> /dev/shm
> 
> I believe this is not normal; does anyone know where they should point to?

No idea what happened here, but when I look at /dev/shm on a newly 
created VPS, it's mounted as tmpfs. /run/shm is a symlink to /dev/shm 
just like on your VPS. So here's what you could try:

   rm /dev/shm
   mkdir /dev/shm
   reboot

Jakub


More information about the Community-list mailing list