← Back to team overview

touch-packages team mailing list archive

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

 

kevin@awabi:~/notes/security$  sudo netstat -lap| grep LISTEN
[sudo] password for kevin: 
tcp        0      0 usscc-mvetter.co:domain *:*                     LISTEN      1192/named      
tcp        0      0 192.168.43.174:domain   *:*                     LISTEN      1192/named      
tcp        0      0 192.168.122.1:domain    *:*                     LISTEN      32446/dnsmasq   
tcp        0      0 awabi:domain            *:*                     LISTEN      3337/dnsmasq    
tcp        0      0 localhost:domain        *:*                     LISTEN      1192/named      
tcp        0      0 *:ssh                   *:*                     LISTEN      1198/sshd       
tcp        0      0 localhost:ipp           *:*                     LISTEN      4504/cupsd      
tcp        0      0 localhost:postgresql    *:*                     LISTEN      1188/postgres   
tcp        0      0 localhost:afs3-callback *:*                     LISTEN      10935/nxnode.bin
tcp        0      0 *:4505                  *:*                     LISTEN      2455/python     
tcp        0      0 localhost:953           *:*                     LISTEN      1192/named      
tcp        0      0 *:4506                  *:*                     LISTEN      2533/python     
tcp        0      0 *:db-lsp                *:*                     LISTEN      10312/dropbox   
tcp        0      0 *:iscsi-target          *:*                     LISTEN      1211/tgtd       
tcp        0      0 *:35357                 *:*                     LISTEN      4300/python     
tcp        0      0 *:microsoft-ds          *:*                     LISTEN      2963/smbd       
tcp        0      0 *:19455                 *:*                     LISTEN      16987/cli       
tcp        0      0 localhost:17600         *:*                     LISTEN      10312/dropbox   
tcp        0      0 *:4000                  *:*                     LISTEN      3558/nxd        
tcp        0      0 localhost:12001         *:*                     LISTEN      10935/nxnode.bin
tcp        0      0 *:zabbix-agent          *:*                     LISTEN      4572/zabbix_agentd
tcp        0      0 localhost:20130         *:*                     LISTEN      2794/nxserver.bin
tcp        0      0 localhost:17603         *:*                     LISTEN      10312/dropbox   
tcp        0      0 localhost:gpsd          *:*                     LISTEN      1/init          
tcp        0      0 *:5000                  *:*                     LISTEN      4300/python     
tcp        0      0 *:25672                 *:*                     LISTEN      1237/beam.smp   
tcp        0      0 *:8200                  *:*                     LISTEN      2356/minidlnad  
tcp        0      0 localhost:25001         *:*                     LISTEN      11005/nxclient.bin
tcp        0      0 localhost:27017         *:*                     LISTEN      991/mongod      
tcp        0      0 localhost:mysql         *:*                     LISTEN      2078/mysqld     
tcp        0      0 *:netbios-ssn           *:*                     LISTEN      2963/smbd       
tcp        0      0 localhost:45708         *:*                     LISTEN      16987/cli       
tcp6       0      0 [::]:epmd               [::]:*                  LISTEN      1541/epmd       
tcp6       0      0 [::]:4242               [::]:*                  LISTEN      2618/java       
tcp6       0      0 localhost:4243          [::]:*                  LISTEN      2618/java       
tcp6       0      0 [::]:domain             [::]:*                  LISTEN      1192/named      
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      1198/sshd       
tcp6       0      0 ip6-localhost:ipp       [::]:*                  LISTEN      4504/cupsd      
tcp6       0      0 [::]:3128               [::]:*                  LISTEN      2490/(squid-1)  
getnameinfo failed
tcp6       0      0 ip6-local:afs3-callback [::]:*                  LISTEN      10935/nxnode.bin
tcp6       0      0 ip6-localhost:953       [::]:*                  LISTEN      1192/named      
tcp6       0      0 [::]:iscsi-target       [::]:*                  LISTEN      1211/tgtd       
tcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN      2963/smbd       
tcp6       0      0 [::]:4000               [::]:*                  LISTEN      3558/nxd        
tcp6       0      0 [::]:8000               [::]:*                  LISTEN      2314/(squid-1)  
tcp6       0      0 [::]:zabbix-agent       [::]:*                  LISTEN      4572/zabbix_agentd
tcp6       0      0 ip6-localhost:gpsd      [::]:*                  LISTEN      1/init          
tcp6       0      0 [::]:amqp               [::]:*                  LISTEN      1237/beam.smp   
tcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN      2963/smbd       
unix  2      [ ACC ]     STREAM     LISTENING     5093748  14560/dbus-daemon   @/tmp/dbus-uB8EasH9uN
unix  2      [ ACC ]     STREAM     LISTENING     32874    4820/systemd        /run/user/1000/systemd/private
unix  2      [ ACC ]     SEQPACKET  LISTENING     10427    1/init              /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     3973221  9941/gnome-session  /tmp/.ICE-unix/9941
unix  2      [ ACC ]     STREAM     LISTENING     3966919  9578/gnome-keyring- /run/user/1000/keyring/control
unix  2      [ ACC ]     STREAM     LISTENING     3966944  9629/kdeinit4: kdei /run/user/1000/ksocket-kevin/kdeinit4__0
unix  2      [ ACC ]     STREAM     LISTENING     19345    991/mongod          /tmp/mongodb-27017.sock
unix  2      [ ACC ]     STREAM     LISTENING     3967921  9308/X              /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     3973220  9941/gnome-session  @/tmp/.ICE-unix/9941
unix  2      [ ACC ]     STREAM     LISTENING     3969424  9630/kdeinit4: klau /run/user/1000/ksocket-kevin/klauncherhX9630.slave-socket
unix  2      [ ACC ]     STREAM     LISTENING     36873    5572/gpg-agent      /tmp/gpg-rTF7bP/S.gpg-agent
unix  2      [ ACC ]     STREAM     LISTENING     3972951  10342/gpg-agent     /tmp/gpg-xXdcZw/S.gpg-agent
unix  2      [ ACC ]     STREAM     LISTENING     5800407  30148/unity-scope-l @kevin-com.canonical.Unity.Scope.scopes.T1837069761528113
unix  2      [ ACC ]     STREAM     LISTENING     17025    1031/cgmanager      /sys/fs/cgroup/cgmanager/sock
unix  2      [ ACC ]     STREAM     LISTENING     3972230  9578/gnome-keyring- /run/user/1000/keyring/pkcs11
unix  2      [ ACC ]     STREAM     LISTENING     3973848  10224/libpepflashpl /tmp/.org.chromium.Chromium.IWZ10U/SingletonSocket
unix  2      [ ACC ]     STREAM     LISTENING     3984608  10935/nxnode.bin    /tmp/.X11-unix/X1001
unix  2      [ ACC ]     STREAM     LISTENING     3972231  9578/gnome-keyring- /run/user/1000/keyring/ssh
unix  2      [ ACC ]     STREAM     LISTENING     5800380  30173/signond       /run/user/1000/signond/socket
unix  2      [ ACC ]     STREAM     LISTENING     35202    5372/pulseaudio     /run/user/1000/pulse/native
unix  2      [ ACC ]     STREAM     LISTENING     3971907  9899/ibus-daemon    @/tmp/dbus-58LYqts6
unix  2      [ ACC ]     STREAM     LISTENING     110363   16054/pulseaudio    /tmp/pulse-PKdhtXMmr18n/native
unix  2      [ ACC ]     STREAM     LISTENING     3967920  9308/X              @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     1398437  32281/libvirtd      /var/run/libvirt/libvirt-sock
unix  2      [ ACC ]     STREAM     LISTENING     1398438  32281/libvirtd      /var/run/libvirt/libvirt-sock-ro
unix  2      [ ACC ]     STREAM     LISTENING     16935    1/init              /var/run/cups/cups.sock
unix  2      [ ACC ]     STREAM     LISTENING     16936    1/init              /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     16937    1/init              /run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     16938    1/init              /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     16939    1/init              /var/run/gpsd.sock
unix  2      [ ACC ]     STREAM     LISTENING     16942    1/init              /run/uuidd/request
unix  2      [ ACC ]     STREAM     LISTENING     5800504  30127/unity-scope-h @kevin-com.canonical.Unity.Master.Scope.music.T1837097232776205
unix  2      [ ACC ]     STREAM     LISTENING     17233    1045/NetworkManager /var/run/NetworkManager/private
unix  2      [ ACC ]     STREAM     LISTENING     21742    1211/tgtd           /var/run/tgtd.ipc_abstract_namespace.0
unix  2      [ ACC ]     STREAM     LISTENING     20864    1188/postgres       /var/run/postgresql/.s.PGSQL.5432
unix  2      [ ACC ]     STREAM     LISTENING     5801089  30127/unity-scope-h @kevin-com.canonical.Unity.Master.Scope.applications.T1837058348792119
unix  2      [ ACC ]     STREAM     LISTENING     5801090  30127/unity-scope-h @kevin-com.canonical.Unity.Master.Scope.files.T1837058355801330
unix  2      [ ACC ]     STREAM     LISTENING     25108    2456/python         /var/run/salt/master/master_event_pull.ipc
unix  2      [ ACC ]     STREAM     LISTENING     25166    2533/python         /var/run/salt/master/workers.ipc
unix  2      [ ACC ]     STREAM     LISTENING     25109    2456/python         /var/run/salt/master/master_event_pub.ipc
unix  2      [ ACC ]     STREAM     LISTENING     3974794  10312/dropbox       /home/kevin/.dropbox/command_socket
unix  2      [ ACC ]     STREAM     LISTENING     24069    2078/mysqld         /var/run/mysqld/mysqld.sock
unix  2      [ ACC ]     STREAM     LISTENING     25116    2455/python         /var/run/salt/master/publish_pull.ipc
unix  2      [ ACC ]     STREAM     LISTENING     3971730  9604/upstart        @/com/ubuntu/upstart-session/1000/9604
unix  2      [ ACC ]     STREAM     LISTENING     10413    1/init              /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     24223    2688/winbindd       /var/run/samba/winbindd/pipe
unix  2      [ ACC ]     STREAM     LISTENING     3974795  10312/dropbox       /home/kevin/.dropbox/iface_socket
unix  2      [ ACC ]     STREAM     LISTENING     10418    1/init              /run/lvm/lvmetad.socket
unix  2      [ ACC ]     STREAM     LISTENING     10428    1/init              /run/systemd/journal/stdout
unix  2      [ ACC ]     STREAM     LISTENING     640      1/init              /run/systemd/fsck.progress
unix  2      [ ACC ]     STREAM     LISTENING     641      1/init              /run/lvm/lvmpolld.socket
unix  2      [ ACC ]     STREAM     LISTENING     3969419  9635/dbus-daemon    @/tmp/dbus-dHIz4Wrqke
unix  2      [ ACC ]     STREAM     LISTENING     5797878  30152/unity-files-d @kevin-com.canonical.Unity.Scope.files.T1837059433711434
unix  2      [ ACC ]     STREAM     LISTENING     5800408  30148/unity-scope-l @kevin-com.canonical.Unity.Scope.applications.T1837069766856225
unix  2      [ ACC ]     STREAM     LISTENING     29113    1045/NetworkManager /var/run/NetworkManager/private-dhcp
unix  2      [ ACC ]     STREAM     LISTENING     5799490  30235/unity-music-d @kevin-com.canonical.Unity.Scope.rhythmbox.T1837097669907607
unix  2      [ ACC ]     STREAM     LISTENING     3984607  10935/nxnode.bin    @/tmp/.X11-unix/X1001
unix  2      [ ACC ]     STREAM     LISTENING     24224    2688/winbindd       /var/lib/samba/winbindd_privileged/pipe
unix  2      [ ACC ]     STREAM     LISTENING     30310    2672/nmbd           /var/run/samba/nmbd/unexpected
unix  2      [ ACC ]     STREAM     LISTENING     3971771  9773/dbus-daemon    @/tmp/dbus-nuW7CGfxj9
unix  2      [ ACC ]     STREAM     LISTENING     3969534  9848/dbus-daemon    @/tmp/dbus-LcMjDf1Zdk

-- 
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 in lxc package in Ubuntu:
  Confirmed

Bug description:
  When starting a Vivid container, it fails to get an IP address.  It
  believes networking.service was successful, but actually it dies with
  SIGPIPE.  Restarting networking.service gets an IP, as expected.

  Starting networking used to work with pre-vivid containers.  I'm
  reasonably sure this fails 100% of the time.  Limited user container,
  very standard setup (no unnecessary config; cgmanager and lxcfs
  installed), btrfs filesystem but not btrfs-backed (as it's limited
  user), ...

  root@vivid:/# systemctl status networking.service
  ● networking.service - LSB: Raise network interfaces.
     Loaded: loaded (/etc/init.d/networking)
    Drop-In: /run/systemd/generator/networking.service.d
             └─50-insserv.conf-$network.conf
          /lib/systemd/system/networking.service.d
             └─systemd.conf
     Active: active (exited) since Thu 2015-05-07 07:54:48 UTC; 9s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 459 ExecStart=/etc/init.d/networking start (code=killed, signal=PIPE)

  
  root@vivid:/# systemctl restart networking.service
  root@vivid:/# systemctl status networking.service
  ● networking.service - LSB: Raise network interfaces.
     Loaded: loaded (/etc/init.d/networking)
    Drop-In: /run/systemd/generator/networking.service.d
             └─50-insserv.conf-$network.conf
          /lib/systemd/system/networking.service.d
             └─systemd.conf
     Active: active (running) since Thu 2015-05-07 07:56:38 UTC; 2s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 992 ExecStop=/etc/init.d/networking stop (code=exited, status=0/SUCCESS)
    Process: 1033 ExecStart=/etc/init.d/networking start (code=exited, status=0/SUCCESS)
     CGroup: /user.slice/user-1000.slice/session-c2.scope/lxc/vivid/system.slice/networking.service
             ├─1096 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
             ├─1106 /bin/sh /etc/network/if-up.d/ntpdate
             ├─1109 lockfile-touch /var/lock/ntpdate-ifup
             ├─1125 /bin/sh /etc/network/if-up.d/ntpdate
             ├─1128 lockfile-create /var/lock/ntpdate-ifup
             └─1146 /usr/sbin/ntpdate -s ntp.ubuntu.com

  root@vivid:/# ip a
  ...
  22: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
  ...
      inet 10.0.3.102/24 brd 10.0.3.255 scope global eth0

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: lxc 1.1.2-0ubuntu3
  ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
  Uname: Linux 3.19.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  Date: Thu May  7 08:53:02 2015
  SourcePackage: lxc
  UpgradeStatus: No upgrade log present (probably fresh install)
  defaults.conf:
   lxc.network.type = veth
   lxc.network.link = lxcbr0
   lxc.network.flags = up
   lxc.network.hwaddr = 00:16:3e:xx:xx:xx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1452601/+subscriptions


References