Comment 7 for bug 1970270

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote : Re: LibreOffice localization is not working out of the box

Alright, so it turns out that the problem was our Calamares configuration after all, despite the hours of testing and fiddling I did (with multiple distros!) that led me to believe that this was a Calamares bug...

Thankfully, Adriaan de Groot on GitHub was able to spot the actual problem and was gracious enough to point it out to me.

In /etc/calamares/modules/mount.conf, we are mounting tmpfs to the installed system's /run directory. Because the installed system's /run is a tmpfs mount, the needed network configuration file is missing, as /etc/resolv.conf is a symlink pointing to /run/systemd/resolve/stub-resolv.conf.

By changing the file to bind-mount the live environment's /run to the installed system's /run, the network configuration works and the packages listed in packages.conf try_install (including those for LibreOffice localization) are installed successfully. (OK, I didn't check the installed status of every package in the try_install section, but libreoffice-help-de and libreoffice-l10n-de appear to have installed properly on a German installation after tweaking packages.conf to include the l10n package.)

Is there any particular reason that we're mounting tmpfs to /run rather than bind-mounting? Or is a switch to bind-mounting /run an acceptable solution?