I am using lxc container. and I have an eeprom on my hardware board
connected via i2c adaptor.
my gaming application uses this eeprom to store some settings.

In my sysfs, the eeprom nodes are:


Since the sysfs is dynamic, so I created a sym link to these eeproms at :

/dev/kmcwire/eeprom0 ->
/dev/kmcwire/eeprom1 ->

now, in my host I used to read/write to nodes "/dev/kmcwire/eeprom*"

Inside the container, I am not able to do that. I get 'Permission Denied'

In my config file, I made some changes:

I changed "lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed" to
"lxc.mount.auto = cgroup:mixed proc:mixed *sys:rw*" to mount sysfs in
read-write mode.

I added the line "lxc.mount.entry = /dev/kmcwire dev/kmcwire none

Can anyone help me point out the issue here ?
lxc-users mailing list

Reply via email to