Getting upstream targetcli-fb running on Debian 9

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

 



Hello,
I would like to use the upstream version of targetcli-fb in order to be
able to use the ALUA commands on a Debian 9 strech system. I cloned the
git repos of rtslib-fb, configshell-fb, and targetcli-fb and ran

        python setup.py install

Both with python and python3. I also tried to run it inside a
virtualenv. When I start targetcli I get:

(debian) [~] targetcli
[Errno 22] Invalid argument

When I trace it it seems that 'output.write(text)' is triggering the issue. Any
ideas or instructions how to build this?

 --- modulename: console, funcname: raw_write
console.py(142):         output.write(text)
[Errno 22] Invalid argumentconsole.py(143):         output.flush()
console.py(161):         if not no_lf:
console.py(162):             self.raw_write('\n', output=output)
 --- modulename: console, funcname: raw_write
console.py(142):         output.write(text)

console.py(143):         output.flush()
targetcli(84):         if not is_root:targetcli(86):         sys.exit(-1) --- modulename: trace, funcname: _unsettrace
trace.py(77):         sys.settrace(None)

Does someone have instructions for me to get the upstream targetcli
running on Debian 9 or can someone provide me with build instruction on
another Linux distribution where it simply works?

If you need access to a Debian 9 VM to test it by yourself, please send
me your ssh key, and I provide you access to a VM.

Cheers,
        Thomas
--
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