Bug#880625: blk-availability.service: ExecStart=/usr/bin/true fails
Sven Hartge
sven at svenhartge.de
Thu Nov 2 22:38:57 UTC 2017
Package: lvm2
Version: 2.02.175-1
Severity: normal
Hi!
/lib/systemd/system/blk-availability.service uses
ExecStart=/usr/bin/true
as No-Op during system start. In a Debian system without usr-merge the
"true" binary is /bin/true, causing this systemd unit to enter a failed
state:
------8<---------------
root at skuld:~# systemctl --state failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● blk-availability.service loaded failed failed Availability of block devices
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
root at skuld:~# systemctl status blk-availability.service
● blk-availability.service - Availability of block devices
Loaded: loaded (/lib/systemd/system/blk-availability.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-11-02 15:03:50 CET; 8h ago
Process: 484 ExecStart=/usr/bin/true (code=exited, status=203/EXEC)
Main PID: 484 (code=exited, status=203/EXEC)
Nov 02 15:03:50 skuld systemd[484]: blk-availability.service: Failed to execute command: No such file or directory
Nov 02 15:03:50 skuld systemd[484]: blk-availability.service: Failed at step EXEC spawning /usr/bin/true: No such file or directory
Nov 02 15:03:50 skuld systemd[1]: blk-availability.service: Main process exited, code=exited, status=203/EXEC
Nov 02 15:03:50 skuld systemd[1]: blk-availability.service: Failed with result 'exit-code'.
Nov 02 15:03:50 skuld systemd[1]: Failed to start Availability of block devices.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
------8<---------------
Grüße,
Sven
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (400, 'testing'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.13.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages lvm2 depends on:
ii dmeventd 2:1.02.144-1
ii dmsetup 2:1.02.144-1
ii libblkid1 2.30.2-0.1
ii libc6 2.24-17
ii libdevmapper-event1.02.1 2:1.02.144-1
ii libdevmapper1.02.1 2:1.02.144-1
ii liblvm2app2.2 2.02.175-1
ii libreadline5 5.2+dfsg-3+b1
ii libsystemd0 235-2
ii libudev1 235-2
ii lsb-base 9.20170808
lvm2 recommends no packages.
Versions of packages lvm2 suggests:
pn thin-provisioning-tools <none>
-- debconf information excluded
More information about the pkg-lvm-maintainers
mailing list