2017-08-31 14:26:52 |
Scott Moser |
bug |
|
|
added bug |
2017-08-31 14:27:00 |
Scott Moser |
nplan (Ubuntu): status |
New |
Confirmed |
|
2017-08-31 14:27:04 |
Scott Moser |
nplan (Ubuntu): importance |
Undecided |
Low |
|
2017-08-31 14:29:53 |
Mathieu Trudel-Lapierre |
nplan (Ubuntu): status |
Confirmed |
Triaged |
|
2017-08-31 14:30:01 |
Mathieu Trudel-Lapierre |
nplan (Ubuntu): assignee |
|
Mathieu Trudel-Lapierre (cyphermox) |
|
2017-09-07 14:43:15 |
Mathieu Trudel-Lapierre |
nplan (Ubuntu): status |
Triaged |
Fix Committed |
|
2017-09-26 18:01:05 |
Mathieu Trudel-Lapierre |
nplan (Ubuntu): status |
Fix Committed |
Fix Released |
|
2017-09-26 18:03:06 |
Mathieu Trudel-Lapierre |
description |
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) |
[Impact]
netplan's systemd-generator segfaults if called with no arguements.
it should better show usage or something else and exit non-zero.
[Test case]
# /lib/systemd/system-generators/netplan
The above command should not crash, but respond with a suitable error message. Without the update, it behaves like this:
"""
(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)
"""
[Regression Potential]
This is a command not meant to be used directly; but spurious crashes or misbehavior of netplan at boot time, such as failing to generate networkd/NM config for a netplan yaml configuration that is valid, would consistute a potential regression of this update.
---
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) |
|
2017-09-26 18:03:13 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Xenial |
|
2017-09-26 18:03:13 |
Mathieu Trudel-Lapierre |
bug task added |
|
nplan (Ubuntu Xenial) |
|
2017-10-06 22:16:13 |
Brian Murray |
nplan (Ubuntu Xenial): status |
New |
Fix Committed |
|
2017-10-06 22:16:15 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-10-06 22:16:17 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2017-10-06 22:16:20 |
Brian Murray |
tags |
amd64 apport-bug artful uec-images |
amd64 apport-bug artful uec-images verification-needed verification-needed-xenial |
|
2017-10-20 18:56:10 |
Mathieu Trudel-Lapierre |
tags |
amd64 apport-bug artful uec-images verification-needed verification-needed-xenial |
amd64 apport-bug artful uec-images verification-done-xenial verification-needed |
|
2017-12-14 02:39:13 |
Mathieu Trudel-Lapierre |
tags |
amd64 apport-bug artful uec-images verification-done-xenial verification-needed |
amd64 apport-bug artful uec-images verification-done-xenial |
|
2019-05-16 20:24:11 |
Brian Murray |
nplan (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|