Comment 21 for bug 1732185

Revision history for this message
Balint Reczey (rbalint) wrote : Re: [Bug 1732185] Re: do-release-upgrade crashed with SIGSEGV under wayland

On Fri, Jan 26, 2018 at 10:41 AM, Jean-Baptiste Lallement
<email address hidden> wrote:
> I verified ubuntu-release-upgrader 1:17.10.9 from proposed. It works
> under wayland as a user but is still crashing as root. From the diff the
> workaround is only applied when uid != 0

Thanks for the verification!
Yes, this is expected. As uid 0 xhost command fails and you can't
apply the workaround, but starting do-release-upgrade with GUI from
command line is something I would not expect users to do.

I found another place to fix and I plan removing the workaround from
update-manager in bionic and just calling do-release-upgrade without
pkexec letting do-release-upgrade elevating privileges and applying
the workaround.