Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1020186
| From | Michael Biebl <biebl@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#966816: /lib/systemd/system/blk-availability.service:10: Neither a valid executable name nor an absolute path: ${exec_prefix}/bin/true |
| Date | 2020-08-02 20:10 +0200 |
| Message-ID | <AzqAN-NT-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: lvm2
Version: 2.03.09-2
Severity: important
File: /lib/systemd/system/blk-availability.service
$ systemctl cat blk-availability.service
# /lib/systemd/system/blk-availability.service
[Unit]
Description=Availability of block devices
Before=shutdown.target
After=lvm2-activation.service iscsi-shutdown.service iscsi.service iscsid.service fcoe.service rbdmap.service
DefaultDependencies=no
Conflicts=shutdown.target
[Service]
Type=oneshot
ExecStart=${exec_prefix}/bin/true
ExecStop=/sbin/blkdeactivate -u -l wholevg -m disablequeueing -r wait
RemainAfterExit=yes
[Install]
WantedBy=sysinit.target
ExecStart=${exec_prefix}/bin/true → This is obviously wrong.
Instead of fixing the path again ( I see there have been bugs in
that regard in the past already), you might consider dropping the
ExecStart= altogether. For Type=oneshot services, ExecStart= does not
need to be set.
When stopping the service, I also noticed
Aug 02 19:54:05 pluto blkdeactivate[42210]: /sbin/blkdeactivate: Zeile 345: /bin/sort: No such file or directory
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages lvm2 depends on:
ii dmeventd 2:1.02.171-2
ii dmsetup 2:1.02.171-2
ii init-system-helpers 1.58
ii libaio1 0.3.112-8
ii libblkid1 2.36-2
ii libc6 2.31-2
ii libdevmapper-event1.02.1 2:1.02.171-2
ii libreadline5 5.2+dfsg-3+b13
ii libselinux1 3.1-2
ii libsystemd0 246-1
ii libudev1 246-1
ii lsb-base 11.1.0
Versions of packages lvm2 recommends:
ii thin-provisioning-tools 0.8.5-4
lvm2 suggests no packages.
-- no debconf information
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#966816: /lib/systemd/system/blk-availability.service:10: Neither a valid executable name nor an absolute path: ${exec_prefix}/bin/true Michael Biebl <biebl@debian.org> - 2020-08-02 20:10 +0200
Bug#966816: /lib/systemd/system/blk-availability.service:10: Neither a valid executable name nor an absolute path: ${exec_prefix}/bin/true Awtul <awtulawtul@gmail.com> - 2020-08-06 08:40 +0200
Bug#966816: lvm2: Patch to fix the problem Asher Gordon <AsDaGo@posteo.net> - 2020-08-07 06:10 +0200
Bug#966816: lvm2: Patch to fix the problem Asher Gordon <AsDaGo@posteo.net> - 2020-08-07 19:30 +0200
Bug#966816: lvm2: Patch to fix the problem Michael Biebl <biebl@debian.org> - 2020-08-08 11:40 +0200
Bug#966816: lvm2: Patch to fix the problem Asher Gordon <AsDaGo@posteo.net> - 2020-08-08 20:40 +0200
Bug#966816: /lib/systemd/system/blk-availability.service:10: Neither a valid executable name nor an absolute path: ${exec_prefix}/bin/true Jonathan Marsaud <jonathanmarsaud@gmail.com> - 2020-08-13 11:30 +0200
Bug#966816: /lib/systemd/system/blk-availability.service:10: Neither a valid executable name nor an absolute path: ${exec_prefix}/bin/true Tom Overlund <tomov@dilacero.org> - 2020-08-13 16:30 +0200
csiph-web