Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Tornedo.tetrain.com Upgrade Plan
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== 9.3 Two more onboardings (<code><nowiki>zurt-sysnet</nowiki></code>, <code><nowiki>email.rahulchaudhry.com</nowiki></code>) β same hosts-file bug, === plus two *new* systemic gaps found '''<code><nowiki>zurt-sysnet.mysecuremail.email</nowiki></code>''': identical swapped-hostname + loopback <code><nowiki>/etc/hosts</nowiki></code> bug as <code><nowiki>zurt-ison</nowiki></code> (labels reversed: <code><nowiki>sysnet-zurt</nowiki></code> vs. actual <code><nowiki>zurt-sysnet</nowiki></code>) β same fix applied (correct name + real IP <code><nowiki>65.20.85.22</nowiki></code>, <code><nowiki>manage_etc_hosts: false</nowiki></code>). '''<code><nowiki>email.rahulchaudhry.com</nowiki></code>''' (Ubuntu 25.10) β three separate issues in one onboarding: # <code><nowiki>ipa-client-install</nowiki></code> failed at the time-sync step: <code><nowiki>chrony.service</nowiki></code> not found β chrony wasn't installed on this image at all, even though the installer tried to configure it. Fixed with <code><nowiki>apt-get install -y chrony</nowiki></code> before retrying. Worth checking chrony is present *before* running <code><nowiki>ipa-client-install</nowiki></code> on future minimal/stripped images. # <code><nowiki>--mkhomedir</nowiki></code> didn't actually create home directories despite being passed β same Debian/pam-auth-update gap as the <code><nowiki>pam_sss</nowiki></code> one, but for a *different* profile: <code><nowiki>pam_mkhomedir.so</nowiki></code> was missing from <code><nowiki>common-session</nowiki></code>. Fix: <code><nowiki>pam-auth-update --force --enable mkhomedir</nowiki></code> (in addition to <code><nowiki>--enable sss</nowiki></code>, not instead of). # '''New, distinct finding''': sudo denied for a user (<code><nowiki>biswajit</nowiki></code>) known to have valid, working IPA sudo rules (<code><nowiki>sudorule1</nowiki></code>, Host category: all, confirmed via <code><nowiki>ipa sudorule-show</nowiki></code>) β with zero SSSD sudo-responder log activity for any of it, even after confirming <code><nowiki>libsss-sudo</nowiki></code> was installed, the shared library existed on disk, and the SSSD sudo socket was present and correctly permissioned. Root cause: **Ubuntu 25.10 ships <code><nowiki>sudo-rs</nowiki></code> (a Rust reimplementation of sudo) as the *default* <code><nowiki>/usr/bin/sudo</nowiki></code>**, and this version (<code><nowiki>0.2.8</nowiki></code>) does not appear to support SSSD/IPA-driven sudo rules β it silently falls back to local-file-only sudoers evaluation, giving a plausible-looking (if oddly-worded β custom "I'm sorry, I'm afraid I can't do that" message) denial with no diagnostic trail on the SSSD side at all. Classic GNU sudo (<code><nowiki>1.9.17p2</nowiki></code>) was already installed alongside it, just not the active alternative. '''Fix''': switch the <code><nowiki>sudo</nowiki></code> alternative to the classic binary (which the <code><nowiki>sudo</nowiki></code> package installs at <code><nowiki>/usr/bin/sudo.ws</nowiki></code> on this Ubuntu convention, not the plain <code><nowiki>/usr/bin/sudo</nowiki></code> path β no <code><nowiki>dpkg-divert</nowiki></code> involved, just an incompletely-registered alternatives group): <pre> <nowiki> update-alternatives --install /usr/bin/sudo sudo /usr/bin/sudo.ws 50 update-alternatives --set sudo /usr/bin/sudo.ws </nowiki> </pre> Verified via <code><nowiki>sudo --version</nowiki></code> (no longer reports <code><nowiki>sudo-rs</nowiki></code>) and <code><nowiki>sudo -l -U biswajit</nowiki></code> (correctly returned <code><nowiki>(root) NOPASSWD: ALL</nowiki></code>, matching <code><nowiki>sudorule1</nowiki></code>). '''Updated action item for Ubuntu 25.10+ onboarding specifically''': in addition to the <code><nowiki>pam-auth-update --force --enable sss</nowiki></code> step, also run <code><nowiki>--enable mkhomedir</nowiki></code>, and check <code><nowiki>sudo --version</nowiki></code> β if it reports <code><nowiki>sudo-rs</nowiki></code>, switch to classic sudo via the <code><nowiki>update-alternatives</nowiki></code> commands above *before* considering the box's sudo access functional for any IPA-managed user.
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)