Bug#854923: busybox: "sed -i nonexistent" creates bogus files
Package: busybox
Version: 1:1.22.0-19+b1
Severity: important
busybox sed -i -e 's/foo/bar/' foo
---------- 1 root 2689302520 0 Feb 12 01:13 foo
Impact includes for example breaking upgrading from systemd to sysvinit
after installing via stretch's d-i.
-- System Information:
Debian Release: 9.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.10.0-rc7-debug-ssd-abort+ (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages busybox depends on:
ii libc6 2.24-9
busybox recommends no packages.
busybox suggests no packages.
-- no debconf information
Reply to: