Skip to contentSkip to conversation

systemd: Password agents shouldn't be optional

PATCH Vyacheslav Yurkov 2 participants 2 messages May 4, 2025 – May 12, 2025 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Do you think this change can be backported to scarthgap?

Slava

Quoted 51 lines · Vyacheslav Yurkov via lists.openembedded.org

From: Vyacheslav Yurkov <[email protected]>

If extra-utils package is not included in the image, you'll always see a warning that password agent is missing whenever you start/stop a service:
Failed to execute /usr/bin/systemd-tty-ask-password-agent: No such file or directory

---
  meta/recipes-core/systemd/systemd_257.5.bb | 10 ----------
  1 file changed, 10 deletions(-)
meta/recipes-core/systemd/systemd_257.5.bb +0 -11
index 2a18445eba..acf97517a9 100644
@@ -602,26 +602,16 @@ FILES:${PN}-extra-utils = "\
                          ${bindir}/systemd-cgls \
                          ${bindir}/systemd-cgtop \
                          ${bindir}/systemd-stdio-bridge \
-                        ${base_bindir}/systemd-ask-password \
-                        ${base_bindir}/systemd-tty-ask-password-agent \
                          ${base_sbindir}/mount.ddi \
                          ${systemd_system_unitdir}/initrd.target.wants/systemd-pcrphase-initrd.path \
-                        ${systemd_system_unitdir}/systemd-ask-password-console.path \
-                        ${systemd_system_unitdir}/systemd-ask-password-console.service \
-                        ${systemd_system_unitdir}/systemd-ask-password-wall.path \
-                        ${systemd_system_unitdir}/systemd-ask-password-wall.service \
-                        ${systemd_system_unitdir}/sysinit.target.wants/systemd-ask-password-console.path \
-                        ${systemd_system_unitdir}/sysinit.target.wants/systemd-ask-password-wall.path \
                          ${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase.path \
                          ${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase-sysinit.path \
-                        ${systemd_system_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path \
                          ${nonarch_libdir}/systemd/systemd-resolve-host \
                          ${nonarch_libdir}/systemd/systemd-ac-power \
                          ${nonarch_libdir}/systemd/systemd-activate \
                          ${nonarch_libdir}/systemd/systemd-measure \
                          ${nonarch_libdir}/systemd/systemd-pcrphase \
                          ${nonarch_libdir}/systemd/systemd-socket-proxyd \
-                        ${nonarch_libdir}/systemd/systemd-reply-password \
                          ${nonarch_libdir}/systemd/systemd-sleep \
                          ${nonarch_libdir}/systemd/system-sleep \
                          ${systemd_system_unitdir}/systemd-hibernate.service \
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#215684): https://lists.openembedded.org/g/openembedded-core/message/215684
Mute This Topic: https://lists.openembedded.org/mt/112524855/4455192
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 2 lines · Vyacheslav Yurkov

Do you think this change can be backported to scarthgap?

This is not a clean cherry-pick for scarthgap.

Feel free to prepare, test, and submit a version of this patch for scarthgap.

Thanks,

Steve

Quoted 53 lines · Vyacheslav Yurkov via lists.openembedded.org
Quoted 51 lines

From: Vyacheslav Yurkov <[email protected]>

If extra-utils package is not included in the image, you'll always see a warning that password agent is missing whenever you start/stop a service:
Failed to execute /usr/bin/systemd-tty-ask-password-agent: No such file or directory

---
  meta/recipes-core/systemd/systemd_257.5.bb | 10 ----------
  1 file changed, 10 deletions(-)
meta/recipes-core/systemd/systemd_257.5.bb +0 -11
index 2a18445eba..acf97517a9 100644
@@ -602,26 +602,16 @@ FILES:${PN}-extra-utils = "\
                          ${bindir}/systemd-cgls \
                          ${bindir}/systemd-cgtop \
                          ${bindir}/systemd-stdio-bridge \
-                        ${base_bindir}/systemd-ask-password \
-                        ${base_bindir}/systemd-tty-ask-password-agent \
                          ${base_sbindir}/mount.ddi \
                          ${systemd_system_unitdir}/initrd.target.wants/systemd-pcrphase-initrd.path \
-                        ${systemd_system_unitdir}/systemd-ask-password-console.path \
-                        ${systemd_system_unitdir}/systemd-ask-password-console.service \
-                        ${systemd_system_unitdir}/systemd-ask-password-wall.path \
-                        ${systemd_system_unitdir}/systemd-ask-password-wall.service \
-                        ${systemd_system_unitdir}/sysinit.target.wants/systemd-ask-password-console.path \
-                        ${systemd_system_unitdir}/sysinit.target.wants/systemd-ask-password-wall.path \
                          ${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase.path \
                          ${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase-sysinit.path \
-                        ${systemd_system_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path \
                          ${nonarch_libdir}/systemd/systemd-resolve-host \
                          ${nonarch_libdir}/systemd/systemd-ac-power \
                          ${nonarch_libdir}/systemd/systemd-activate \
                          ${nonarch_libdir}/systemd/systemd-measure \
                          ${nonarch_libdir}/systemd/systemd-pcrphase \
                          ${nonarch_libdir}/systemd/systemd-socket-proxyd \
-                        ${nonarch_libdir}/systemd/systemd-reply-password \
                          ${nonarch_libdir}/systemd/systemd-sleep \
                          ${nonarch_libdir}/systemd/system-sleep \
                          ${systemd_system_unitdir}/systemd-hibernate.service \
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#215684): https://lists.openembedded.org/g/openembedded-core/message/215684
Mute This Topic: https://lists.openembedded.org/mt/112524855/4455192
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-