[Bug 1446906] Re: lxc container with postfix, permission denied on mailq

2015-12-20 Thread Anton Statutov
@jjohansen, I've tested your build and can confirm it fixes the issue. root@host:~# uname -a Linux host 3.19.0-31-generic #36+lp1446906v3 SMP Fri Dec 18 08:37:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux root@lxc:~# mailq Mail queue is empty -- You received this bug notification because you are

[Bug 1446906] Re: lxc container with postfix, permission denied on mailq

2015-12-08 Thread Anton Statutov
I encountered this problem too on Ubuntu 15.04 running 3.19.0-39 kernel. Fixed it by turned off apparmor profile for LXC container by adding "lxc.aa_profile = unconfined" into container's config. In my case increased security risk is acceptable, but it's desirable to fix it the right way. Is ther

[Bug 1515615] Re: Disk quotas don't work in LXC containers

2015-11-13 Thread Anton Statutov
You are right, I have got other problems after adding the device to the container. I see it is possible to get quota working, but it's too tricky and unpredictrable for production use. I'm wondering why LXC is not using real device by default for LVM (XFS etc.)? -- You received this bug notifica

[Bug 1515615] Re: Disk quotas don't work in LXC containers

2015-11-12 Thread Anton Statutov
As LXC manpage states the 'lxc.rootfs.optionst' option is "extra mount options to use when mounting the rootfs". In my case this is an LVM device. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net

[Bug 1515615] [NEW] Disk quotas don't work in LXC containers

2015-11-12 Thread Anton Statutov
Public bug reported: I'm trying to enable disk quotas in LXC container by adding option to its config: lxc.rootfs.options = usrquota After booting the container I'm trying to initialize quotas but getting the following error: r...@test.lxc:~# quotacheck -gum / quotacheck: Cannot stat() mounted

[Bug 1389954] Re: Make .lxc domain name resolution easier to discover and enable

2015-10-09 Thread Anton Statutov
Tried to follow the documentation on Ubuntu Server 15.04 with no luck. I have activated LXC_DOMAIN="lxc" in /etc/default/lxc-net, then created /etc/dnsmasq.conf and added server=/lxc/10.0.3.1 (there is no NetworkManager installed). Tried to reboot, but still getting "ping: unknown host container.l