Re: /etc/init.d/target doesn't work if configfs module is already loaded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-03-19 at 12:11 -0600, Marcus Sorensen wrote:
> in this file, check_configfs_mount() checks for the existence of
> /sys/kernel/config (which is created when configfs module is loaded).
> If this does not exist, it modprobes configfs and mounts
> /sys/kernel/config.  The problem is that if the system already has
> configfs loaded for one reason or another then this script fails to
> mount the configfs filesystem and nothing works.
> 
> I'm including a patch that seems to fix the issue for me, it simply
> decouples the modprobe of configfs from the mounting of configfs.

This looks like a reasonable bugfix to me.

Applying to lio-utils.git now.

Thanks!

--nab

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux