path: root/doc/forum
diff options
authorJoey Hess2018-05-03 12:25:25 -0400
committerJoey Hess2018-05-03 12:25:25 -0400
commit94653981cab8a9e0640a8ce3eee54a186479c1e5 (patch)
tree9215142092ccaf2ab23074a15549685a36ece53b /doc/forum
parentbc3ed01d84f80ff793411e21c241ee20c1eba777 (diff)
Update shim each time propellor is run in a container, to deal with library version changes.
Surprised this didn't come up before, since propellor was run against progressively old versions of libraries when propelling eg, a chroot. It finally broke on an arm box, where libm got updated to a new version and propellor used a symbol from the new version. The comment says that propellor may be running from an existing shim in which case it's reused. That could be a nested chroot or other container, or perhaps propellor was deployed via a precompiled tarball which is built using a shim. The code used to use "checkAlreadyShimmed shim" which I don't see how it deals with either of those scenarios. Changed to "checkAlreadyShimmed propellorbin", which I think will deal with them, but I've not tested such scenarios. Added code to delete old versions of libraries out of the shim directory to avoid masses of old ones piling up over time. Property.Chroot sets up the shim directory and then bind mounts it into the chroot. To avoid deleting the source of a bind mount, made this only delete files in the shim directory, but not the shim directory itself.
Diffstat (limited to 'doc/forum')
0 files changed, 0 insertions, 0 deletions