[Rpm-ecosystem] lua, unprivileged rpm, and rpm-ostree

Neal Gompa ngompa13 at gmail.com
Thu Aug 11 16:25:50 UTC 2016


On Thu, Aug 11, 2016 at 11:27 AM, Colin Walters <walters at verbum.org> wrote:
> Hi, more lua discussion.
>
>
> So finally, a problem is right now we aren't implementing lua:
> https://github.com/projectatomic/rpm-ostree/pull/424
>
> I'd actually like to avoid implementing lua for as long as possible -
> from my readings in Fedora, most of the usage is for legacy updates
> or workarounds.  glibc is however using it in a %posttrans, which
> we could easily port to shell.  I might submit a patch to do so.
>

There is a very important reason for Lua: it's the only way to do
scripts without requiring an external interpreter. For packages that
are part of the minimal rootfs required for building packages or
creating containers or whatnot, this is critical in order to prevent a
circular dependency error (package requires /bin/bash but bash isn't
installed and can't be installed until the package is installed
first). So, we do need it.

Also, why can't the work you're doing go into RPM itself? It would be
pretty nice if more of RPM's capabilities can operate in an
unprivileged state.


-- 
真実はいつも一つ!/ Always, there's only one truth!


More information about the Rpm-ecosystem mailing list