Re: [lxc-users] sendmail / use IP of host ? / network.type=none
I am afraid, that spam filters receiving emails from it will rate emails down, because of the NAT and the private IP. It's NAT that already gives your container access to public IP and also protects it from spammers outside. There are other ways but you really don't need them unless you want to receive mail too. If you care about your reputation against spam filters, make sure your public IP has DNS record (most likely your ISP already took care of this), and configure SPF records for your outgoing mail domains. -- With Best Regards, Marat Khalili ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] lxc stop / lxc reboot hang
On 2017-02-03 12:52, Tomasz Chmielewski wrote: Suddenly, today, I'm not able to stop or reboot any of containers: # lxc stop some-container Just sits there forever. In /var/log/lxd/lxd.log, only this single entry shows up: t=2017-02-03T03:46:20+ lvl=info msg="Shutting down container" creation date=2017-01-19T15:51:21+ ephemeral=false timeout=-1s name=some-container action=shutdown In /var/log/lxd/some-container/lxc.log, only this one shows up: lxc 20170203034624.534 WARN lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response The container actually stops (it's in STOPPED state in "lxc list"). The command just never returns. Tomasz Chmielewski https://lxadm.com ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] lxc stop / lxc reboot hang
--This is an automated reply.-- The person to whom to your email was addressed is no longer with MAXIMUM Communications INC. Unfortunately, due to spam control, we do NOT monitor this email address and have not received your request. If you do intend to send an email to MAXIMUM Communications INC or are a customer of MAXIMUM Communications INC , please initiate an email addressed to Service at maximumcallcenter.com. Thank you very much, MAXIMUM Communications INC ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] lxc stop / lxc reboot hang
--This is an automated reply.-- The person to whom to your email was addressed is no longer with MAXIMUM Communications INC. Unfortunately, due to spam control, we do NOT monitor this email address and have not received your request. If you do intend to send an email to MAXIMUM Communications INC or are a customer of MAXIMUM Communications INC , please initiate an email addressed to Service at maximumcallcenter.com. Thank you very much, MAXIMUM Communications INC ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] lxc stop / lxc reboot hang
--This is an automated reply.-- The person to whom to your email was addressed is no longer with MAXIMUM Communications INC. Unfortunately, due to spam control, we do NOT monitor this email address and have not received your request. If you do intend to send an email to MAXIMUM Communications INC or are a customer of MAXIMUM Communications INC , please initiate an email addressed to Service at maximumcallcenter.com. Thank you very much, MAXIMUM Communications INC ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
[lxc-users] lxc stop / lxc reboot hang
Suddenly, today, I'm not able to stop or reboot any of containers: # lxc stop some-container Just sits there forever. In /var/log/lxd/lxd.log, only this single entry shows up: t=2017-02-03T03:46:20+ lvl=info msg="Shutting down container" creation date=2017-01-19T15:51:21+ ephemeral=false timeout=-1s name=some-container action=shutdown In /var/log/lxd/some-container/lxc.log, only this one shows up: lxc 20170203034624.534 WARN lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response Running these: ii lxd 2.0.8-0ubuntu1~ubuntu16.04.2 amd64Container hypervisor based on LXC - daemon ii lxd-client 2.0.8-0ubuntu1~ubuntu16.04.2 amd64Container hypervisor based on LXC - client ii liblxc1 2.0.6-0ubuntu1~ubuntu16.04.2 amd64Linux Containers userspace tools (library) ii lxc-common 2.0.6-0ubuntu1~ubuntu16.04.2 amd64Linux Containers userspace tools (common tools) ii lxcfs2.0.5-0ubuntu1~ubuntu16.04.1 amd64FUSE based filesystem for LXC # uname -a Linux lxd01 4.9.0-040900-generic #201612111631 SMP Sun Dec 11 21:33:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Any clues how to fix this? Tomasz Chmielewski https://lxadm.com ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
[lxc-users] sendmail / use IP of host ? / network.type=none
I am experimenting with sendmail in a unpriviledged lxc container. It works nicely using a private IP address and NAT. However I am afraid, that spam filters receiving emails from it will rate emails down, because of the NAT and the private IP. Is there any way to access the IP address of the host from the container ? I tried lxc.network.type=none but then the unpriviledged container does not start any more (lxc-start: utils.c: safe_mount: 1746 Operation not permitted - Failed to mount sysfs onto /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys, using debian jessie backports lxc 1:2.0.6-1~bpo8+1). Is lxc.network.type=none generally not supported for unpriviledged containers, does it need additional configuration, or is this a problem of the distribution/version. Is there any other possibly to give the software in the container access to the ip address of the host ? Helmut Emmelmann -- - - H.E.I. Informationssysteme GmbH | Wimpfenerstraße 23 | 68259 Mannheim Tel: 0621-795141 | Fax: 0621-795161 | mailto:i...@h-e-i.de Geschäftsführer: Dr.Helmut Emmelmann, StNr.37001/32880,UstId DE185233091 Handelsregister: HRB 7273 | Amtsgericht Mannheim http://www.h-e-i.de | http://www.hei.biz | http://www.radpage.com - This message was sent using IMP, the Internet Messaging Program. This message was sent using IMP, the Internet Messaging Program. ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users