Skip to content

/var/lib/lxc may not give you read permissions #53

@jamesonjlee

Description

@jamesonjlee

running on a clean 12.04.2 ubuntu precise:

vagrant@vagabond-lxc-host:~/chef-repo$ bundle exec vagabond server up
Ensuring expected system state (creating required base containers)
   - This can take a while on first run or new templates...
  -> COMPLETE!
Vagabond: Creating server
Vagabond exiting. Reason: Permission denied - /var/lib/lxc/vb-zero-server-cVv8BFam1VIx/config
vagrant@vagabond-lxc-host:~/chef-repo$ ls -l /var/lib/
total 148
drwxr-xr-x 4 root    root    4096 May 11  2013 AccountsService
...
drwx------ 6 root    root    4096 Nov 14 04:29 lxc
...
drwxr-xr-x 2 root    root    4096 Jan 24  2010 yum
vagrant@vagabond-lxc-host:~/chef-repo$ ls -l /var/lib/lxc/
total 16
drwxr-xr-x 3 root root 4096 Nov 14 04:21 ubuntu_1204
drwxr-xr-x 3 root root 4096 Nov 14 04:23 vb-zero-server
drwxr-xr-x 3 root root 4096 Nov 14 04:29 vb-zero-server-cVv8BFam1VIx
drwxr-xr-x 3 root root 4096 Nov 14 04:28 vb-zero-server-lSOLd6VwKR47

when the /var/lib/lxc was changed to 755 it runs fine, so a quick check for permission and a chmod probably will fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions