Systemd user unit WantedBy=multi-user.target

Description:

timidity.service is installed as a user unit. While attempting to enable the unit, such a warning occurs:

Created symlink '/home/username/.config/systemd/user/multi-user.target.wants/timidity.service' → '/usr/lib/systemd/user/timidity.service'.
Unit /usr/lib/systemd/user/timidity.service is added as a dependency to a non-existent unit multi-user.target.

According to the wiki:

systemd --user runs as a separate process from the systemd --system process. User units can not reference or depend on system units or units of other users.

A user unit should depends on default.target in general.

Additional info:

  • package version(s): 2.15.0-11
  • config and/or log files: default config
  • link to upstream bug report, if any: none

Steps to reproduce:

  1. systemctl --user enable timidity.service