[Rpm-maint] [rpm-software-management/rpm] Private /tmp directory for scriptlets (PR #2617)

Panu Matilainen notifications at github.com
Tue Aug 29 14:04:28 UTC 2023


Looked at this a little closer. It's doing the unshare() in the main rpm process, which may not effect the transaction-in-progress too much, but it'll break any future transactions done by the same process by messing the mount table. That's a no-go.

This needs to be done post fork() in the scriptlet code, but the caveat is that it'll then miss out on Lua scriptlets. I could swear we have a ticket on making Lua scriptlets forked too because the current in-process thing is problematic in an increasing number of ways, and here's one more.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2617#issuecomment-1697509859
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2617/c1697509859 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230829/21a8fe60/attachment.html>


More information about the Rpm-maint mailing list