systemd crashes with Assertion 'current[*l + 1] == quotechars[0]' failed at ../src/shared/util.c:583 with invalid line break escapes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Vivid |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Reproducer:
- Boot current vivid amd64 VM
- sudo add-apt-repository ppa:maas-
- sudo apt update
- sudo apt install isc-dhcp-server
- sudo apt install maas-dhcp
SRU TEST CASE (do this in a VM!)
- Create a /lib/systemd/
- sudo systemctl status broken.service
- This crashes pid 1 in vivid final, and should just complain a broken .service file with the fix.
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: systemd 219-7ubuntu3
ProcVersionSign
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
Date: Wed Apr 22 17:04:42 2015
ExecutablePath: /lib/systemd/
ExecutableTimes
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
ProcCmdline: /sbin/init
ProcCwd: /
ProcEnviron:
TERM=linux
PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=
Signal: 6
SourcePackage: systemd
SystemdFailedUnits: Error: command ['systemctl', 'status', '--full', 'Error:'] failed with exit code 1: Failed to get properties: Activation of org.freedesktop
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.7.5-20150306_
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.
dmi.sys.vendor: QEMU
description: | updated |
description: | updated |
description: | updated |
tags: | added: systemd-boot |
Simpler reproducer which will not cause a crash:
$ cat test.service
[Unit]
Description=test
[Service]
ExecStart=/bin/sh -ec '\
true \
$Y'
$ sudo systemd-analyze verify test.service shared/ util.c: 583, function split(). Aborting.
Assertion 'current[*l + 1] == quotechars[0]' failed at ../src/