Skip to content

Conversation

AnthoineB
Copy link
Member

When xostor is activated, drbd-reactor.service pulls polkit dependency.
As polkit.service doesn't exist, the command systemd-analyze verify default.target prints the message:
Cannot add dependency job for unit polkit.service, ignoring: Unit not found.
and test_systemd.py fails.

Whitelist polkit message to allow test_systemd.py to pass.

@AnthoineB AnthoineB requested review from stormi, tescande and ydirson June 11, 2025 15:45
@AnthoineB AnthoineB self-assigned this Jun 11, 2025
This message only append with xostor activated.
drbd-reactor.service depends on polkit service.

Signed-off-by: Anthoine Bourgeois <[email protected]>
@AnthoineB AnthoineB force-pushed the fix-systemd-test-xostor branch from a3c7632 to 4c3c0b0 Compare June 11, 2025 15:47
Copy link
Member

@stormi stormi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather make the test XFAIL when this string is found, and in the same time queue a work item for a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants