Bug#574900: /usr/sbin/grub-probe: grub-probe should not use mdadm on /dev/mem
Vladimir 'φ-coder/phcoder' Serbinenko
phcoder at gmail.com
Mon Nov 15 10:05:30 UTC 2010
On 03/22/2010 12:28 AM, Russell Coker wrote:
> 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.
>
could you supply the output of
sudo sh -x update-grub
and of
cat /proc/mounts
> 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
>
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101115/e66c64e0/attachment-0001.pgp>
More information about the Pkg-grub-devel
mailing list