On 06/18/2012 10:53 PM, Lennart Poettering wrote:
Well, even if Mozilla "fixed" that, such a solution wouldn't work for OS updates, already due to privilege reasons. i.e. "pre-staging" changes as root which are applied when a user does something simply cannot work if you care about security or supporting multi-user systems.
It's not trivial, but in theory the updates could be made to work in an RCU-like fashion: Think of running Firefox processes as RCU read-side sections. The processes that are already running before the update keep seeing the old files. Newly started processes would see the new files. The RCU grace period elapses when all the previously running processes quit. At that point the old files can be deleted. As a bonus a notification would nag the users to restart their Firefox processes. After some timeout the processes would be killed by force.
Michal -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel