Что происходит, когда я запускаю systemd в системе, которая уже запущена?
338
Andrey Portnoy
Из любопытства я просто запустил следующее на Debian 9.6:
/lib/systemd/systemd
что привело к следующему выводу:
Startup finished in 31ms.
с процессом ожидания. Я убил это с Ctrl+ C:
^CReceived SIGINT.
Когда я запускал команду во второй раз, вывод изменился:
Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Failed to connect to API bus: Connection refused Startup finished in 29ms.
Теперь у меня запущены следующие 2 процесса:
1410 /lib/systemd/systemd --user 11647 /lib/systemd/systemd --user
в дополнение к:
1 /sbin/init
Что здесь происходит? Почему второй запуск привел к ошибке, а первый - нет? Я использую три системы одновременно?
Я не читал документы systemd подробно, но действительно напоминаю, что на самом деле он может использоваться учетной записью без полномочий root без PID-1 для контроля других процессов.
LawrenceC 5 лет назад
1
0 ответов на вопрос
Похожие вопросы
-
2
Как мне заставить мой микрофон работать под Debian GNOME?
-
6
Полноэкранная медленная вспышка в KDE 4
-
3
Пакеты в странном состоянии
-
-
8
Найти, к какому пакету принадлежит файл в Ubuntu / Debian?
-
2
Как настроить автоматический вход в систему в Debian (lenny)?
-
1
Amaroks перестает играть после одной песни
-
3
Amarok отказывается проигрывать файлы * .ogg
-
2
Kopete для работы с GTalk
-
4
Замена Sendmail на домашнем компьютере с Debian
-
4
Как найти версию Ubuntu (номер / имя релиза) из командной строки?