Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ contents: |
# TODO add --from-etc-pullspec after ratcheting
ExecStart=/usr/libexec/machine-config-daemon pivot

[Install]
WantedBy=multi-user.target
Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to remove this as it may not adding up in this service.

Speaking out loud:
From the documentation https://www.freedesktop.org/software/systemd/man/systemd.unit.html , it says WantedBy= option may be used more than once, or a space-separated list of unit names may be given. A symbolic link is created in the .wants/ or .requires/ directory of each of the listed units when this unit is installed by systemctl enable. By default m-c-d-host.service is in disabled state, so I hope this wasn't causing any issue so far.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ohhhhh I had completely missed that we had enabled: false. Thanks! That's indeed why the services aren't clashing.

dropins:
- name: 10-mco-default-env.conf
contents: |
Expand Down