RHEL5 LVM snapshot problem

BERES Laszlo beres.laszlo at sys-admin.hu
Wed May 23 15:59:44 UTC 2007


Hello there,

look what I found on my fresh RHEL5 Server installation:

[root at station5 ~]# lvcreate -L 16M -s -n data-backup /dev/volgroup/data
  /sbin/modprobe: execlp failed: Permission denied
  /sbin/modprobe failed: 13
  snapshot: Required device-mapper target(s) not detected in your kernel
  lvcreate: Create a logical volume

avc: denied { execute } for comm="lvcreate" dev=hda2 egid=0 euid=0
exe="/usr/sbin/lvm" exit=-13 fsgid=0 fsuid=0 gid=0 items=0
name="modprobe" pid=2845 scontext=root:system_r:lvm_t:s0-s0:c0.c1023
sgid=0 subj=root:system_r:lvm_t:s0-s0:c0.c1023 suid=0 tclass=file
tcontext=system_u:object_r:insmod_exec_t:s0 tty=pts0 uid=0

-- 
BÉRES László     RHCE, RHCX
senior IT engineer, trainer




More information about the fedora-selinux-list mailing list