Skip to content

Commit

Permalink
fix(systemd-ask-password): do not half-install systemd-ask-password-wall
Browse files Browse the repository at this point in the history
Do not install the path unit when the service unit is not installed
for systemd-ask-password-wall.

Fixes the following warning on the CI:

[FAILED] Failed to start Forward Password Requests to Wall Directory Watch.
See 'systemctl status systemd-ask-password-wall.path' for details.
...
systemd[1]: systemd-ask-password-wall.path: Refusing to start, unit systemd-ask-password-wall.service to trigger not loaded.
systemd[1]: Failed to start Forward Password Requests to Wall Directory Watch.
  • Loading branch information
jozzsi authored and pvalena committed Jan 30, 2025
1 parent efc8904 commit 4ddc005
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules.d/01systemd-ask-password/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ install() {
inst_multiple -o \
"$systemdsystemunitdir"/systemd-ask-password-console.path \
"$systemdsystemunitdir"/systemd-ask-password-console.service \
"$systemdsystemunitdir"/multi-user.target.wants/systemd-ask-password-wall.path \
"$systemdsystemunitdir"/sysinit.target.wants/systemd-ask-password-console.path \
systemd-ask-password \
systemd-tty-ask-password-agent
Expand Down

0 comments on commit 4ddc005

Please sign in to comment.