Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] nfs-utils on void: ldd failure on installed .so
@ 2025-01-01  7:45 Vaelatern
  2025-01-01 13:23 ` nfs-utils on musl: " slymattz
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Vaelatern @ 2025-01-01  7:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1627 bytes --]

New issue by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/53785

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.67_1 x86_64-musl GenuineIntel notuptodate rrrnDDFFFFFFFFFFFF

### Package(s) Affected

nfs-utils libnfsidmap

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

On glibc:

```
$ ldd /usr/lib/libnfsidmap/regex.so
        linux-vdso.so.1 (0x00007ffc5abab000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fdadaa22000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007fdadac3b000)
```

### Actual behaviour

On muslc:

```
$ ldd /usr/lib/libnfsidmap/regex.so
	ldd (0x7f0f5f58f000)
	libc.so => ldd (0x7f0f5f58f000)
Error relocating /usr/lib/libnfsidmap/regex.so: nfsidmap_config_get: symbol not found
Error relocating /usr/lib/libnfsidmap/regex.so: nfs4_get_default_domain: symbol not found
Error relocating /usr/lib/libnfsidmap/regex.so: idmap_verbosity: symbol not found
Error relocating /usr/lib/libnfsidmap/regex.so: idmap_log_func: symbol not found
```

### Steps to reproduce

This breaks my void-mklive workflows making dracut images of x86_64-musl with the nfs library installed. I remove the nfs library and it works again, so I've narrowed down my build problems to this library.

It seems consistently broken on musl, fixed on glibc. I've checked and it seems the libs are in fact compiled fresh on each build. Upgrading to 2.8.2 didn't help #53784 

I've not yet looked at how it's actually being built to see what is broken there.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
@ 2025-01-01 13:23 ` slymattz
  2025-01-03  1:08 ` Vaelatern
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: slymattz @ 2025-01-01 13:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

New comment by slymattz on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2567008691

Comment:
Hi!

I can reproduce ACTUAL BEHAVIOR on a musl-based Void live system both for nfs-utils 2.7.1 and nfs-utils 2.8.2. Just for the record, there seems to be a [similar report](https://bugs.gentoo.org/734022) for Gentoo describing similar underlinking on musl.  

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
  2025-01-01 13:23 ` nfs-utils on musl: " slymattz
@ 2025-01-03  1:08 ` Vaelatern
  2025-01-04  5:28 ` classabbyamp
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2025-01-03  1:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 256 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2568577381

Comment:
And this problem is also present on Alpine. @ncopa

Skimmed the build itself, it's heavily indirected Make. 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
  2025-01-01 13:23 ` nfs-utils on musl: " slymattz
  2025-01-03  1:08 ` Vaelatern
@ 2025-01-04  5:28 ` classabbyamp
  2025-01-04  5:41 ` classabbyamp
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: classabbyamp @ 2025-01-04  5:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2570108918

Comment:
this also happens with `nsswitch.so`, `static.so`, and `umich_ldap.so` in the same dir

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (2 preceding siblings ...)
  2025-01-04  5:28 ` classabbyamp
@ 2025-01-04  5:41 ` classabbyamp
  2025-01-04  6:23 ` classabbyamp
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: classabbyamp @ 2025-01-04  5:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2570141826

Comment:
can confirm it also happens on chimera, too

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (3 preceding siblings ...)
  2025-01-04  5:41 ` classabbyamp
@ 2025-01-04  6:23 ` classabbyamp
  2025-01-04 12:29 ` jozzsi
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: classabbyamp @ 2025-01-04  6:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2570252572

Comment:
ok, this isn't underlinking but dracut trying to find dependencies for something that should only be loaded as a plugin, not as a standalone library. reported to upstream: https://github.com/dracut-ng/dracut-ng/issues/1087

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (4 preceding siblings ...)
  2025-01-04  6:23 ` classabbyamp
@ 2025-01-04 12:29 ` jozzsi
  2025-01-05  7:29 ` Vaelatern
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jozzsi @ 2025-01-04 12:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

New comment by jozzsi on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2571274107

Comment:
Can somebody please help and test this speculative fix - https://github.com/dracut-ng/dracut-ng/pull/1088 ? 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (5 preceding siblings ...)
  2025-01-04 12:29 ` jozzsi
@ 2025-01-05  7:29 ` Vaelatern
  2025-01-05  7:54 ` Vaelatern
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2025-01-05  7:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2571531335

Comment:
Attempting a test on the rig where I detected the problem for starters. It's a big one and unwieldy and I did it with a manual `sed` but I'll see if I get results.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (6 preceding siblings ...)
  2025-01-05  7:29 ` Vaelatern
@ 2025-01-05  7:54 ` Vaelatern
  2025-01-05 15:03 ` jozzsi
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2025-01-05  7:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2571536915

Comment:
Negative @jozzsi 

```
--- /usr/lib/dracut/modules.d/95nfs/module-setup.sh.bck 2025-01-05 07:52:19.142252800 +0000
+++ /usr/lib/dracut/modules.d/95nfs/module-setup.sh     2025-01-05 07:52:19.144252826 +0000
@@ -94,7 +94,7 @@
         echo "alias nfs4 nfs" > "$initdir"/etc/modprobe.d/nfs.conf
     fi

-    inst_libdir_file 'libnfsidmap_nsswitch.so*' 'libnfsidmap/*.so' 'libnfsidmap*.so*'
+    inst_libdir_file -o 'libnfsidmap_nsswitch.so*' 'libnfsidmap/*.so' 'libnfsidmap*.so*'

     _nsslibs=$(
         cat "$dracutsysrootdir"/{,usr/}etc/nsswitch.conf 2> /dev/null \
```

```
dracut-install: ERROR: 'ldd /var/tmp/dracut.Ju4kiT/initramfs/usr/lib/libnfsidmap/nsswitch.so' failed with 141
dracut-install: ERROR: 'ldd /var/tmp/dracut.Ju4kiT/initramfs/usr/lib/libnfsidmap/static.so' failed with 141
dracut-install: ERROR: 'ldd /var/tmp/dracut.Ju4kiT/initramfs/usr/lib/libnfsidmap/umich_ldap.so' failed with 127
dracut-install: ERROR: 'ldd /var/tmp/dracut.Ju4kiT/initramfs/usr/lib/libnfsidmap/regex.so' failed with 141
```

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (7 preceding siblings ...)
  2025-01-05  7:54 ` Vaelatern
@ 2025-01-05 15:03 ` jozzsi
  2025-01-05 15:04 ` jozzsi
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jozzsi @ 2025-01-05 15:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

New comment by jozzsi on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2571655794

Comment:
@Vaelatern  Thanks for helping debugging this issue that probably has been there over 10 years.

I will need more help as I am not yet able to reproduce this in the dracut test-suite.

1./ Can you please confirm that omitting nfs module (e.g. `-o nfs` on command line or `omit_dracutmodules+=" nfs "  is a workaround ? Does void-mklive needs nfs module to function properly ? 

2./ Speculatively would commenting out the following line in `dracut.sh` resolve it/make a difference ? 

```
#[[ "$dracutsysrootdir" ]] || [[ "$noexec" ]] || export DRACUT_RESOLVE_LAZY="1"  
```

The goal is to make sure that `DRACUT_RESOLVE_LAZY` is NOT set.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (8 preceding siblings ...)
  2025-01-05 15:03 ` jozzsi
@ 2025-01-05 15:04 ` jozzsi
  2025-01-05 15:04 ` jozzsi
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jozzsi @ 2025-01-05 15:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

New comment by jozzsi on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2571655794

Comment:
@Vaelatern  Thanks for helping debugging this issue that probably has been there over 10 years.

I will need more help as I am not yet able to reproduce this environment in the dracut test suite.

1./ Can you please confirm that omitting nfs module (e.g. `-o nfs` on command line or `omit_dracutmodules+=" nfs "  is a workaround ? Does void-mklive needs nfs module to function properly ? 

2./ Speculatively would commenting out the following line in `dracut.sh` resolve it/make a difference ? 

```
#[[ "$dracutsysrootdir" ]] || [[ "$noexec" ]] || export DRACUT_RESOLVE_LAZY="1"  
```

The goal is to make sure that `DRACUT_RESOLVE_LAZY` is NOT set.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (9 preceding siblings ...)
  2025-01-05 15:04 ` jozzsi
@ 2025-01-05 15:04 ` jozzsi
  2025-01-05 15:04 ` jozzsi
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jozzsi @ 2025-01-05 15:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

New comment by jozzsi on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2571655794

Comment:
@Vaelatern  Thanks for helping debugging this issue that probably has been there over 10 years.

I will need more help as I am not yet able to reproduce this environment in the dracut test suite.

1./ Can you please confirm that omitting nfs module (e.g. `-o nfs` on command line or `omit_dracutmodules+=" nfs "`  is a workaround ? Does void-mklive needs nfs module to function properly ? 

2./ Speculatively would commenting out the following line in `dracut.sh` resolve it/make a difference ? 

```
#[[ "$dracutsysrootdir" ]] || [[ "$noexec" ]] || export DRACUT_RESOLVE_LAZY="1"  
```

The goal is to make sure that `DRACUT_RESOLVE_LAZY` is NOT set.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (10 preceding siblings ...)
  2025-01-05 15:04 ` jozzsi
@ 2025-01-05 15:04 ` jozzsi
  2025-01-07  4:55 ` Vaelatern
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jozzsi @ 2025-01-05 15:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

New comment by jozzsi on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2571655794

Comment:
@Vaelatern  Thanks for helping debugging this issue that probably has been there over 10 years.

I will need more help as I am not yet able to reproduce this environment in the dracut test suite.

1./ Can you please confirm that omitting nfs module (e.g. `-o nfs` on command line or `omit_dracutmodules+=" nfs "` in a dracut config file a workaround ? Does void-mklive needs nfs module to function properly ? 

2./ Speculatively would commenting out the following line in `dracut.sh` resolve it/make a difference ? 

```
#[[ "$dracutsysrootdir" ]] || [[ "$noexec" ]] || export DRACUT_RESOLVE_LAZY="1"  
```

The goal is to make sure that `DRACUT_RESOLVE_LAZY` is NOT set.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (11 preceding siblings ...)
  2025-01-05 15:04 ` jozzsi
@ 2025-01-07  4:55 ` Vaelatern
  2025-01-07  7:54 ` slymattz
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2025-01-07  4:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2574392362

Comment:
1) Yes I can confirm that omitting nfs does work.

2) Where is this file?

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (12 preceding siblings ...)
  2025-01-07  4:55 ` Vaelatern
@ 2025-01-07  7:54 ` slymattz
  2025-01-07  9:40 ` slymattz
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: slymattz @ 2025-01-07  7:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

New comment by slymattz on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2574608448

Comment:
2. I checked that /usr/bin/dracut is a POSIX shell script and in line 1337 (seriously) it contains exactly what @jozzsi wrote.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (13 preceding siblings ...)
  2025-01-07  7:54 ` slymattz
@ 2025-01-07  9:40 ` slymattz
  2025-01-07 20:04 ` Vaelatern
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: slymattz @ 2025-01-07  9:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

New comment by slymattz on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2574608448

Comment:
2. `/usr/bin/dracut: Bourne-Again shell script, ASCII text executable`. This file has exactly what @jozzsi wrote in line 1337.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (14 preceding siblings ...)
  2025-01-07  9:40 ` slymattz
@ 2025-01-07 20:04 ` Vaelatern
  2025-01-07 20:26 ` jozzsi
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2025-01-07 20:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 5007 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2576127091

Comment:
@jozzsi

```
--- /usr/bin/dracut.bck 2025-01-07 20:00:00.326868228 +0000
+++ /usr/bin/dracut     2025-01-07 20:00:00.329868267 +0000
@@ -1334,7 +1334,6 @@
     mkdir "$early_cpio_dir"
 fi

-[[ "$dracutsysrootdir" ]] || [[ "$noexec" ]] || export DRACUT_RESOLVE_LAZY="1"

 if [[ $print_cmdline ]]; then
     stdloglvl=0
dracut[I]: Executing: /usr/bin/dracut -N --zstd --add-drivers ahci --force-add "vmklive livenet autoinstaller" -
-omit systemd /boot/initrd-lts 6.1.114_2
```

```
...
dracut[I]: *** Including module: nfs ***
dracut-install: ERROR: failed to install '/lib/libnfsidmap/nsswitch.so:' for '/lib/libnfsidmap/nsswitch.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/nsswitch.so:' for '/lib/libnfsidmap/nsswitch.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/nsswitch.so:' for '/lib/libnfsidmap/nsswitch.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/nsswitch.so:' for '/lib/libnfsidmap/nsswitch.so'
dracut-install: ERROR: 'ldd /lib/libnfsidmap/nsswitch.so' failed with 127
dracut-install: ERROR: installing '/lib/libnfsidmap/nsswitch.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/regex.so:' for '/lib/libnfsidmap/regex.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/regex.so:' for '/lib/libnfsidmap/regex.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/regex.so:' for '/lib/libnfsidmap/regex.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/regex.so:' for '/lib/libnfsidmap/regex.so'
dracut-install: ERROR: 'ldd /lib/libnfsidmap/regex.so' failed with 127
dracut-install: ERROR: installing '/lib/libnfsidmap/regex.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/static.so:' for '/lib/libnfsidmap/static.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/static.so:' for '/lib/libnfsidmap/static.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/static.so:' for '/lib/libnfsidmap/static.so'
dracut-install: ERROR: 'ldd /lib/libnfsidmap/static.so' failed with 127
dracut-install: ERROR: installing '/lib/libnfsidmap/static.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/umich_ldap.so:' for '/lib/libnfsidmap/umich_ldap.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/umich_ldap.so:' for '/lib/libnfsidmap/umich_ldap.so'
dracut-install: ERROR: failed to install '/lib/libnfsidmap/umich_ldap.so:' for '/lib/libnfsidmap/umich_ldap.so'
dracut-install: ERROR: 'ldd /lib/libnfsidmap/umich_ldap.so' failed with 127
dracut-install: ERROR: installing '/lib/libnfsidmap/umich_ldap.so'
dracut-install: ERROR: failed to install '/usr/lib/libnfsidmap/nsswitch.so:' for '/usr/lib/libnfsidmap/nsswitch.
so'
dracut-install: ERROR: failed to install '/usr/lib/libnfsidmap/nsswitch.so:' for '/usr/lib/libnfsidmap/nsswitch.
so'
dracut-install: ERROR: failed to install '/usr/lib/libnfsidmap/nsswitch.so:' for '/usr/lib/libnfsidmap/nsswitch.
so'
dracut-install: ERROR: failed to install '/usr/lib/libnfsidmap/nsswitch.so:' for '/usr/lib/libnfsidmap/nsswitch.
so'
dracut-install: ERROR: 'ldd /usr/lib/libnfsidmap/nsswitch.so' failed with 127
....
```

and then...

```
...
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.vx2Sf7/initramfs -a -l /lib/libnfsidmap/nsswitch.so /lib/libnfsidmap/regex.so /lib/libnfsidmap/static.so /lib/libnfsidmap/umich_ldap.so /lib/libnfsidmap.so /lib/libnfsidmap.so.1 /lib/libnfsidmap.so.1.0.0 /usr/lib/libnfsidmap/nsswitch.so /usr/lib/libnfsidmap/regex.so
/usr/lib/libnfsidmap/static.so /usr/lib/libnfsidmap/umich_ldap.so /usr/lib/libnfsidmap.so /usr/lib/libnfsidmap.so.1 /usr/lib/libnfsidmap.so.1.0.0
dracut[I]: *** Including module: nvmf ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: img-lib ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing AuthenticAMD.bin ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initrd-lts' ***
```

So it seems to operate while it shouts loudly about the plugins.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (15 preceding siblings ...)
  2025-01-07 20:04 ` Vaelatern
@ 2025-01-07 20:26 ` jozzsi
  2025-01-07 20:29 ` Vaelatern
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jozzsi @ 2025-01-07 20:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

New comment by jozzsi on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2576160393

Comment:
> So it seems to operate while it shouts loudly about the plugins.

Thanks. We can try to detect musl (or ldd/ldconfig version/info) and do not set `DRACUT_RESOLVE_LAZY`. Is there a recommended way for void to do the detection ? 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (16 preceding siblings ...)
  2025-01-07 20:26 ` jozzsi
@ 2025-01-07 20:29 ` Vaelatern
  2025-01-07 22:42 ` jozzsi
  2025-01-08  5:15 ` Vaelatern
  19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2025-01-07 20:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2576163879

Comment:
`ldd 2>&1 | grep musl` looks to function. Not recommended but.

Maybe just unset it for the nfs module?

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (17 preceding siblings ...)
  2025-01-07 20:29 ` Vaelatern
@ 2025-01-07 22:42 ` jozzsi
  2025-01-08  5:15 ` Vaelatern
  19 siblings, 0 replies; 21+ messages in thread
From: jozzsi @ 2025-01-07 22:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

New comment by jozzsi on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2576365444

Comment:
> `ldd 2>&1 | grep musl` looks to function. Not recommended but.
> 
> Maybe just unset it for the nfs module?

Can you please help verifying this patch - https://github.com/dracut-ng/dracut-ng/pull/1088/commits/7f2d93b06825c109cbf9ca1d0f4851647aac2c9c

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: nfs-utils on musl: ldd failure on installed .so
  2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
                   ` (18 preceding siblings ...)
  2025-01-07 22:42 ` jozzsi
@ 2025-01-08  5:15 ` Vaelatern
  19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2025-01-08  5:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/53785#issuecomment-2576772101

Comment:
@jozzsi Patch verified. It errors wildly and complains about errors, and failing but does successfully emit an image.

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-01-08  5:15 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-01  7:45 [ISSUE] nfs-utils on void: ldd failure on installed .so Vaelatern
2025-01-01 13:23 ` nfs-utils on musl: " slymattz
2025-01-03  1:08 ` Vaelatern
2025-01-04  5:28 ` classabbyamp
2025-01-04  5:41 ` classabbyamp
2025-01-04  6:23 ` classabbyamp
2025-01-04 12:29 ` jozzsi
2025-01-05  7:29 ` Vaelatern
2025-01-05  7:54 ` Vaelatern
2025-01-05 15:03 ` jozzsi
2025-01-05 15:04 ` jozzsi
2025-01-05 15:04 ` jozzsi
2025-01-05 15:04 ` jozzsi
2025-01-07  4:55 ` Vaelatern
2025-01-07  7:54 ` slymattz
2025-01-07  9:40 ` slymattz
2025-01-07 20:04 ` Vaelatern
2025-01-07 20:26 ` jozzsi
2025-01-07 20:29 ` Vaelatern
2025-01-07 22:42 ` jozzsi
2025-01-08  5:15 ` Vaelatern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).