S
S
seiwer-tail2021-05-20 14:53:20
linux
seiwer-tail, 2021-05-20 14:53:20

Systemctl complains that the GDM3 service is empty but it's not what to do?

I'm on Debian testing and wanted to install a gnome. I install it and GDM3 and try to activate its service via systemctl and get this error:

[-16%][email protected] ~$ sudo systemctl enable gdm3
Synchronizing state of gdm3.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable gdm3
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
 
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/ or .requires/ 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.


I sit in confusion thinking how it could have happened, I go to check

the sudo systemctl edit gdm3 service and get the following file contents: https://pastebin.com/tCjDCCUt

I decided to see which file I am editing and it turned out that the service file is located along this path /etc /systemd/system/gdm.service.d/override.conf and in this folder there is nothing at all except this file ....

How can I fix this oddity? Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MegaLite, 2021-05-20
@MegaLite

sudo systemctl daemon-reload will help?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question