On 2016-10-25 at 09:12:30, Sven Joachim wrote: > >> In order to fix this while preserving safe-rm's default of automatic > >> protection on installation, safe-rm will need to divert and replace > >> /bin/rm. This will require quite a bit of care to do safely; see dash's > >> maintainer scripts for a safe procedure. > > Merged /usr is the default since debootstrap 1.0.85, so the package > > is uninstallable on new systems. > > It's worse than that. Because dpkg does not detect the file conflict > between coreutils' /bin/rm and safe-rm's /usr/bin/rm, the package is > installable but wreaks havoc, replacing the rm binary with its symlink.
I was hoping to fix 837925 first since molly-guard is already using dpkg-divert instead of bare symlinks but I don't see what's wrong with the way that molly-guard does things, so I don't know what's going to fix it for safe-rm too. Francois -- https://fmarier.org/