Subject : Is CAP_SYS_RAWIO not permitted during the initrd stage in kernel 2.6.9-22 ? It was permitted in 2.4.20 kernel. Installing and booting from iSCSI disk (worked in 2.4.20 , fails in 2.6.9-22 kernel). Hi, I am in the initrd stage of boot . Kernel 2.6.9-22 , Red Hat enterprise linux. During post-install stage and before the first boot , I modified the initrd to have my iscsi driver and related daemon in initrd. The installation was made successfully to an iSCSI disk. Now need to boot through it. During the initrd stage in first-time-boot , my daemon gets the iSCSI device name from the remote storage server. " now it wants to pass that information to iscsi-sfnet.ko via IOCTL" , the ioctl call returns error (-1) which is EPERM, the perror says-Inappropriate IOCTL". Why that error return from sys_ioctl ? Is CAP_SYS_RAWIO not permitted during the initrd stage in kernel 2.6.9-22? I have used the same thing in 2.4.20 kernel . works great. I can install and also boot from the remote iSCSI disk with my modified initrd in 2.4.20 kernels. Are the new secutiyt features of 2.6 kernel ( security/seclvl.c) hindering this IOCTL operation ? What is the solution to my problem. Is there a boot-time parameter ? Please advice . thanks -Vikas
This archive was generated by hypermail 2.1.3 : Wed Oct 26 2005 - 11:15:25 PDT