Package: safe-rm Severity: normal [As discussed at DebConf 14.]
I'm working on making it possible to merge /bin and /sbin into /usr/bin and /usr/sbin respectively. As a first step towards that, I'm planning to propose a Debian Policy change to prohibit conflicts between /bin/$foo and /usr/bin/$foo, and likewise for sbin. safe-rm is one of only two packages that contains such a conflict: it installs /usr/bin/rm, which would conflict with /bin/rm. 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. Since safe-rm currently uses Perl, this change will also require one of two approaches: either provide a small wrapper C program that attempts to run /usr/bin/safe-rm and falls back to /bin/rm if that fails, or rewrite safe-rm in C. - Josh Triplett -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org