Bug ID 1215462
Summary drbd.service: Failed at step EXEC spawning /lib/drbd/scripts/drbd: No such file or directory
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.4
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Virtualization:Tools
Assignee virt-bugs@suse.de
Reporter nsinger@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

With the drbd-utils update to 9.19.0 on Mon Oct 11 09:43:25 UTC 2021 the
/lib/drbd/scripts/drbd directory was moved to /usr (see line#130 in
https://build.opensuse.org/package/view_file/network:ha-clustering:Factory/drbd-utils/drbd-utils.changes?expand=1).

Soon later a fix for bsc#1203220 was introduced because drbd.service now fails
with `drbd.service: Failed at step EXEC spawning /lib/drbd/scripts/drbd: No
such file or directory` and a symlink to /usr was created. Apparently this fix
never made it into Leap15.4 backports:

```
osiris-1:~ # cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.4"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.4"
PRETTY_NAME="openSUSE Leap 15.4"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.4"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"
osiris-1:~ # LC_ALL=c zypper info drbd-utils
Retrieving repository 'Update repository with updates from SUSE Linux
Enterprise 15' metadata
......................................................................................................................................[done]
Building repository 'Update repository with updates from SUSE Linux Enterprise
15' cache
...........................................................................................................................................[done]
Loading repository data...
Reading installed packages...


Information for package drbd-utils:
-----------------------------------
Repository     : Update repository with updates from SUSE Linux Enterprise 15
Name           : drbd-utils
Version        : 9.19.0-150400.3.17.1
Arch           : x86_64
Vendor         : SUSE LLC <https://www.suse.com/>
Installed Size : 1.9 MiB
Installed      : Yes
Status         : up-to-date
Source package : drbd-utils-9.19.0-150400.3.17.1.src
Upstream URL   : http://www.drbd.org/
Summary        : Distributed Replicated Block Device
Description    :
    Drbd is a distributed replicated block device. It mirrors a block
    device over the network to another machine. Think of it as networked
    raid 1. It is a building block for setting up clusters.
```

Workaround: `mkdir -p /lib/drbd/ && ln -s /usr/lib/drbd/scripts
/lib/drbd/scripts`


You are receiving this mail because: