То, как диагностировать systemd's, “противоречит существующим заданиям” сообщение об ошибке

Возможно, попытайтесь добавить команду setxkbmap, такую как это -

@setxkbmap -option "compose:menu"

кому:

~/.config/lxsession/LXDE/autostart

и перезапустите свою сессию.

5
27.04.2016, 21:21
1 ответ

Для получения большей информации об этой ошибке для поиска и устранения неисправностей целей запускаются путем выполнения команды:

$ journalctl -ab

Это выведет, некоторые детализированные выходят из журнала systemd.

Кроме того, была, вероятно, другая ошибка непосредственно перед той, говоря Вам, какой сервис, а именно, имеет проблему. Попытайтесь диагностировать тот сервис также (использующий firewalld как пример):

$ systemctl status firewalld.service

Конкретно та строка прибывает из кода systemd для активации транзакции:

http://cgit.freedesktop.org/systemd/systemd/commit/?id=75778e21dfeee51036d24501e39ea7398fabe502

И конкретно относительно systemd транзакций (от человека systemd):

   systemd has a minimal transaction system: if a unit is requested to start up
   or shut down it will add it and all its dependencies to a temporary
   transaction. Then, it will verify if the transaction is consistent (i.e.
   whether the ordering of all units is cycle-free). If it is not, systemd will
   try to fix it up, and removes non-essential jobs from the transaction that
   might remove the loop. Also, systemd tries to suppress non-essential jobs in
   the transaction that would stop a running service. Finally it is checked
   whether the jobs of the transaction contradict jobs that have already been
   queued, and optionally the transaction is aborted then. If all worked out and
   the transaction is consistent and minimized in its impact it is merged with
   all already outstanding jobs and added to the run queue. Effectively this
   means that before executing a requested operation, systemd will verify that
   it makes sense, fixing it if possible, and only failing if it really cannot
   work.

Так, комбинируя все это вместе, я предполагаю, что существует что-то еще очень около той записи в журнале, которая пытается запустить, но уже имеет в распоряжении файл блокировки (потенциально устаревший), который должен быть очищен.

2
27.01.2020, 20:42

Теги

Похожие вопросы