Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] libpwquality no working on musl
@ 2022-10-22 12:17 szorfein
  2022-10-22 15:42 ` sgn
  2022-10-22 16:00 ` [ISSUE] [CLOSED] " sgn
  0 siblings, 2 replies; 3+ messages in thread
From: szorfein @ 2022-10-22 12:17 UTC (permalink / raw)
  To: ml

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

New issue by szorfein on void-packages repository

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

Description:
### Is this a new report?

Yes

### System Info

Void 5.19.13_1 x86_64-musl GenuineIntel/KVM notuptodate rFF

### Package(s) Affected

libpwquality-1.4.4_1

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

_No response_

### Expected behaviour

    passwd username
    New password:
    BAD password: the password fails the dictionary check
    Retype new password:

### Actual behaviour

    
    passwd user
    passwd: Module is unknown
    passwd: password unchanged

### Steps to reproduce

1. xbps-install -S libpwquality
2. vim /etc/pam.d/passwd
```txt
password required pam_pwquality.so retry=2 
password required pam_unix.so use_authtok sha512 shadow rounds=20000
```
3. passwd user

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

* Re: libpwquality no working on musl
  2022-10-22 12:17 [ISSUE] libpwquality no working on musl szorfein
@ 2022-10-22 15:42 ` sgn
  2022-10-22 16:00 ` [ISSUE] [CLOSED] " sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2022-10-22 15:42 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/40104#issuecomment-1287830858

Comment:
Confirmed:
```cpp
#include <dlfcn.h>
#include <stddef.h>
#include <stdio.h>

int main(int argc, char **argv) {
        if (argc != 2) return 255;
        void *h = dlopen(argv[1], RTLD_NOW);
        if (h == NULL) {
                printf("dlopen: %s\n", dlerror());
                return 1;
        }
        return 0;
}
```
```
$ ./a.out /usr/lib/security/pam_pwquality.so
dlopen: Error relocating /usr/lib/security/pam_pwquality.so: fgetpwent_r: symbol not found
```

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

* Re: [ISSUE] [CLOSED] libpwquality no working on musl
  2022-10-22 12:17 [ISSUE] libpwquality no working on musl szorfein
  2022-10-22 15:42 ` sgn
@ 2022-10-22 16:00 ` sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2022-10-22 16:00 UTC (permalink / raw)
  To: ml

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

Closed issue by szorfein on void-packages repository

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

Description:
### Is this a new report?

Yes

### System Info

Void 5.19.13_1 x86_64-musl GenuineIntel/KVM notuptodate rFF

### Package(s) Affected

libpwquality-1.4.4_1

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

_No response_

### Expected behaviour

    passwd username
    New password:
    BAD password: the password fails the dictionary check
    Retype new password:

### Actual behaviour
    
    passwd user
    passwd: Module is unknown
    passwd: password unchanged

The lib exist:

    ls /usr/lib/security | grep pwquality
    pam_pwquality.so

### Steps to reproduce

1. xbps-install -S libpwquality
2. vim /etc/pam.d/passwd
```txt
password required pam_pwquality.so retry=2 
password required pam_unix.so sha512 shadow nullok rounds=20000
```
3. passwd user

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

end of thread, other threads:[~2022-10-22 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-22 12:17 [ISSUE] libpwquality no working on musl szorfein
2022-10-22 15:42 ` sgn
2022-10-22 16:00 ` [ISSUE] [CLOSED] " sgn

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).