I just figured-out how to get "apport-autoreport.service",
"whoopsie.service" & "systemd-networkd-wait-online.service" starting
correctly on a networkd(netplan)-only(NetworkManager.service _disabled_
system) desktop which uses WiFi and a static-ip on Ubuntu 18.10 Desktop.

I'm commenting here in case it provides insight or another angle to
approach the resolution of this bug.

BTW:  the test system _was_ experiencing this bug on a clean-install of
18.10 Desktop ISO.

TL;DR

Adding a new variable(optional: yes) in the netplan yaml config for a
static IP addy allows the "systemd-networkd-wait-online.service" to
_ignore_ interfaces that may be blocking or inhibiting the proper
startup of the apport-auto/whoopsie units.


Steps to reproduce:

1. Disable all NetworkManager related services:

$ systemctl list-unit-files | grep Net
NetworkManager-dispatcher.service          disabled       
NetworkManager-wait-online.service         disabled       
NetworkManager.service                     disabled 


2. Create new yaml config for static IP's on all IF's(notice the 'optional: 
yes' directives!):

$ cat /etc/netplan/01-static-ip.yaml 
network:
  version: 2
  renderer: networkd
  ethernets:
    enp2s0:
      optional: yes
      dhcp4: no
      dhcp6: no
      addresses: [192.168.1.201/24]
      gateway4: 192.168.1.254
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]
  wifis:
    wlp3s0:
      optional: yes
      dhcp4: no
      dhcp6: no
      addresses: [192.168.1.202/24]
      gateway4: 192.168.1.254
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]
      access-points:
        "Chez Merkle-Mac-Rainey 5 GHz":
          password: "BIG SECRET"


3. Reboot and confirm proper startup of all service units:

$ systemctl --failed 
0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.


$ systemctl status 
● CKR-1
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Thu 2018-12-06 15:02:16 CST; 22min ago


HTH!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1787729

Title:
  [FAILED] Failed to start Process error reports when automatic
  reporting is enabled.

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  Hello,

  Attached image.

  Regards,
  --
  Cristian Aravena Romero (caravena)

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: apport 2.20.10-0ubuntu7
  Uname: Linux 4.18.3-041803-generic x86_64
  ApportLog:
   
  ApportVersion: 2.20.10-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Aug 18 11:48:00 2018
  InstallationDate: Installed on 2017-10-13 (308 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to