Comment 4 for bug 43328

Revision history for this message
Philip Van Hoof (pvanhoof) wrote : Re: The build-in terminal is not set read-only

> The right solution could be a library that implements asking
> these questions, and dlopen()-ing an implementation for X11 or
> one for the console. Depending on the situation. And then
> simply reject packages that do broken things.

Note that the implementation should or could use an IPC to pass both the question and the answer around between processes (one being ran as root and the other being ran as the user). Because also the GtkDialog-code that would be used in such an X11 implementation, would be a security risk if you'd ran it as root.