[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: AWS AMIs and systemd



On Wed, Sep 21, 2022 at 03:11:53PM -0700, Viktor Bogdanov wrote:
> Could you please clarify why Debian AWS AMIs use "init" as process 1 while
> "regular" Debian uses "systemd"?

You might be thrown by the cmdline for pid 1 - the binary is named
/sbin/init, but it comes from systemd.  For instance, on my laptop:

$ ps x -q 1
    PID TTY      STAT   TIME COMMAND
      1 ?        Ss     0:36 /sbin/init splash
$ dpkg -S /sbin/init
systemd-sysv: /sbin/init

Ross


Reply to: