[Bug 1215462] New: drbd.service: Failed at step EXEC spawning /lib/drbd/scripts/drbd: No such file or directory

https://bugzilla.suse.com/show_bug.cgi?id=1215462 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/d...). 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: You are on the CC list for the bug.

https://bugzilla.suse.com/show_bug.cgi?id=1215462 https://bugzilla.suse.com/show_bug.cgi?id=1215462#c6 Nick Singer <nsinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(nsinger@suse.com) | --- Comment #6 from Nick Singer <nsinger@suse.com> --- (In reply to heming zhao from comment #5)
I installed a leap 15.4 VM, then 'zypper in drbd-utils'. After zypper installing job, I could find /lib/drbd symbol link.
please provide your reproducible steps.
I just had an old installation of Leap15.4, did a zypper ref && zypper dup and after a reboot I encountered the issue. The only thing I can imagine causing this is that the (real) folder was still present from the previous running version and the update then failed to create the symlink. So could you maybe try to install an older version, start the drbd.service and then update to check if the symlink is properly created? -- You are receiving this mail because: You are on the CC list for the bug.

https://bugzilla.suse.com/show_bug.cgi?id=1215462 https://bugzilla.suse.com/show_bug.cgi?id=1215462#c8 --- Comment #8 from Nick Singer <nsinger@suse.com> --- Apparently this bug went away after we created the symlink in the past. However, we just upgraded the exact same host to Leap15.6 now and again face this problem. I ensured that /lib/drbd is a symlink pointing to -> /usr/lib/drbd and both paths are on the same btrfs subvolume. So I'm not sure why this is happening again now. -- You are receiving this mail because: You are on the CC list for the bug.

https://bugzilla.suse.com/show_bug.cgi?id=1215462 Oliver Kurz <okurz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |okurz@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com