Does it also move "systemd-ask-password" to -extra? For a distro that targets embedded devices (i.e. where services aren't going to use systemd's ask-password facility because nobody will ever be around to manually respond to such prompts for services *anyway*), I think it would be fine to leave out these binaries from the main package and patch out the warning or something like that...
On Wed, Jul 9, 2025, 16:58 James Muir (jamesmui) <james...@cisco.com> wrote: > >> Any comment on my other question: is systemd-tty-ask-password an > optional component? > > > > It is optional. You can skip it with --no-ask-password. If you did not, > > it is assumed you wanted password agent and the warning is correct. It > > is just a message, systemctl does not fail if it could not launch > > password agent. So, even from this angle it is optional. Maybe you mean > > "warning should be optional"? > > Thanks for your reply. > > > > I want to know if it makes sense for the executable > /usr/bin/systemd-tty-ask-password-agent to be absent. > > > > OpenEmbedded puts systemd-tty-ask-password-agent in a separate > install-package (systemd-extra-utils). > > > > If you install the main systemd package, but not systemd-extra-utils, then > /usr/bin/systemd-tty-ask-password-agent won’t exist on your system; but > there is still a reference to /usr/bin/systemd-tty-ask-password-agent > inside libsystemd-shared-255.so. > > > > I wonder if systemd-tty-ask-password-agent should be moved into the main > systemd package. > > > > -James M > > > > >