Public bug reported:

netplan's systemd-generator segfaults if called with no arguements.
it should better show usage or something else and exit non-zero.
b

# /lib/systemd/system-generators/netplan

(netplan:842): GLib-CRITICAL **: g_strv_length: assertion 'str_array != NULL' 
failed
**
ERROR:src/generate.c:86:main: assertion failed: (g_strv_length(files) == 3)
Aborted (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: nplan 0.26
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
Date: Thu Aug 31 14:24:24 2017
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
SourcePackage: nplan
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nplan (Ubuntu)
     Importance: Low
     Assignee: Mathieu Trudel-Lapierre (cyphermox)
         Status: Triaged


** Tags: amd64 apport-bug artful uec-images

** Changed in: nplan (Ubuntu)
       Status: New => Confirmed

** Changed in: nplan (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1714267

Title:
  segfault on bad usage of generator

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to