- Plesk for Linux
In the chrooted environment, some commands execution fails with the error message:
CONFIG_TEXT: Couldn't open /dev/null: Permission denied
Chroot environment template was rebuilt by following the KB article: Chrooted shell does not work after dist-upgrade
The command below contains
nodevin the output:
# findmnt $(stat -c '%m' /var/www/vhosts/chroot)
TARGET SOURCE FSTYPE OPTIONS
/var/www /dev/mapper/centos_var_www xfs rw,nosuid,nodev,relatime,seclabel,attr2,inode64,noquota
Note: In the example,
/var/www/vhostsis used. If your
vhostslocated in some other place, adjust the command accordingly.
/var/www/vhosts was mounted with
nodev option, it instructs OS do not interpret character or block special devices on the file system.
Remount partition without