fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.47k stars 305 forks source link

sudo systemctl enable ly.service - The unit files have no installation config #648

Closed simonfogliato closed 3 months ago

simonfogliato commented 4 months ago

When the following command is run:

sudo systemctl enable ly.service

Then the system returns a note.

The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
Also=, or Alias= settings in the [Install] section, and DefaultInstance= for
template units). This means they are not meant to be enabled or disabled using systemctl.

Possible reasons for having these kinds of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/, .requires/, or .upholds/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.
AnErrupTion commented 4 months ago

@simonfogliato This should be fixed by #623.

christian-heusel commented 3 months ago

Which systemd version are you on? This was an issue with a recent systemd version: https://github.com/systemd/systemd/issues/33411

simonfogliato commented 3 months ago

This is now fixed for me using Arch Linux: