[Bug 910500] New: mdcheck @ cron errors: /var/lib/mdcheck/.md-check-8965: line 5: none: No such file or directory
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
Bug ID: 910500
Summary: mdcheck @ cron errors:
/var/lib/mdcheck/.md-check-8965: line 5: none: No such
file or directory
Classification: openSUSE
Product: openSUSE Distribution
Version: 13.2
Hardware: x86-64
OS: openSUSE 13.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@forge.provo.novell.com
Reporter: grantksupport@operamail.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
on
uname -a
Linux lab010.DOMAIN.net 3.18.0-2.g99a9f76-xen #1 SMP Sun Dec 14
10:25:49 UTC 2014 (99a9f76) x86_64 x86_64 x86_64 GNU/Linux
lsb_release -rd
Description: openSUSE 13.2 (Harlequin) (x86_64)
Release: 13.2
mdadm --version
mdadm - v3.3.1 - 5th June 2014
i am getting these email notices from system cron every couple of days
...
From: "(Cron Daemon)"
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
Neil Brown
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
grant k
Hi
What version of the mdadm package do you have installed?
rpm -q mdadm
rpm -q mdadm mdadm-3.3.1-5.10.1.x86_64
what is the content of the .md-check files in /var/lib/mdcheck ??
cat /var/lib/mdcheck/.md-check-13566 MD_LEVEL=raid10 MD_DEVICES=4 MD_METADATA=1.2 MD_UUID=b1c263cd:1c42565b:f3f1926d:db1811d3 MD_NAME=<none>:nas03 MD_DEVICE_sdc1_ROLE=0 MD_DEVICE_sdc1_DEV=/dev/sdc1 MD_DEVICE_sdd1_ROLE=1 MD_DEVICE_sdd1_DEV=/dev/sdd1 MD_DEVICE_sde1_ROLE=2 MD_DEVICE_sde1_DEV=/dev/sde1 MD_DEVICE_sdf1_ROLE=3 MD_DEVICE_sdf1_DEV=/dev/sdf1 cat /var/lib/mdcheck/.md-check-17179 MD_LEVEL=raid10 MD_DEVICES=4 MD_METADATA=1.2 MD_UUID=b1c263cd:1c42565b:f3f1926d:db1811d3 MD_NAME=<none>:nas03 MD_DEVICE_sdc1_ROLE=0 MD_DEVICE_sdc1_DEV=/dev/sdc1 MD_DEVICE_sdd1_ROLE=1 MD_DEVICE_sdd1_DEV=/dev/sdd1 MD_DEVICE_sde1_ROLE=2 MD_DEVICE_sde1_DEV=/dev/sde1 MD_DEVICE_sdf1_ROLE=3 MD_DEVICE_sdf1_DEV=/dev/sdf1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
--- Comment #3 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
tosiara tosiara
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
Shad Sterling
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
grant k
It looks like this bug makes it possible to execute arbitrary shell commands as > root by including them in an MD_NAME, for example
MD_NAME=; rm -rf /
if true, cc'ing security-team -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
--- Comment #7 from Shad Sterling
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
--- Comment #8 from Neil Brown
Is there a way to change the MD_NAME?
Stop the array (if it is running), then assemble with --update=name --name=NewName -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910500
Neil Brown
participants (1)
-
bugzilla_noreply@novell.com