When installing openSUSE (any flavour), the installer offers a choice
between the "server" and "transactional server" roles, among others.
If I choose to install using the "server" role, is there a (supported)
procedure by which I can later convert it into a "transactional
server"? (Assume using btrfs for /, and having snapshots.)
I tried to do this conversion on a test system running openSUSE Leap
15.2 as follows:
* run "zypper install patterns-base-transactional_base"
* edit /etc/fstab to make root read-only
This appears to work: The system self-updates, and reboots when needed;
/etc has been turned into an overlay filesystem; and zypper up tells me
to use the transactional-update tool.
However, one of the packages installed during the conversion is "read-
only-root-fs", and its description contains a rather stern warning:
Files, scripts and directories to run the system with a
read-only root filesystem with /etc writeable via overlayfs.
This package should never be installed in an already running
system! It should only be selected by a system role for a
read-only root filesystem with transactional updates.
The package will create / modify entries for mounting /etc and /var.
Those entries are used by dracut to mount the overlay file systems
during the early boot phase.
After reading this, I ask myself, was it just dumb luck that the test
system wasn't destroyed during the conversion? What can/does go wrong
if read-only-root-fs is installed in an already running system, against
the advice given?
Any clarification on this would be much appreciated.
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org