Hello,
[Edit]
Backup and restore seems to convert the LXC CT into an unprivileged container, this might cause this issues - under investigation ..]
[/Edit]
I'm using Proxmox 6.0 and I'm trying to pass through my TV card to a privileged container:
Contense of LXC container config file:
lspci -s 04:00.0 -v on Proxmox Server:
lscpi -s 04:00.0 -v on LXC container: -> Capabilities access denied
ls -la /dev/dvb/adapter0 or adapter1 -> mounted to nobody, that is the reason.
All is done on root account.
Premission to folder /dev/dvb is set with chmod -R 777 /dev/dvb
is the Configuration inside LXC(no).conf incorrect? I took this information from a several guides.
lxc.cgroup.devices.allow: c 212:* rwm
lxc.mount.entry: /dev/dvb dev/dvb none bind,optional,create=dir
Why is it still mounted to user nobody?
I already got issues with a shared file system mount point, but this was solved when changing permissions to 777.
Thanks in advance for suggestions and tips.
Kitsab
[Edit]
Backup and restore seems to convert the LXC CT into an unprivileged container, this might cause this issues - under investigation ..]
[/Edit]
I'm using Proxmox 6.0 and I'm trying to pass through my TV card to a privileged container:
Contense of LXC container config file:
Code:
arch: amd64
cores: 1
features: nesting=1
hostname: vdr
memory: 1024
mp0: /mnt/bindmounts/vdr,mp=/video/archive
mp1: /mnt/bindmounts/data,mp=/mnt/data
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.111.222,hwaddr=2E:DF:5C:DF:3E:F7,ip=192.168.111.202/24,type=veth
onboot: 1
ostype: archlinux
rootfs: pvedata:vm-101-disk-0,size=300G
swap: 512
unprivileged: 0
lxc.cgroup.devices.allow: c 212:* rwm
lxc.mount.entry: /dev/dvb dev/dvb none bind,optional,create=dir
lspci -s 04:00.0 -v on Proxmox Server:
Code:
04:00.0 Multimedia controller: Digital Devices GmbH Cine V7
Subsystem: Digital Devices GmbH Cine V7
Flags: bus master, fast devsel, latency 0, IRQ 23
Memory at 91300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/2 Maskable- 64bit+
Capabilities: [90] Express Endpoint, MSI 00
Kernel driver in use: ddbridge
Kernel modules: ddbridge
lscpi -s 04:00.0 -v on LXC container: -> Capabilities access denied
Code:
04:00.0 Multimedia controller: Digital Devices GmbH Cine V7
Subsystem: Digital Devices GmbH Cine V7
Flags: bus master, fast devsel, latency 0, IRQ 23
Memory at 91300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ddbridge
ls -la /dev/dvb/adapter0 or adapter1 -> mounted to nobody, that is the reason.
Code:
drwxrwxrwx 2 nobody nobody 120 Sep 29 23:45 .
drwxrwxrwx 4 nobody nobody 80 Sep 29 23:45 ..
crwxrwxrwx 1 nobody nobody 212, 0 Sep 29 23:45 demux0
crwxrwxrwx 1 nobody nobody 212, 1 Sep 29 23:45 dvr0
crwxrwxrwx 1 nobody nobody 212, 3 Sep 29 23:45 frontend0
crwxrwxrwx 1 nobody nobody 212, 2 Sep 29 23:45 net0
All is done on root account.
Premission to folder /dev/dvb is set with chmod -R 777 /dev/dvb
is the Configuration inside LXC(no).conf incorrect? I took this information from a several guides.
lxc.cgroup.devices.allow: c 212:* rwm
lxc.mount.entry: /dev/dvb dev/dvb none bind,optional,create=dir
Why is it still mounted to user nobody?
I already got issues with a shared file system mount point, but this was solved when changing permissions to 777.
Thanks in advance for suggestions and tips.
Kitsab
Last edited: