Bug#574900: /usr/sbin/grub-probe: grub-probe should not use mdadm on /dev/mem

Russell Coker russell at coker.com.au
Sun Mar 21 23:28:59 UTC 2010


Package: grub-common
Version: 1.96+20080724-16
Severity: normal
File: /usr/sbin/grub-probe

Running update-grub.
Searching for GRUB installation directory ... found: /boot/grub
warning: grub-probe can't find drive for /dev/mem.
grub-probe: error: /dev/mem is not a block device.

I just received the above error message from the process of installing an
Unstable kernel on a system that was previously running all Lenny.  The
audit log had the following SE Linux message:

type=AVC msg=audit(1269213218.265:16): avc:  denied  { read } for  pid=4399 
comm="mdadm" name="mem" dev=tmpfs ino=781 
scontext=unconfined_u:system_r:mdadm_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:memory_device_t:s0 tclass=chr_file
type=SYSCALL msg=audit(1269213218.265:16): arch=40000003 syscall=5 success=no 
exit=-13 a0=807b240 a1=8000 a2=0 a3=8000 items=0 ppid=4398 pid=4399 
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 
tty=(none) ses=4294967295 comm="mdadm" exe="/sbin/mdadm" 
subj=unconfined_u:system_r:mdadm_t:s0-s0:c0.c1023 key=(null)


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-xen-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  base-files                  5.0.0.1      Debian base system miscellaneous 
f
ii  libc6                       2.7-18lenny2 GNU C Library: Shared libraries

grub-common recommends no packages.

Versions of packages grub-common suggests:
pn  multiboot-doc                 <none>     (no description available)

-- no debconf information





More information about the Pkg-grub-devel mailing list