Something funky with pct enter -- this just stared happening, wasnt occuring before. Something's changed (no no packages have been updated on the container that i know of... but obviously something changed while I wasnt looking...)
root@arch:/etc/pve/nodes/arch/lxc# pct enter 909
website:/# ps auxwwf
Error, do this: mount -t proc proc /proc
website:/# mount -t proc proc /proc
mount: proc is write-protected, mounting read-only
mount: cannot mount proc read-only
website:/# mount
mount: failed to read mtab: No such file or directory
website:/# ls -la /sys
total 9
drwxr-xr-x 2 root root 2 Mar 26 2012 .
drwxr-xr-x 23 root root 23 Jun 14 17:50 ..
website:/# ip a | grep inet.*eth0
inet 192.168.1.169/25 brd 199.27.180.255 scope global eth0
website:/# exit
exit
root@arch:/etc/pve/nodes/arch/lxc# ssh -192.168.1.169
Linux website 4.15.18-11-pve #1 SMP PVE 4.15.18-34 (Mon, 25 Feb 2019 14:51:06 +0100) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Thu Aug 29 09:36:27 2019 from arch
website:~# ls -la /proc | wc -l
182
website:~# cat /proc/mounts | grep proc
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
However something else is also still wrong, mysql wont start (didnt look into it deeply yet).
I have found many other issues with pct enter (it's not a real terminal for eg cant run screen in it) -- should it be avoided in general? This is a new one to me though, a different view of the filesystem to the point where /proc is missing somehow.
Restarting the container fixed it (and mysql).
version: pve-manager/5.3-12/5fbbbaf6 (running kernel: 4.15.18-11-pve)
root@arch:/etc/pve/nodes/arch/lxc# pct enter 909
website:/# ps auxwwf
Error, do this: mount -t proc proc /proc
website:/# mount -t proc proc /proc
mount: proc is write-protected, mounting read-only
mount: cannot mount proc read-only
website:/# mount
mount: failed to read mtab: No such file or directory
website:/# ls -la /sys
total 9
drwxr-xr-x 2 root root 2 Mar 26 2012 .
drwxr-xr-x 23 root root 23 Jun 14 17:50 ..
website:/# ip a | grep inet.*eth0
inet 192.168.1.169/25 brd 199.27.180.255 scope global eth0
website:/# exit
exit
root@arch:/etc/pve/nodes/arch/lxc# ssh -192.168.1.169
Linux website 4.15.18-11-pve #1 SMP PVE 4.15.18-34 (Mon, 25 Feb 2019 14:51:06 +0100) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Thu Aug 29 09:36:27 2019 from arch
website:~# ls -la /proc | wc -l
182
website:~# cat /proc/mounts | grep proc
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
However something else is also still wrong, mysql wont start (didnt look into it deeply yet).
I have found many other issues with pct enter (it's not a real terminal for eg cant run screen in it) -- should it be avoided in general? This is a new one to me though, a different view of the filesystem to the point where /proc is missing somehow.
Restarting the container fixed it (and mysql).
version: pve-manager/5.3-12/5fbbbaf6 (running kernel: 4.15.18-11-pve)
Last edited: