[lxc-users] LXCFS install issue

Rajasekar Darapuram raj at robinsystems.com
Wed Apr 29 14:59:01 UTC 2015


here's the log from /var/log/upstart/lxcfs.log

fuse: read too many bytes
fuse: writing device: Invalid argument


also i ran trace on lxc-start and attached is the output

root at test15:/var/lib# lxc-start -n hadoop21 -l trace -o debug4.out
root at test15:/var/lib# service lxcfs status
lxcfs start/running, process 10106
root at test15:/var/lib# lxc-attach -n hadoop21 -- ps
Error: /proc must be mounted
  To mount /proc at boot you need an /etc/fstab line like:
      proc   /proc   proc    defaults
  In the meantime, run "mount proc /proc -t proc"


      lxc-start 1430318976.041 INFO     lxc_start_ui - lxc_start.c:main:264
- using rcfile /var/lib/lxc/hadoop21/config
      lxc-start 1430318976.041 WARN     lxc_confile -
confile.c:config_pivotdir:1782 - lxc.pivotdir is ignored.  It will soon
become an error.
      lxc-start 1430318976.044 WARN     lxc_cgmanager -
cgmanager.c:cgm_get:967 - do_cgm_get exited with error
      lxc-start 1430318976.045 INFO     lxc_start -
start.c:lxc_check_inherited:224 - closed inherited fd 4
      lxc-start 1430318976.051 INFO     lxc_container -
lxccontainer.c:do_lxcapi_start:708 - Attempting to set proc title to [lxc
monitor] /var/lib/lxc hadoop21
      lxc-start 1430318976.052 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 -
LSM security driver AppArmor
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:316 - processing: .reject_force_umount  # comment
this to allow umount -f;  not recommended.
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:419 - Adding non-compat rule for
reject_force_umount action 0
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:do_resolve_add_rule:210 - Setting seccomp rule to reject force
umounts

      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:430 - Adding compat rule for reject_force_umount
action 0
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:438 - Adding non-compat rule bc nr1 == nr2 (-1,
-1)
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:do_resolve_add_rule:210 - Setting seccomp rule to reject force
umounts

      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:316 - processing: .[all].
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:316 - processing: .kexec_load errno 1.
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:419 - Adding non-compat rule for kexec_load
action 327681
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:430 - Adding compat rule for kexec_load action
327681
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:443 - Really adding compat rule bc nr1 == nr2
(283, 246)
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:316 - processing: .open_by_handle_at errno 1.
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:419 - Adding non-compat rule for
open_by_handle_at action 327681
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:430 - Adding compat rule for open_by_handle_at
action 327681
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:443 - Really adding compat rule bc nr1 == nr2
(342, 304)
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:316 - processing: .init_module errno 1.
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:419 - Adding non-compat rule for init_module
action 327681
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:430 - Adding compat rule for init_module action
327681
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:443 - Really adding compat rule bc nr1 == nr2
(128, 175)
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:316 - processing: .finit_module errno 1.
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:419 - Adding non-compat rule for finit_module
action 327681
      lxc-start 1430318976.052 WARN     lxc_seccomp -
seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall:
finit_module
      lxc-start 1430318976.052 WARN     lxc_seccomp -
seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:430 - Adding compat rule for finit_module action
327681
      lxc-start 1430318976.052 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:438 - Adding non-compat rule bc nr1 == nr2
(-10085, -10085)
      lxc-start 1430318976.053 WARN     lxc_seccomp -
seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall:
finit_module
      lxc-start 1430318976.053 WARN     lxc_seccomp -
seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
      lxc-start 1430318976.053 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:316 - processing: .delete_module errno 1.
      lxc-start 1430318976.053 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:419 - Adding non-compat rule for delete_module
action 327681
      lxc-start 1430318976.053 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:430 - Adding compat rule for delete_module action
327681
      lxc-start 1430318976.053 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:443 - Really adding compat rule bc nr1 == nr2
(129, 176)
      lxc-start 1430318976.053 INFO     lxc_seccomp -
seccomp.c:parse_config_v2:451 - Merging in the compat seccomp ctx into the
main one
      lxc-start 1430318976.053 DEBUG    lxc_start -
start.c:setup_signal_fd:262 - sigchild handler set
      lxc-start 1430318976.053 INFO     lxc_start -
start.c:lxc_check_inherited:224 - closed inherited fd 4
      lxc-start 1430318976.054 DEBUG    lxc_console -
console.c:lxc_console_peer_default:536 - no console peer
      lxc-start 1430318976.054 INFO     lxc_start - start.c:lxc_init:454 -
'hadoop21' is initialized
      lxc-start 1430318976.054 DEBUG    lxc_start -
start.c:__lxc_start:1151 - Not dropping cap_sys_boot or watching utmp
      lxc-start 1430318976.057 INFO     lxc_conf - conf.c:run_script:406 -
Executing script '/usr/local/bin/lxc_ovs' for container 'hadoop21', config
section 'net'
      lxc-start 1430318976.060 INFO     lxc_monitor -
monitor.c:lxc_monitor_sock_name:178 - using monitor sock name
lxc/ad055575fe28ddd5//var/lib/lxc
      lxc-start 1430318976.070 DEBUG    lxc_conf -
conf.c:instantiate_veth:2697 - instantiated veth 'vethCCVYN9/vethW8E4TI',
index is '35'
      lxc-start 1430318976.070 INFO     lxc_cgroup -
cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for hadoop21
      lxc-start 1430318976.074 INFO     lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1262 - cgroup limits have been setup
      lxc-start 1430318976.107 DEBUG    lxc_conf -
conf.c:lxc_assign_network:3120 - move 'eth0' to '10008'
      lxc-start 1430318976.112 DEBUG    lxc_conf - conf.c:setup_rootfs:1284
- mounted '/instances/hadoop21' on '/usr/lib/x86_64-linux-gnu/lxc'
      lxc-start 1430318976.112 INFO     lxc_conf - conf.c:setup_utsname:919
- 'hadoop21' hostname has been setup
      lxc-start 1430318976.127 DEBUG    lxc_conf -
conf.c:setup_hw_addr:2246 - mac address '00:16:0a:07:c8:15' on 'eth0' has
been setup
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:setup_netdev:2473
- 'eth0' has been setup
      lxc-start 1430318976.128 INFO     lxc_conf -
conf.c:setup_network:2494 - network has been setup
      lxc-start 1430318976.128 INFO     lxc_conf -
conf.c:mount_autodev:1148 - Mounting /dev under
/usr/lib/x86_64-linux-gnu/lxc
      lxc-start 1430318976.128 INFO     lxc_conf -
conf.c:mount_autodev:1169 - Mounted tmpfs onto
/usr/lib/x86_64-linux-gnu/lxc/dev
      lxc-start 1430318976.128 INFO     lxc_conf -
conf.c:mount_autodev:1187 - Mounted /dev under /usr/lib/x86_64-linux-gnu/lxc
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1729
- remounting /sys/fs/fuse/connections on
/usr/lib/x86_64-linux-gnu/lxc/sys/fs/fuse/connections to respect bind or
remount options
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1744
- (at remount) flags for /sys/fs/fuse/connections was 4096, required extra
flags are 0
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1753
- mountflags already was 4096, skipping remount
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1779
- mounted '/sys/fs/fuse/connections' on
'/usr/lib/x86_64-linux-gnu/lxc/sys/fs/fuse/connections', type 'none'
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1729
- remounting /sys/kernel/debug on
/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug to respect bind or remount
options
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1744
- (at remount) flags for /sys/kernel/debug was 4096, required extra flags
are 0
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1753
- mountflags already was 4096, skipping remount
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1779
- mounted '/sys/kernel/debug' on
'/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug', type 'none'
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1729
- remounting /sys/kernel/security on
/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/security to respect bind or
remount options
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1744
- (at remount) flags for /sys/kernel/security was 4096, required extra
flags are 0
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1753
- mountflags already was 4096, skipping remount
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1779
- mounted '/sys/kernel/security' on
'/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/security', type 'none'
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1729
- remounting /sys/fs/pstore on /usr/lib/x86_64-linux-gnu/lxc/sys/fs/pstore
to respect bind or remount options
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1744
- (at remount) flags for /sys/fs/pstore was 4096, required extra flags are 0
      lxc-start 1430318976.128 DEBUG    lxc_conf - conf.c:mount_entry:1753
- mountflags already was 4096, skipping remount
      lxc-start 1430318976.129 DEBUG    lxc_conf - conf.c:mount_entry:1779
- mounted '/sys/fs/pstore' on
'/usr/lib/x86_64-linux-gnu/lxc/sys/fs/pstore', type 'none'
      lxc-start 1430318976.129 INFO     lxc_conf -
conf.c:mount_file_entries:2028 - mount points have been setup
      lxc-start 1430318976.129 INFO     lxc_conf -
conf.c:run_script_argv:356 - Executing script
'/usr/share/lxcfs/lxc.mount.hook' for container 'hadoop21', config section
'lxc'
      lxc-start 1430318976.230 INFO     lxc_conf - conf.c:fill_autodev:1215
- Creating initial consoles under /usr/lib/x86_64-linux-gnu/lxc/dev
      lxc-start 1430318976.230 INFO     lxc_conf - conf.c:fill_autodev:1226
- Populating /dev under /usr/lib/x86_64-linux-gnu/lxc
      lxc-start 1430318976.230 INFO     lxc_conf - conf.c:fill_autodev:1258
- Populated /dev under /usr/lib/x86_64-linux-gnu/lxc
      lxc-start 1430318976.230 INFO     lxc_conf -
conf.c:setup_ttydir_console:1530 - created
/usr/lib/x86_64-linux-gnu/lxc/dev/lxc
      lxc-start 1430318976.230 INFO     lxc_conf -
conf.c:setup_ttydir_console:1576 - console has been setup on lxc/console
      lxc-start 1430318976.230 INFO     lxc_conf -
conf.c:do_tmp_proc_mount:3576 - I am 1, /proc/self points to '1'
      lxc-start 1430318976.247 DEBUG    lxc_conf -
conf.c:setup_rootfs_pivot_root:1126 - pivot_root syscall to
'/usr/lib/x86_64-linux-gnu/lxc' successful
      lxc-start 1430318976.247 DEBUG    lxc_conf -
conf.c:lxc_create_tty:3364 - allocated pty '/dev/pts/0' (9/12)
      lxc-start 1430318976.247 DEBUG    lxc_conf -
conf.c:lxc_create_tty:3364 - allocated pty '/dev/pts/1' (13/14)
      lxc-start 1430318976.247 DEBUG    lxc_conf -
conf.c:lxc_create_tty:3364 - allocated pty '/dev/pts/2' (15/16)
      lxc-start 1430318976.247 DEBUG    lxc_conf -
conf.c:lxc_create_tty:3364 - allocated pty '/dev/pts/3' (17/18)
      lxc-start 1430318976.247 INFO     lxc_conf -
conf.c:lxc_create_tty:3375 - tty's configured
      lxc-start 1430318976.247 INFO     lxc_conf - conf.c:setup_tty:1071 -
4 tty(s) has been setup
      lxc-start 1430318976.247 DEBUG    lxc_conf - conf.c:setup_caps:2157 -
drop capability 'mac_admin' (33)
      lxc-start 1430318976.247 DEBUG    lxc_conf - conf.c:setup_caps:2157 -
drop capability 'mac_override' (32)
      lxc-start 1430318976.247 DEBUG    lxc_conf - conf.c:setup_caps:2157 -
drop capability 'sys_time' (25)
      lxc-start 1430318976.248 DEBUG    lxc_conf - conf.c:setup_caps:2157 -
drop capability 'sys_module' (16)
      lxc-start 1430318976.248 DEBUG    lxc_conf - conf.c:setup_caps:2166 -
capabilities have been setup
      lxc-start 1430318976.248 NOTICE   lxc_conf - conf.c:lxc_setup:3955 -
'hadoop21' is setup.
      lxc-start 1430318976.248 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.deny' set to 'a'
      lxc-start 1430318976.249 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c *:* m'
      lxc-start 1430318976.249 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'b *:* m'
      lxc-start 1430318976.249 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 1:3
rwm'
      lxc-start 1430318976.250 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 1:5
rwm'
      lxc-start 1430318976.250 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 1:7
rwm'
      lxc-start 1430318976.250 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 5:0
rwm'
      lxc-start 1430318976.250 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 5:1
rwm'
      lxc-start 1430318976.251 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 5:2
rwm'
      lxc-start 1430318976.251 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 1:8
rwm'
      lxc-start 1430318976.251 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 1:9
rwm'
      lxc-start 1430318976.251 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 136:*
rwm'
      lxc-start 1430318976.252 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 10:229
rwm'
      lxc-start 1430318976.252 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 254:0
rm'
      lxc-start 1430318976.252 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 10:200
rwm'
      lxc-start 1430318976.252 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 10:228
rwm'
      lxc-start 1430318976.253 DEBUG    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1258 - cgroup 'devices.allow' set to 'c 10:232
rwm'
      lxc-start 1430318976.253 INFO     lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1262 - cgroup limits have been setup
      lxc-start 1430318976.253 INFO     lxc_apparmor -
lsm/apparmor.c:apparmor_process_label_set:187 - changed apparmor profile to
lxc-container-default
      lxc-start 1430318976.253 NOTICE   lxc_start - start.c:start:1253 -
exec'ing '/sbin/init'
      lxc-start 1430318976.254 NOTICE   lxc_start - start.c:post_start:1264
- '/sbin/init' started with pid '10008'
      lxc-start 1430318976.254 WARN     lxc_start -
start.c:signal_handler:310 - invalid pid for SIGCHLD
      lxc-start 1430318976.254 DEBUG    lxc_commands -
commands.c:lxc_cmd_handler:888 - peer has disconnected
      lxc-start 1430318976.256 DEBUG    lxc_commands -
commands.c:lxc_cmd_get_state:574 - 'hadoop21' is in 'RUNNING' state
      lxc-start 1430318976.256 DEBUG    lxc_commands -
commands.c:lxc_cmd_handler:888 - peer has disconnected
      lxc-start 1430318995.497 DEBUG    lxc_commands -
commands.c:lxc_cmd_handler:888 - peer has disconnected
      lxc-start 1430318995.498 DEBUG    lxc_commands -
commands.c:lxc_cmd_handler:888 - peer has disconnected
      lxc-start 1430318995.500 DEBUG    lxc_commands -
commands.c:lxc_cmd_handler:888 - peer has disconnected
      lxc-start 1430318995.501 DEBUG    lxc_commands -
commands.c:lxc_cmd_handler:888 - peer has disconnected



On Wed, Apr 29, 2015 at 9:27 AM, Rajasekar Darapuram <raj at robinsystems.com>
wrote:

