Patched nm-config-connectivity-*.postinst to not fail if force-reload
fails.

** Description changed:

  Installation fails if network-manager is not running
  
  Test Case:
  1. On a machine without network-manager already install (eg server install) 
install network-manager-config-connectivity-ubuntu
  
  Expected Result:
  It installs successfully with all its dependencies
  
  Actual Result
  This crash
  
+ buckets on errors.u.c
+ https://errors.ubuntu.com/problem/ff73bf3ac18fbeb732d1d4f6676a15e24e7f7399
+ https://errors.ubuntu.com/problem/6da94ccacd3e341967667bc1e7b2e83e4ac82026
+ 
  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: network-manager-config-connectivity-ubuntu 1.8.4-1ubuntu3
  ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
  Uname: Linux 4.13.0-17-generic x86_64
  ApportVersion: 2.20.8-0ubuntu6
  Architecture: amd64
  Date: Wed Jan 10 08:50:17 2018
  ErrorMessage: installed network-manager-config-connectivity-ubuntu package 
post-installation script subprocess returned error exit status 1
  IfupdownConfig:
-  # interfaces(5) file used by ifup(8) and ifdown(8)
-  auto lo
-  iface lo inet loopback
+  # interfaces(5) file used by ifup(8) and ifdown(8)
+  auto lo
+  iface lo inet loopback
  InstallationDate: Installed on 2013-09-03 (1589 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  NetworkManager.state:
-  [main]
-  NetworkingEnabled=true
-  WirelessEnabled=false
-  WWANEnabled=true
+  [main]
+  NetworkingEnabled=true
+  WirelessEnabled=false
+  WWANEnabled=true
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.6, Python 3.6.4, python3-minimal, 
3.6.3-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 
2.7.14-2ubuntu1
  RelatedPackageVersions:
-  dpkg 1.19.0.4ubuntu1
-  apt  1.6~alpha5
+  dpkg 1.19.0.4ubuntu1
+  apt  1.6~alpha5
  SourcePackage: network-manager
  Title: package network-manager-config-connectivity-ubuntu 1.8.4-1ubuntu3 
failed to install/upgrade: installed network-manager-config-connectivity-ubuntu 
package post-installation script subprocess returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-nm:
-  RUNNING  VERSION  STATE      STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  
WIFI      WWAN-HW  WWAN    
-  running  1.8.4    connected  started  full          enabled     enabled  
disabled  enabled  enabled
+  RUNNING  VERSION  STATE      STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  
WIFI      WWAN-HW  WWAN
+  running  1.8.4    connected  started  full          enabled     enabled  
disabled  enabled  enabled

** Changed in: network-manager (Ubuntu)
     Assignee: (unassigned) => Jean-Baptiste Lallement (jibel)

** Patch added: "network-manager_1.8.4-1ubuntu4.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1742403/+attachment/5034290/+files/network-manager_1.8.4-1ubuntu4.debdiff

** Changed in: network-manager (Ubuntu)
   Importance: Medium => High

** Also affects: network-manager (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Changed in: network-manager (Ubuntu Artful)
   Importance: Undecided => High

** Changed in: network-manager (Ubuntu Artful)
   Importance: High => Medium

** Changed in: network-manager (Ubuntu Artful)
       Status: New => Triaged

** Changed in: network-manager (Ubuntu Artful)
       Status: Triaged => In Progress

** Changed in: network-manager (Ubuntu Artful)
     Assignee: (unassigned) => Jean-Baptiste Lallement (jibel)

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

Title:
  package network-manager-config-connectivity-ubuntu 1.8.4-1ubuntu3
  failed to install/upgrade: installed network-manager-config-
  connectivity-ubuntu package post-installation script subprocess
  returned error exit status 1

Status in network-manager package in Ubuntu:
  Fix Committed
Status in network-manager source package in Artful:
  In Progress

Bug description:
  [Description]
  Installation of network-manager-config-connectivity fails if network-manager 
is not running.

  The patch appends " || true " to force-reload in the postinst script
  to not fail in this case.

  [QA]
  Test Case:
  1. On a machine without network-manager already install (eg server install) 
install network-manager-config-connectivity-ubuntu

  Expected Result:
  It installs successfully with all its dependencies

  
  buckets on errors.u.c
  https://errors.ubuntu.com/problem/ff73bf3ac18fbeb732d1d4f6676a15e24e7f7399
  https://errors.ubuntu.com/problem/6da94ccacd3e341967667bc1e7b2e83e4ac82026

  [Regression potential]
  Low to none. If the fix works the package will install, and if it does not 
work it will still fail to install.

  
  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: network-manager-config-connectivity-ubuntu 1.8.4-1ubuntu3
  ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
  Uname: Linux 4.13.0-17-generic x86_64
  ApportVersion: 2.20.8-0ubuntu6
  Architecture: amd64
  Date: Wed Jan 10 08:50:17 2018
  ErrorMessage: installed network-manager-config-connectivity-ubuntu package 
post-installation script subprocess returned error exit status 1
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2013-09-03 (1589 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=false
   WWANEnabled=true
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.6, Python 3.6.4, python3-minimal, 
3.6.3-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 
2.7.14-2ubuntu1
  RelatedPackageVersions:
   dpkg 1.19.0.4ubuntu1
   apt  1.6~alpha5
  SourcePackage: network-manager
  Title: package network-manager-config-connectivity-ubuntu 1.8.4-1ubuntu3 
failed to install/upgrade: installed network-manager-config-connectivity-ubuntu 
package post-installation script subprocess returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-nm:
   RUNNING  VERSION  STATE      STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  
WIFI      WWAN-HW  WWAN
   running  1.8.4    connected  started  full          enabled     enabled  
disabled  enabled  enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1742403/+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