[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2020-03-25 Thread Stéphane Graber
** Changed in: lxc (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1452601 Title: vivid container's networking.service fails on

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-15 Thread Chris West
I haven't seen this issue for ages, using primarily sid and wily guests. Trying again on my desktop, which definitely used to have the issue, I can't reproduce it, using: 2015-11-15 11:29:28 status installed liblxc1:amd64 1.1.5-0ubuntu0.15.10.2 2015-11-15 11:29:29 status installed

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-13 Thread Serge Hallyn
@faux do you still have this issue? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1452601 Title: vivid container's networking.service fails on boot with signal=PIPE Status

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-13 Thread Serge Hallyn
How about a comment in the /etc/default/lxc-net file? I guess the question is - when it broke for you, which files did you first look at to try to fix it? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu.

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-13 Thread Kevin Dalley
I suggest that README.Debian (or Ubuntu) mention the workarounds regarding bind9 and ipv6. It might save some time in debugging lxc problems. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu.

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-13 Thread Kevin Dalley
What I should do is try to back out some of my changes and determine whether I can duplicate the problem. Then I can determine which changes matter and which ones don't. I won't have time for a few days, but I will do my best. -- You received this bug notification because you are a member of

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-12 Thread Kevin Dalley
And suddenly, it has started working. I don't know why. I did a reboot sudo systemctl status lxc-net The above command suddenly had results which looked familiar, in a good way. Before this, I had unsuccessfully tried a few of the sample lxc. Perhaps I updated something which fixed the

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-10 Thread Kevin Dalley
*** This bug is a duplicate of bug 1240757 *** https://bugs.launchpad.net/bugs/1240757 I had missed restart lxc-net. Unfortunately, that didn't make any difference. kevin@awabi:~$ sudo lxc-start -n escale_build --logfile /tmp/lxc-log --logpriority 3 -F lxc-start: conf.c: instantiate_veth:

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-10 Thread Serge Hallyn
What does sudo /usr/lib/x86_64-linux-gnu/lxc/lxc-net stop sudo /usr/lib/x86_64-linux-gnu/lxc/lxc-net start sudo netstat -lap| grep LISTEN show now that you've updated bind9's configuration? ** This bug is no longer a duplicate of bug 1240757 Bridge not created if

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-09 Thread Kevin Dalley
*** This bug is a duplicate of bug 1240757 *** https://bugs.launchpad.net/bugs/1240757 Thanks for your help. Unfortunately, I didn't have any luck with this either. I added listen-on { ! 10.0.3.1; }; just before the final "}" line. restarted bind9, and I have the same error

Re: [Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-09 Thread Serge Hallyn
*** This bug is a duplicate of bug 1240757 *** https://bugs.launchpad.net/bugs/1240757 Quoting Kevin Dalley (1452...@bugs.launchpad.net): > *** This bug is a duplicate of bug 1240757 *** > https://bugs.launchpad.net/bugs/1240757 > > I have now added > > listen-on-v6 { none; }; >

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-09 Thread Kevin Dalley
*** This bug is a duplicate of bug 1240757 *** https://bugs.launchpad.net/bugs/1240757 I have now added listen-on-v6 { none; }; restarted bind9, and again nothing: kevin@awabi:~/src$ sudo lxc-start -n escale_build --logfile /tmp/lxc-log --logpriority 3 -Flxc-start: conf.c:

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-06 Thread Kevin Dalley
kevin@awabi:~/notes/security$ sudo netstat -lap| grep LISTEN [sudo] password for kevin: tcp0 0 usscc-mvetter.co:domain *:* LISTEN 1192/named tcp0 0 192.168.43.174:domain *:* LISTEN 1192/named tcp0

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-06 Thread Serge Hallyn
*** This bug is a duplicate of bug 1240757 *** https://bugs.launchpad.net/bugs/1240757 D'oh! thanks for that info. You are running bind9, which is causing the conflict. To work around this, you can tell bind9 to not listen on 10.0.3.1 - see

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-05 Thread Serge Hallyn
Ok, so the error msg is simply misleading - it says 'permission denied', but the bridge does not exist. Can you please show: sudo /usr/lib/x86_64-linux-gnu/lxc/lxc-net stop sudo /usr/lib/x86_64-linux-gnu/lxc/lxc-net start sudo brctl show and see if your container now starts? Please also paste

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-05 Thread Serge Hallyn
You're still getting dnsmasq: failed to create listening socket for 10.0.3.1: Cannot assign requested address What does sudo netstat -lap| grep LISTEN show? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-05 Thread Kevin Dalley
Thanks again. kevin@awabi:~/tmp$ sudo /usr/lib/x86_64-linux-gnu/lxc/lxc-net stop kevin@awabi:~/tmp$ sudo /usr/lib/x86_64-linux-gnu/lxc/lxc-net start dnsmasq: failed to create listening socket for 10.0.3.1: Cannot assign requested address Failed to setup lxc-net. kevin@awabi:~/tmp$ sudo brctl

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-04 Thread Kevin Dalley
Thanks. kevin@awabi:~$ sudo brctl show bridge name bridge id STP enabled interfaces virbr0 8000.52540063031d yes virbr0-nic kevin@awabi:~$ sudo ifconfig -a loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-04 Thread Serge Hallyn
Hi, you're actually geting EPERM, which means lxcbr0 exists. Please show the output of: sudo lxc-start -n escale_build -F -l trace -o /dev/stdout sudo brctl show sudo ifconfig -a sudo journalctl -u lxc-net sudo systemd-detect-virt -- You received this bug notification because you are a

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-04 Thread Kevin Dalley
Thanks. kevin@awabi:~$ sudo lxc-start -n escale_build -F -l trace -o /dev/stdout lxc-start 1446650865.960 INFO lxc_start_ui - lxc_start.c:main:264 - using rcfile /var/lib/lxc/escale_build/config lxc-start 1446650865.961 WARN lxc_confile - confile.c:config_pivotdir:1801 -

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-04 Thread Serge Hallyn
Thanks, what about sudo brctl show sudo ifconfig -a sudo journalctl -u lxc-net sudo systemd-detect-virt -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1452601 Title: vivid

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-03 Thread Serge Hallyn
@Kevin, could you please give some more details? In particular, release of both host and container, where exactly it fails, and the relevant journalctl output. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu.

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-03 Thread Kevin Dalley
Host is: Linux awabi 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux container is: Linux escalebuild 3.16.0-51-generic #69~14.04.1-Ubuntu SMP Wed Oct 7 15:32:41 UTC 2015 x86_64 GNU/Linux here is output from my attempt to start: kevin@awabi:~$ sudo

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-11-02 Thread Kevin Dalley
I upgraded to Wiley, and the problem has shown up again. I haven't managed to fix it yet under Wiley, though I could fix it under Vivid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu.

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-09-07 Thread Serge Hallyn
I just created a vivid container on a vivid host, and got: root@v1:~# systemctl status networking.service ● networking.service - LSB: Raise network interfaces. Loaded: loaded (/etc/init.d/networking) Drop-In: /run/systemd/generator/networking.service.d

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-09-05 Thread David Favor
I had to remove both lines, in my case. And this is likely a less than correct fix. I'm under the gun to get a client machine I'm hosting setup to run many of their sites in LXC containers, so time I invested looking at this fix was minimal. Likely the entire stop function is best revisited, to

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-09-05 Thread David Favor
Just setting up a fresh Vivid LXC host machine + I was incorrect above. There's no requirement for /etc/dnsmasq.conf to exist for lxc-net to start correctly. There is a requirement though for /etc/resolv.conf to reference at least one valid name server. -- You received this bug notification

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-09-03 Thread Serge Hallyn
1. Do you need to remove both lines, or is only removing the second line sufficient? 2. Does anyone still get this on wily? My wily laptop and vms have no problem. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-09-03 Thread Christian Mayer
Removing the 2 lines suggested by davidfavor, actually fixed my problem - after restarting lxc-net (/etc/dnsmasq.conf was never empty for me) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu.

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-08-29 Thread David Favor
Oh, I see... I was using OOM as an example. I this case, it appears the missing /etc/dnsmasq.conf file might be the culprit. So first start of lxc-net, dnsmasq never starts. After that, it will never start, unless a hard reboot is done. -- You received this bug notification because you are a

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-08-28 Thread David Favor
IMHO, systemd seems to be the root of all evil. touch /etc/dnsmasq.conf has no effect. net4-dev# systemctl restart lxc-net net4-dev# systemctl status lxc-net ● lxc-net.service - LXC network bridge setup Loaded: loaded (/lib/systemd/system/lxc-net.service; enabled; vendor preset: enabled)

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-08-28 Thread David Favor
Okay, a simple fix that seems to work (at least in my case), is to comment out the first two guards in the stop function. So... #[ x$USE_LXC_BRIDGE = xtrue ] || { exit 0; } #[ -f ${varrun}/network_up ] || { exit 0; } Once these are skipped, the code seems to work. -- You received this bug

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-08-28 Thread David Favor
Oh... and - touch /etc/dnsmasq.conf - is still required, so this is another bug to be fixed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1452601 Title: vivid container's

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-07-06 Thread rrva
For me, it was a matter of creating an empty /etc/dnsmasq.conf so that lxc-net.service could start, thus creating lxcbr0 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1452601

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-07-01 Thread Joseph Bisch
This bug affects gitian-builder when used with lxc. Gitian-builder is the reproducible build tools used by Bitcoin Core and other projects. The relevant gitian-builder bug is https://github.com/devrandom/gitian- builder/issues/95. I have confirmed this bug with a 15.04 chroot. As you can see from

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-05-28 Thread Chris West
No, that proposed work around seems to make no difference. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1452601 Title: vivid container's networking.service fails on boot

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-05-07 Thread Serge Hallyn
** Changed in: lxc (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1452601 Title: vivid container's networking.service fails on boot

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-05-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lxc (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu.

[Touch-packages] [Bug 1452601] Re: vivid container's networking.service fails on boot with signal=PIPE

2015-05-07 Thread Serge Hallyn
Does the workaround mentioned in https://lists.linuxcontainers.org/pipermail/lxc- users/2015-May/009098.html work for you? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1452601