Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829710 - sys-apps/util-linux: su --login does not ask for password, says Authentication failure
Summary: sys-apps/util-linux: su --login does not ask for password, says Authenticatio...
Status: RESOLVED DUPLICATE of bug 622666
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 10:42 UTC by Andrew Udvare
Modified: 2022-07-30 07:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Udvare 2021-12-20 10:42:55 UTC
Recently updated and now every time I run "su -" or "su -l" or "su --login", process waits about 3 seconds then says:

 $ time su --login
su: Authentication failure

actual  0m3.003s
user    0m0.000s
sys     0m0.003s
CPU     0.11%

This was working prior to the update but I do not know what changed exactly. My log says glibc was updated as was util-linux. This issue is after a reboot.

emerge --info:

Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.1, glibc
-2.34-r4, 5.15.10-gentoo-limelight x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.10-gentoo-limelight-x86_64-11th_Gen_Intel-R-_Core-TM-_i9-11900K_@_3.50GHz-with-
glibc2.34
KiB Mem:    65714820 total,  61754884 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 20 Dec 2021 00:21:59 +0000
Head commit of repository gentoo: 814453ed281ece5abc7a38e4c419863866d26c6e

Timestamp of repository brave-overlay: Thu, 16 Dec 2021 12:06:51 +0000
Head commit of repository brave-overlay: 3d86d77b9cf07992b4876c38f0d3c6529b83d6b1

Head commit of repository guru: 9b9950f6bac09e3e230759ec0868dccfffcc5f49

Timestamp of repository menelkir: Sat, 18 Dec 2021 22:08:53 +0000
Head commit of repository menelkir: 5c2c20a2ddaf1db989daee71eb47400197963a71

Head commit of repository tatsh-overlay: 2ab809e80f4b5a5f36108673d50a33b8b5081278

sh bash 5.1_p12
ld GNU ld (Gentoo 2.37_p1 p1) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p12::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.1-r1::gentoo
dev-lang/rust:             1.57.0::gentoo
dev-util/cmake:            3.22.1::gentoo
dev-util/meson:            0.60.2-r1::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          249.6-r1::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.0::gentoo
sys-devel/gcc:             11.2.1_p20211127::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r4::gentoo

=================================================================
                        Package Settings
=================================================================

sys-apps/util-linux-2.37.2-r2::gentoo was built with the following:
USE="cramfs hardlink logger ncurses nls pam readline (split-usr) static-libs su suid systemd tty-helpers udev (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic -python (-rtas) (-selinux) -slang -test" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python3_9 -python3_8"
FEATURES="preserve-libs buildpkg-live strict multilib-strict binpkg-dostrip distlocks news merge-sync userpriv ipc-sandbox fixlafiles usersync strict-keepdir cgroup sandbox userfetch assume-digests qa-unresolved-soname-deps sfperms usersandbox ebuild-locks binpkg-multi-instance clean-logs unmerge-orphans config-protect-if-modified protect-owned binpkg-logs xattr splitdebug unknown-features-warn compressdebug parallel-fetch network-sandbox unmerge-logs pid-sandbox binpkg-docompress"
Comment 1 Jonas Stein gentoo-dev 2021-12-20 12:43:59 UTC
The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].

Did you find this:
https://askubuntu.com/questions/446570/why-does-su-fail-with-authentication-error

I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-20 21:46:43 UTC
I think this issue is fixed in -r3. Can you sync and try again?
Comment 3 Andrew Udvare 2021-12-20 21:51:16 UTC
-r3 fixes this.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-20 23:07:44 UTC
(In reply to Andrew Udvare from comment #3)
> -r3 fixes this.

Thanks!

*** This bug has been marked as a duplicate of bug 622666 ***