aboutsummaryrefslogtreecommitdiff
path: root/FEATURE-REMOVAL-SCHEDULE
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-02-26 17:58:22 -0800
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-02-27 10:14:44 -0600
commit7bbb73574b44972b0c1b364e24f71623068d7a1c (patch)
tree2125d6ea51f68cb320c300bc912bb5292e27ceea /FEATURE-REMOVAL-SCHEDULE
parenta0378f38713e630e1af9101c2ece5d27ca2130fe (diff)
bootmisc: clean_run safety improvements.
If /tmp or / are read-only, the clean_run function can fail in some very bad ways. 1. dir=$(mktemp -d) returns an EMPTY string on error. 2. "mount -o bind / $dir", and don't check the result of that, 3. "rm -rf $dir/run/*", which removes the REAL /run contents 4. box gets very weird from this point forward Signed-Off-By: Robin H. Johnson <robbat2@gentoo.org> Signed-Off-By: Chip Parker <infowolfe@gmail.com> Reported-by: Chip Parker <infowolfe@gmail.com> Tested-by: Chip Parker <infowolfe@gmail.com>
Diffstat (limited to 'FEATURE-REMOVAL-SCHEDULE')
0 files changed, 0 insertions, 0 deletions