summaryrefslogtreecommitdiffstats
path: root/rescue/list.xml
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-12-02 22:28:45 +0000
committerColin Guthrie <colin@mageia.org>2013-12-07 18:32:06 +0000
commit8faa57a8737a0e1a163fbd91d86065784ea5d44d (patch)
tree75320c971a1a3e393838a8db20781327073d6b48 /rescue/list.xml
parentc4634f60b5c6d67eedfedc02166499884e4d6625 (diff)
downloaddrakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.tar
drakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.tar.gz
drakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.tar.bz2
drakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.tar.xz
drakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.zip
rescue: add machined (and dbus as a dep) to the rescue.
This allows us to actually mount and run the system inside a container for more advanced debugging. I've successfully booted my systemd, logged in, had a fiddle and then powered it off again. There are some delays and it's requried to umount the /mnt/proc which seems to get automatically mounted before running nspawn. Also audit support has to be turned off in the kernel too to allow a full boot to work properly (otherwise the authentication in the container doesn't work. This is a known problem in the kernel and will be fixed eventually.
Diffstat (limited to 'rescue/list.xml')
-rw-r--r--rescue/list.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/rescue/list.xml b/rescue/list.xml
index fd5a829a2..29139f46d 100644
--- a/rescue/list.xml
+++ b/rescue/list.xml
@@ -273,6 +273,7 @@
systemd-fsck
systemd-udevd
systemd-journald
+ systemd-machined
systemd-sysctl
systemd-modules-load
systemd-vconsole-setup
@@ -281,6 +282,8 @@
<from dir="/usr/lib/systemd/system">
cryptsetup.target
+ dbus.service
+ dbus.socket
emergency.target
sysinit.target
basic.target
@@ -324,11 +327,13 @@
systemd-udev-settle.service
systemd-ask-password-plymouth.service
systemd-journald.service
+ systemd-machined.service
systemd-vconsole-setup.service
sysinit.target.wants/systemd-modules-load.service
sysinit.target.wants/systemd-ask-password-console.path
sysinit.target.wants/systemd-journald.service
+ sockets.target.wants/dbus.socket
sockets.target.wants/systemd-udevd-control.socket
sockets.target.wants/systemd-udevd-kernel.socket
sockets.target.wants/systemd-journald.socket
@@ -345,7 +350,15 @@
</from>
<from expand="binary">
- journalctl systemctl echo swapoff systemd-cgls systemd-tmpfiles systemd-nspawn
+ journalctl systemctl echo swapoff systemd-cgls systemd-tmpfiles systemd-nspawn dbus-daemon machinectl
+</from>
+
+<from>
+ /etc/dbus-1/system.conf
+ /etc/dbus-1/system.d/org.freedesktop.systemd1.conf
+ /etc/dbus-1/system.d/org.freedesktop.machine1.conf
+ /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service
+ /usr/share/dbus-1/system-services/org.freedesktop.machine1.service
</from>
<from dir="/usr/lib/udev">