projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
821aa7e
)
Prevent custom mounting in /live.
author
Tails developers
<amnesia@boum.org>
Mon, 6 Feb 2012 10:22:05 +0000
(11:22 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Sun, 1 Apr 2012 20:00:16 +0000
(22:00 +0200)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
821103a
..
d9a8972
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-1636,9
+1636,10
@@
setup_unionfs ()
then
dest="${source}"
fi
- if echo ${dest} | grep -qe "^/\+$"
+ if echo ${dest} | grep -qe "^/\+$
\|^/\+live\(/.*\)\?$
"
then
- log_warning_msg "Skipping custom mount on /"
+ # mounting on / or /live could cause trouble
+ log_warning_msg "Skipping unsafe custom mount on ${dest}"
continue
fi