View Single Post
Posts: 14 | Thanked: 28 times | Joined on May 2021
#166
Thank you both. Unfortunately I was dumb and assumed my kernel was fine - it wasn't. Sorry for wasting your time.

I have no idea how to recompile a kernal, so I think this is the end for me. Thanks for the help.

Code:
[root@Xperia10 defaultuser]# ls -lha /dev/pts/
total 0
drwxr-xr-x    2 root     root           0 May 25 17:23 .
drwxr-xr-x   23 root     root        7.8K May 25 17:26 ..
c--x--x--x    1 root     tty       136,   0 May 25 17:56 0
crw--w----    1 defaultu tty       136,   1 May 25 22:12 1
c---------    1 root     root        5,   2 May 25 17:23 ptmx

[root@Xperia10 defaultuser]# ls -l /dev/ptmx /dev/pts/ptmx
crw-rw-rw-    1 root     root        5,   2 May 25 22:12 /dev/p
tmx
c---------    1 root     root        5,   2 May 25 17:23 /dev/p
ts/ptmx

[root@Xperia10 defaultuser]#     zcat /proc/config.gz | grep CO
NFIG_DEVPTS_MULTIPLE_INSTANCES
[root@Xperia10 defaultuser]#

[root@Xperia10 defaultuser]# lxc-checkconfig
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
newuidmap is not installed
newgidmap is not installed
Network namespace: enabled

--- Control groups ---
Cgroups: enabled

Cgroup v1 mount points:
/sys/fs/cgroup/systemd
/sys/fs/cgroup/blkio
/sys/fs/cgroup/cpu,cpuacct
/sys/fs/cgroup/net_cls
/sys/fs/cgroup/devices
/sys/fs/cgroup/perf_event
/sys/fs/cgroup/memory
/sys/fs/cgroup/freezer

Cgroup v2 mount points:
/sys/fs/cgroup/unified

Cgroup v1 clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: missing
--- Misc ---
Veth pair device: enabled, not loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, not loaded
Advanced netfilter: enabled, not loaded
CONFIG_NF_NAT_IPV4: enabled, not loaded
CONFIG_NF_NAT_IPV6: enabled, not loaded
CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_IP6_NF_TARGET_MASQUERADE: missing
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded
FUSE (for use with lxcfs): enabled, not loaded

--- Checkpoint/Restore ---
checkpoint restore: enabled
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities:

Note : Before booting a new kernel, you can check its configura
tion
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig
 

The Following 3 Users Say Thank You to spoofykid For This Useful Post: