-
Notifications
You must be signed in to change notification settings - Fork 234
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
etc/pam.d/Makefile.am: Fix typo #949
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It depends - the original commit message mentioned wanting to move chpasswd
up - now it's chgpasswd
..
Do you mean this? diff --git a/etc/pam.d/Makefile.am b/etc/pam.d/Makefile.am
index fe676b44..6a76551f 100644
--- a/etc/pam.d/Makefile.am
+++ b/etc/pam.d/Makefile.am
@@ -2,6 +2,7 @@
# and also cooperate to make a distribution for `make dist'
pamd_files = \
+ chpasswd \
chfn \
chgpasswd \
chsh \
@@ -12,7 +13,6 @@ pamd_files = \
pamd_acct_tools_files = \
chage \
- chpasswd \
groupadd \
groupdel \
groupmod \ or this? diff --git a/etc/pam.d/Makefile.am b/etc/pam.d/Makefile.am
index fe676b44..b8e4321f 100644
--- a/etc/pam.d/Makefile.am
+++ b/etc/pam.d/Makefile.am
@@ -2,8 +2,8 @@
# and also cooperate to make a distribution for `make dist'
pamd_files = \
+ chpasswd \
chfn \
- chgpasswd \
chsh \
groupmems \
login \
@@ -12,7 +12,7 @@ pamd_files = \
pamd_acct_tools_files = \
chage \
- chpasswd \
+ chgpasswd \
groupadd \
groupdel \
groupmod \ Or none? |
2nd variant is more in line with the commit message of the original PR; |
Yeah, that's why I want someone with the original problem to test this thing. :) |
Yep. Thanks! |
At least openSUSE/SUSE did not - as we build shadow with |
52af305
to
3ad184c
Compare
v2 changes:
|
I've marked 4.14.4 as broken (https://github.com/shadow-maint/shadow/releases/tag/4.14.4), and set 4.14.3 as the latest release. |
I'll take your approval as a Signed-off-by ;) |
3ad184c
to
8e8a817
Compare
v2b changes:
|
Can you please confirm that this fixes the build on Suse? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ups! Big mistake on my side for not realizing this. Thanks @alejandro-colomar for providing the fix.
I pulled this PR into a patch and get: Complete spec file
Complete build log
|
Patching the released 4.14.4 tarball with only this patch won't work - as the file https://github.com/shadow-maint/shadow/blob/master/etc/pam.d/chgpasswd is missing in the tarball ( you will have to add the content of that file to your build |
Ah of course. I thought I'm missing something here. Everything builds fine now. |
8e8a817
to
60d6b69
Compare
v2c changes:
While I'd like if someone from Arch could have a look at this,
So, @ikerexxe , I'll let you merge. I think we can merge already, but maybe you want to give them some time to have a look. |
This does not cause any change on Arch due to its use of --disable-account-tools-setuid ships chgpasswd without pam support. |
The commit we're fixing mentions that it wanted to move 'chpasswd', but it removed 'ch_g_passwd' from 'pamd_acct_tools_files' and added 'chpasswd' to 'pamd_files'. It seems it removed the wrong thing by accident. Fixes: 341d80c ("Makefile: move chpasswd and newusers to pamd target") Link: <shadow-maint#928 (comment)> Link: <shadow-maint#926 (comment)> Reported-by: Dominique Leuenberger <dleuenberger@suse.com> Reported-by: Michael Vetter <jubalh@iodoru.org> Cc: David Runge <dvzrv@archlinux.org> Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com> Tested-by: Michael Vetter <jubalh@iodoru.org> Reviewed-by: Michael Vetter <jubalh@iodoru.org> Reviewed-by: loqs <https://github.com/loqs> Co-developed-by: Dominique Leuenberger <dleuenberger@suse.com> Signed-off-by: Dominique Leuenberger <dleuenberger@suse.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
60d6b69
to
96fc104
Compare
v2d changes:
Now I'll merge. :) |
4.14.4 is under certain conditions broken. See shadow-maint/shadow#949. Signed-off-by: Michael Vetter <jubalh@iodoru.org>
4.14.4 is under certain conditions broken. See shadow-maint/shadow#949. Signed-off-by: Michael Vetter <jubalh@iodoru.org> Closes: #35309 Signed-off-by: Sam James <sam@gentoo.org>
Fixes: 341d80c ("Makefile: move chpasswd and newusers to pamd target")
Link: #928 (comment)
Link: #926 (comment)
Reported-by: @DimStar77
Reported-by: @jubalh
Cc: @loqs
Cc: @dvzrv
Cc: @ikerexxe
To be cherry-picked to 4.14.x.