Comment 7 for bug 1981473

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

As it turns out, we were setting $BROWSER to `sudo -H -u lubuntu firefox' all the way up until Jammy:
https://git.lubuntu.me/Lubuntu/calamares-settings-ubuntu/src/branch/ubuntu/jammy/lubuntu/lubuntu-calamares.desktop.in

As you can see in the upstream bug that's mentioned in the upstream bug linked to this report, we then switched to using pkexec, which kind of ruined everything:
https://github.com/calamares/calamares/issues/1217

For Noble, we've kind of clobbered over that, too, so I put us back to setting $BROWSER, which should solve this:
https://git.lubuntu.me/Lubuntu/calamares-settings-ubuntu/commit/27850a5f222287d65ace653cf24f3eaf9995dd07
There are some other unrelated changes that will get wrapped up with this and should be released as calamares-settings-ubuntu 1:24.04.21.

We can't reasonably backport this to Mantic, but that's not too bad given it's only supported for a few more months.

In the end, this is a bit of a workaround. There is talk upstream of either changing how Calamares internally handles URLs or making it so that Calamares doesn't have to run as root.