> Further..
> Now I only have one container running on my system. I redid the steps
>
> 1. ran fusermount -uz /var/lib/lxcfs (as service lxcfs start was failing)
> 2. Start lxcfs..checked the status and it is running
> 3. Start a container
> 4. Check lxcfs status and it is in start/running
>
> Now I attach to the container and run ps, I get the same error
>
> *Error: /proc must be mounted*
> *  To mount /proc at boot you need an /etc/fstab line like:*
> *      proc   /proc   proc    defaults*
> *  In the meantime, run "mount proc /proc -t proc"*
>
> *Please let me know.*
>
> *Thanks*
>
> On Tue, Apr 28, 2015 at 9:37 PM, Rajasekar Darapuram <raj at robinsystems.com
> > wrote:
>
>> When I try to restart restart the containers..on lxc-start the lxcfs is
>> getting killed again...Do I need to reboot the machine?
>>
>> So here are the steps I did
>>
>> 1. Stopped all containers
>> 2. ran fusermount -uz /var/lib/lxcfs (as service lxcfs start was failing)
>> 3. Start lxcfs..checked the status and it is running
>> 4. Start a container
>> 5. Check lxcfs status and it is in stop/waitting
>>
>> Please let me know.
>>
>> Thanks
>>
>>
>> On Fri, Apr 24, 2015 at 7:38 PM, Stéphane Graber <stgraber at ubuntu.com>
>> wrote:
>>
>>> On Fri, Apr 24, 2015 at 07:30:00PM -0500, Rajasekar Darapuram wrote:
>>> > Hi
>>> > When I add ppa:ubuntu-lxc/daily repo and do an apt-get install lxcfs
>>> (and
>>> > lxc, cgmanager) LXCFS is working fine inside containers. But the
>>> apt-get
>>> > downloads the latest deb everyday..TO be consistent for all developers
>>> I
>>> > downloaded the debs and wrote a script to upgrade LXC 1.10 to LXC 1.1.
>>> and
>>> > LXCFS.   It installs the new versions of LXC and LXCFS. I was able to
>>> > create containers and start the,. However when I attach to the
>>> container
>>> > and run ps command I get this error (if I stop lxcfs service, then ps
>>> is
>>> > working fine inside the containers)
>>> >
>>> > root at eqx03-flash04:/etc# lxc-ls -f
>>> > NAME                            STATE    IPV4  IPV6  GROUPS  AUTOSTART
>>> > ----------------------------------------------------------------------
>>> > eqx03-vnode18 <http://eqx03-vnode18.robinsystems.com> STOPPED  -     -
>>> > -       NO
>>> > eqx03-vnode52 <http://eqx03-vnode52.robinsystems.com> STOPPED  -     -
>>> > -       NO
>>> > root at eqx03-flash04:/etc# lxc-start -n eqx03-vnode18
>>> > <http://eqx03-vnode18.robinsystems.com>
>>> > root at eqx03-flash04:/etc# lxc-ls -f
>>> > NAME                            STATE    IPV4         IPV6  GROUPS
>>> >  AUTOSTART
>>> >
>>> -----------------------------------------------------------------------------
>>> > eqx03-vnode18 <http://eqx03-vnode18.robinsystems.com>  RUNNING
>>> 10.9.240.18
>>> >  -     -       NO
>>> > eqx03-vnode52 <http://eqx03-vnode52.robinsystems.com>  STOPPED  -
>>> >  -     -       NO
>>> > root at eqx03-flash04:/etc# service lxcfs status
>>> > lxcfs start/running, process 22159
>>> >
>>> > root at eqx03-flash04:/etc# ls /var/lib/lxcfs
>>> > cgroup  proc
>>> > root at eqx03-flash04:/etc#
>>> > root at eqx03-flash04:/etc# lxc-attach -n eqx03-vnode18
>>> > <http://eqx03-vnode18.robinsystems.com>
>>> > *root at eqx03-vnode18:/etc# ps*
>>> > *Error: /proc must be mounted*
>>> > *  To mount /proc at boot you need an /etc/fstab line like:*
>>> > *      proc   /proc   proc    defaults*
>>> > *  In the meantime, run "mount proc /proc -t proc"*
>>> >
>>> >
>>> > Also sometimes lxcfs service is getting killed and when I do an ls on
>>> > /var/lib/lxcfs, I get this error
>>> > transport endpoint is not connected
>>> >
>>> > Please let me know.
>>> >
>>> > Thanks
>>> > Raj
>>>
>>> It's unfortunately a known issue with lxcfs (and one that is based on a
>>> kernel limitation so unlikely to be resolved very soon).
>>>
>>> Restarting lxcfs (by an update or a crash) causes any container using it
>>> to return empty files instead of the lxcfs files.
>>>
>>> The only fix for this issue is to restart all your containers whenever
>>> lxcfs is restarted.
>>>
>>> --
>>> Stéphane Graber
>>> Ubuntu developer
>>> http://www.ubuntu.com
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150429/11542d8e/attachment-0001.html>


More information about the lxc-users mailing list