What happens when I run systemd on a system that's already running?











up vote
-2
down vote

favorite












Out of curiosity I just ran the following on Debian 9.6:



/lib/systemd/systemd


which resulted in the following output:



Startup finished in 31ms.


with the process waiting. I killed it with Ctrl+C:



^CReceived SIGINT.


When I ran the command a second time, the output changed:



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.


Now I have the following 2 processes running:



1410 /lib/systemd/systemd --user
11647 /lib/systemd/systemd --user


in addition to:



1 /sbin/init




What is going on? Why did the second run result in an error while the first one didn't? Am I running three systems concurrently?










share|improve this question


















  • 1




    I haven't read the systemd docs in depth but do recall it can actually be used by a non-root non-PID-1 account to supervise other processes.
    – LawrenceC
    Nov 19 at 3:03















up vote
-2
down vote

favorite












Out of curiosity I just ran the following on Debian 9.6:



/lib/systemd/systemd


which resulted in the following output:



Startup finished in 31ms.


with the process waiting. I killed it with Ctrl+C:



^CReceived SIGINT.


When I ran the command a second time, the output changed:



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.


Now I have the following 2 processes running:



1410 /lib/systemd/systemd --user
11647 /lib/systemd/systemd --user


in addition to:



1 /sbin/init




What is going on? Why did the second run result in an error while the first one didn't? Am I running three systems concurrently?










share|improve this question


















  • 1




    I haven't read the systemd docs in depth but do recall it can actually be used by a non-root non-PID-1 account to supervise other processes.
    – LawrenceC
    Nov 19 at 3:03













up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











Out of curiosity I just ran the following on Debian 9.6:



/lib/systemd/systemd


which resulted in the following output:



Startup finished in 31ms.


with the process waiting. I killed it with Ctrl+C:



^CReceived SIGINT.


When I ran the command a second time, the output changed:



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.


Now I have the following 2 processes running:



1410 /lib/systemd/systemd --user
11647 /lib/systemd/systemd --user


in addition to:



1 /sbin/init




What is going on? Why did the second run result in an error while the first one didn't? Am I running three systems concurrently?










share|improve this question













Out of curiosity I just ran the following on Debian 9.6:



/lib/systemd/systemd


which resulted in the following output:



Startup finished in 31ms.


with the process waiting. I killed it with Ctrl+C:



^CReceived SIGINT.


When I ran the command a second time, the output changed:



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.


Now I have the following 2 processes running:



1410 /lib/systemd/systemd --user
11647 /lib/systemd/systemd --user


in addition to:



1 /sbin/init




What is going on? Why did the second run result in an error while the first one didn't? Am I running three systems concurrently?







debian systemd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 19 at 2:52









Andrey Portnoy

1003




1003








  • 1




    I haven't read the systemd docs in depth but do recall it can actually be used by a non-root non-PID-1 account to supervise other processes.
    – LawrenceC
    Nov 19 at 3:03














  • 1




    I haven't read the systemd docs in depth but do recall it can actually be used by a non-root non-PID-1 account to supervise other processes.
    – LawrenceC
    Nov 19 at 3:03








1




1




I haven't read the systemd docs in depth but do recall it can actually be used by a non-root non-PID-1 account to supervise other processes.
– LawrenceC
Nov 19 at 3:03




I haven't read the systemd docs in depth but do recall it can actually be used by a non-root non-PID-1 account to supervise other processes.
– LawrenceC
Nov 19 at 3:03















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376583%2fwhat-happens-when-i-run-systemd-on-a-system-thats-already-running%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376583%2fwhat-happens-when-i-run-systemd-on-a-system-thats-already-running%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

RAC Tourist Trophy