Summary: | app-admin/sudo-1.9.8[sssd] segmentation faults when executed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anders Larsson <anders.gentoo> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, michael, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Anders Larsson
2021-09-14 11:25:06 UTC
This does not appear to impact all users with sudo rules populated by sssd. So far it seems only my primary user is getting segmentation faults and no other users on the system. BTW. I'm also getting the "... effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' ..." error when executing sudo through gdb/strace for users where it is working so please disregard that message. > "... effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid'
Same here.
This is an upstream bug fixed in sudo 1.9.8_p1, it seems: ``` * Fixed a crash with "sudo ALL" rules in the LDAP and SSSD back-ends. This is a regression introduced in sudo 1.9.8. Bug #994. ``` https://bugzilla.sudo.ws/show_bug.cgi?id=994 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59c922b7aac628c2411d60f466b0136d4735f7d commit b59c922b7aac628c2411d60f466b0136d4735f7d Author: Sam James <sam@gentoo.org> AuthorDate: 2021-09-16 22:04:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-09-16 22:04:51 +0000 app-admin/sudo: add 1.9.8_p1 Closes: https://bugs.gentoo.org/813039 Signed-off-by: Sam James <sam@gentoo.org> app-admin/sudo/Manifest | 1 + app-admin/sudo/sudo-1.9.8_p1.ebuild | 255 ++++++++++++++++++++++++++++++++++++ 2 files changed, 256 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e62a1449ffda62e825e84e1028be8b971ac33fb commit 6e62a1449ffda62e825e84e1028be8b971ac33fb Author: Sam James <sam@gentoo.org> AuthorDate: 2021-09-16 22:05:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-09-16 22:05:24 +0000 app-admin/sudo: drop 1.9.8 Bug: https://bugs.gentoo.org/813039 Signed-off-by: Sam James <sam@gentoo.org> app-admin/sudo/Manifest | 1 - app-admin/sudo/sudo-1.9.8.ebuild | 255 --------------------------------------- 2 files changed, 256 deletions(-) With _p1 - still the same! (1.9.7 works) sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges? (on non-NFS and no-nosuid system) (In reply to Jan Psota from comment #5) > With _p1 - still the same! (1.9.7 works) > sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the > 'nosuid' option set or an NFS file system without root privileges? > (on non-NFS and no-nosuid system) This sounds like a separate bug to the sssd crash issue? I can confirm that the update resolved the issue with sudo segmentation faulting when built with the USE flag sssd. Thanks! > This sounds like a separate bug to the sssd crash issue?
USE flags on my system (sendmail turned off, amd64/17.1/systemd defaults)
app-admin/sudo-1.9.8_p1::gentoo [1.9.7_p2::gentoo] USE="nls pam secure-path ssl -gcrypt -ldap -offensive -sasl (-selinux) -sendmail -skey -sssd"
(In reply to Jan Psota from comment #8) > > This sounds like a separate bug to the sssd crash issue? > USE flags on my system (sendmail turned off, amd64/17.1/systemd defaults) > > app-admin/sudo-1.9.8_p1::gentoo [1.9.7_p2::gentoo] USE="nls pam secure-path > ssl -gcrypt -ldap -offensive -sasl (-selinux) -sendmail -skey -sssd" I think I still need you to file a new bug for this in Gentoo and then ideally upstream. (In reply to Anders Larsson from comment #7) > I can confirm that the update resolved the issue with sudo segmentation > faulting when built with the USE flag sssd. Thanks! Thanks for the confirmation! (In reply to Sam James from comment #9) > (In reply to Jan Psota from comment #8) > > > This sounds like a separate bug to the sssd crash issue? > > USE flags on my system (sendmail turned off, amd64/17.1/systemd defaults) > > > > app-admin/sudo-1.9.8_p1::gentoo [1.9.7_p2::gentoo] USE="nls pam secure-path > > ssl -gcrypt -ldap -offensive -sasl (-selinux) -sendmail -skey -sssd" > > I think I still need you to file a new bug for this in Gentoo and then > ideally upstream. This still applies, but 1.9.8_p2 may work. _p2 works! :-D Now it is "RESOLVED FIXED" ;-) |