When trying to create an SFTP share on openSUSE I got the following error:
[Errno 2] No such file or directory: '/lib64/libpopt.so.0' Traceback (most recent call last): File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 41, in _handle_exception yield File "/opt/rockstor/src/rockstor/storageadmin/views/sftp.py", line 80, in post rsync_for_sftp(chroot_loc) File "/opt/rockstor/src/rockstor/system/ssh.py", line 127, in rsync_for_sftp ('%s/lib64' % chroot_loc)) File "/usr/lib64/python2.7/shutil.py", line 133, in copy copyfile(src, dst) File "/usr/lib64/python2.7/shutil.py", line 96, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory: '/lib64/libpopt.so.0'
libpopt0 is already installed. I can find it at
/usr/lib64/libpopt.so.0, so the code is possibly looking for it in the wrong place?