[systemd-devel] systemd-nspawn and Debian

Michael Biebl mbiebl at gmail.com
Fri Feb 8 18:02:52 PST 2013


2013/2/9 Michael Biebl <mbiebl at gmail.com>:
> # in a F18 system
> systemd-nspawn -b -D /srv/sid/ /bin/systemd

This looks like that then:

Inside the container:
root at pluto:~# systemd-cgls
└ system
  ├ 1 /lib/systemd/systemd /bin/systemd
  ├ console-shell.service
  │ ├ 89 bash
  │ └ 97 systemd-cgls
  ├ rsyslog.service
  │ └ 91 /usr/sbin/rsyslogd -n -c5
  ├ systemd-logind.service
  │ └ 80 /lib/systemd/systemd-logind
  ├ dbus.service
  │ └ 66 /usr/bin/dbus-daemon --system --address=systemd: --nofork
--nopidfile --systemd-activation
  ├ cron.service
  │ └ 73 /usr/sbin/cron
  ├ sys-fs-fuse-connections.mount
  ├ sys-kernel-config.mount
  ├ run-user.mount
  ├ systemd-journald.service
  │ └ 14 /lib/systemd/systemd-journald
  ├ run-lock.mount
  ├ dev-hugepages.mount
  ├ sys-kernel-security.mount
  ├ dev-mqueue.mount
  └ sys-kernel-debug.mount

outside of the container:
├─user
│ └─michael
│   └─2
│     ├─1196 gdm-session-worker [pam/gdm-password]
....
│     └─nspawn-6501
│       ├─6501 systemd-nspawn -b -D sid/ /bin/systemd
│       └─system
│         ├─6502 /lib/systemd/systemd /bin/systemd
│         ├─console-shell.service
│         │ └─6613 bash
│         ├─rsyslog.service
│         │ └─6616 /usr/sbin/rsyslogd -n -c5
│         ├─systemd-logind.service
│         │ └─6601 /lib/systemd/systemd-logind
│         ├─dbus.service
│         │ └─6587 /usr/bin/dbus-daemon --system --address=systemd:
--nofork --nopidfile --systemd-activation
│         ├─cron.service
│         │ └─6594 /usr/sbin/cron
│         └─systemd-journald.service
│           └─6525 /lib/systemd/systemd-journald


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list