DescriptionVladislav Grigoryev
2016-12-08 11:34:17 UTC
Description of problem:
Typo in variable name in /usr/sbin/blkdeactivate: $DEVDIR instead of $DEV_DIR
Version-Release number of selected component (if applicable):
device-mapper-1.02.131-5.fc25.x86_64
How reproducible:
On every boot.
Steps to Reproduce:
Reboot.
Actual results:
Creates file "/null" on root filesystem.
Additional info:
# diff -u /usr/sbin/blkdeactivate <(sed 's/$DEVDIR/$DEV_DIR/' /usr/sbin/blkdeactivate)
--- /usr/sbin/blkdeactivate 2016-11-15 12:17:08.000000000 +0300
+++ /dev/fd/63 2016-12-08 14:31:22.448103384 +0300
@@ -466,7 +466,7 @@
MPATHD_RUNNING=0
test $MPATHD_DO_DISABLEQUEUEING -eq 1 && {
if test -f $MPATHD; then
- if eval $MPATHD show daemon $ERR | grep "running" >$DEVDIR/null; then
+ if eval $MPATHD show daemon $ERR | grep "running" >$DEV_DIR/null; then
MPATHD_RUNNING=1
fi
fi
Description of problem: Typo in variable name in /usr/sbin/blkdeactivate: $DEVDIR instead of $DEV_DIR Version-Release number of selected component (if applicable): device-mapper-1.02.131-5.fc25.x86_64 How reproducible: On every boot. Steps to Reproduce: Reboot. Actual results: Creates file "/null" on root filesystem. Additional info: # diff -u /usr/sbin/blkdeactivate <(sed 's/$DEVDIR/$DEV_DIR/' /usr/sbin/blkdeactivate) --- /usr/sbin/blkdeactivate 2016-11-15 12:17:08.000000000 +0300 +++ /dev/fd/63 2016-12-08 14:31:22.448103384 +0300 @@ -466,7 +466,7 @@ MPATHD_RUNNING=0 test $MPATHD_DO_DISABLEQUEUEING -eq 1 && { if test -f $MPATHD; then - if eval $MPATHD show daemon $ERR | grep "running" >$DEVDIR/null; then + if eval $MPATHD show daemon $ERR | grep "running" >$DEV_DIR/null; then MPATHD_RUNNING=1 fi fi