]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: Don't clear idmapping if we're not doing an idmapped mount
authorDaanDeMeyer <daan.j.demeyer@gmail.com>
Mon, 14 Jul 2025 06:13:45 +0000 (08:13 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 14 Jul 2025 10:54:56 +0000 (11:54 +0100)
commitb955051244ce72ec5879d49e76dbf2b5ea0edeee
tree850833f4f17e1ca110955be33d65140fb85354e6
parent6488fa5634d5ce9e97fd37af6071a5785a127499
nspawn: Don't clear idmapping if we're not doing an idmapped mount

We only need to clear the existing idmapping if we're going to be
replacing it with another idmapping. Otherwise we should keep the
existing idmapping in place.
src/nspawn/nspawn-mount.c