-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to add zfs to initrd on openSUSE Tumbleweed #11750
Comments
I also have this problem with openSUSE Leap 15.2. I'm not sure what the implications are, because it seems like everything functions normally. I have been using ZFS for a while, but recently used a hack to 'fix' this, which is to add a soft link to |
SUSE stores the library at /lib64/libgcc_s.so.1 (/lib/libgcc_s.so.1 for i686 glibc), which is in the search path Also relax the /usr/lib path to catch systems similar to SUSE (/usr/lib64/gcc/x86_64-suse-linux/10/libgcc_s.so) but without the top-level lib64 Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11750
Can you try the first patch from #12108 (also referenced below)? |
SUSE stores the library at /lib64/libgcc_s.so.1 (/lib/libgcc_s.so.1 for i686 glibc), which is in the search path Also relax the /usr/lib path to catch systems similar to SUSE (/usr/lib64/gcc/x86_64-suse-linux/10/libgcc_s.so) but without the top-level lib64 Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11750
SUSE stores the library at /lib64/libgcc_s.so.1 (/lib/libgcc_s.so.1 for i686 glibc), which is in the search path Also relax the /usr/lib path to catch systems similar to SUSE (/usr/lib64/gcc/x86_64-suse-linux/10/libgcc_s.so) but without the top-level lib64 Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11750
SUSE stores the library at /lib64/libgcc_s.so.1 (/lib/libgcc_s.so.1 for i686 glibc), which is in the search path Also relax the /usr/lib path to catch systems similar to SUSE (/usr/lib64/gcc/x86_64-suse-linux/10/libgcc_s.so) but without the top-level lib64 Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11750
SUSE stores the library at /lib64/libgcc_s.so.1 (/lib/libgcc_s.so.1 for i686 glibc), which is in the search path Also relax the /usr/lib path to catch systems similar to SUSE (/usr/lib64/gcc/x86_64-suse-linux/10/libgcc_s.so) but without the top-level lib64 Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11750
SUSE stores the library at /lib64/libgcc_s.so.1 (/lib/libgcc_s.so.1 for i686 glibc), which is in the search path Also relax the /usr/lib path to catch systems similar to SUSE (/usr/lib64/gcc/x86_64-suse-linux/10/libgcc_s.so) but without the top-level lib64 Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11750 Closes openzfs#12108
SUSE stores the library at /lib64/libgcc_s.so.1 (/lib/libgcc_s.so.1 for i686 glibc), which is in the search path Also relax the /usr/lib path to catch systems similar to SUSE (/usr/lib64/gcc/x86_64-suse-linux/10/libgcc_s.so) but without the top-level lib64 Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11750 Closes openzfs#12108
SUSE stores the library at /lib64/libgcc_s.so.1 (/lib/libgcc_s.so.1 for i686 glibc), which is in the search path Also relax the /usr/lib path to catch systems similar to SUSE (/usr/lib64/gcc/x86_64-suse-linux/10/libgcc_s.so) but without the top-level lib64 Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11750 Closes openzfs#12108
Not sure why, but even running with e69792e I'm still having issues. Running dracut with
Which I can fix by commenting out the
So I'm not sure why the script fails to skip that elif. |
System information
Describe the problem you're observing
When making initrd, the inclusion of zfs dracut module failed because libgcc_s.so is not under /usr/lib .
The result of
locate libgcc_s.so
is:The problem might be caused by
contrib/dracut/90zfs/module-setup.sh.in
in source tree. After editing the path for libgcc_s.so installation in/usr/lib/dracut/modules.d/90zfs/module-setup.sh
, this module can be added to initrd.Describe how to reproduce the problem
executing
dracut -f
to build the initrd, when adding zfs to initrd, it will fail at dracut-install libgcc_s.so , and zfs module is not included in the initrd.Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: