open-iscsi / rtslib-fb

Python library for configuring the Linux kernel-based multiprotocol SCSI target (LIO)
Apache License 2.0
73 stars 90 forks source link

Initialization of RTSRoot on Fedora causes IOError exception #114

Closed stmcginnis closed 6 years ago

stmcginnis commented 6 years ago

Commit f823033e5c6beced0590a00064e1e7a55e76a995 added code to attempt to set the target dbroot if it is not the preferred path.

This works fine on Ubuntu, but at least on Fedora 26 and 27, this results in an IOError when it tries to write the preferred path to /sys/kernel/config/target/dbroot.

stmcginnis commented 6 years ago

Upon further investigation, this has since been fixed in commit eecb633e0632e5d1783078c04e94335236a6ccc6.