Returns disk without a partition table for filesystem experiments. Sets the test variable PLAYGROUNDDISK
, on first invocation of the function.
In `snapper --no-dbus` test we need DBus to be disabled on SLES12SP3 and Leap 42.3 systemd allows DBus to be disabled. On Tumbleweed this is not possible and the simplest way to get DBus-less environment is to enter rescue.target via systemctl.
Restore environment to default.target. Console root-console has to be reset, because move from rescue to default target, logs us out. Die if DBus is active at this point, it means that DBus got activated somehow, thus invalidated `snapper --no-dbus` testing.