You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ systemd-analyze verify securedrop/debian/config/lib/systemd/system/securedrop-remove-packages.service
/home/user/github/freedomofpress/securedrop/securedrop/debian/config/lib/systemd/system/securedrop-remove-packages.service:3: Unknown key 'ConditionPathExists|' in section [Unit], ignoring.
/home/user/github/freedomofpress/securedrop/securedrop/debian/config/lib/systemd/system/securedrop-remove-packages.service:4: Unknown key 'ConditionPathExists|' in section [Unit], ignoring.
/usr/lib/systemd/system/qubes-gui-agent.service:15: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
securedrop-remove-packages.service: Command /usr/bin/apt-get is not executable: No such file or directory
So probably we can get that to work. Maybe it needs to be a staging check? Idk.
In case it's helpful, on the workstation side of things I put up a draft PR with some basic systemd testing of our expected unit files over there; it can probably be reused once it's a bit more polished freedomofpress/securedrop-workstation#1234
Description
securedrop/securedrop/debian/config/lib/systemd/system/securedrop-remove-packages.service
Lines 3 to 4 in 3f737a2
Stupid typo on my part,
|=
is wrong, it's supposed to be=|
. This shows up when you runsystemctl daemon-reload
.There's no real adverse effect, it just ends up invoking apt more often than necessary, so I'm flagging this for the 2.12 release.
Would be good to figure out a regression test for this in the future, especially since systemd can clearly spot the error.
The text was updated successfully, but these errors were encountered: