Tried to execute SCAutilib.controller.Controller.setup_system() and this throughs the error. Seems that the lib directory is not created
Addin logs from ipython
SCAutolib:file.create.216 [WARNING] /etc/sssd/sssd.conf not present
SCAutolib:file.create.217 [WARNING] Creating sssd.conf based on the template
SCAutolib:file.create.220 [INFO] Updating /etc/sssd/sssd.conf with values from the template
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-3-6692449aca3f> in <module>
----> 1 cnt.setup_system(True, False)
~/SCAutolib/SCAutolib/controller.py in setup_system(self, install_missing, gdm)
98 logger.debug("Smart Card Support group in installed.")
99
--> 100 self.sssd_conf.create()
101 self.sssd_conf.save()
102
~/SCAutolib/SCAutolib/models/file.py in create(self)
222 self._default_parser.read_file(template)
223
--> 224 with self._backup_default.open("w") as bdefault:
225 self._default_parser.write(bdefault)
226
/usr/lib64/python3.6/pathlib.py in open(self, mode, buffering, encoding, errors, newline)
1181 self._raise_closed()
1182 return io.open(str(self), mode, buffering, encoding, errors, newline,
-> 1183 opener=self._opener)
1184
1185 def read_bytes(self):
/usr/lib64/python3.6/pathlib.py in _opener(self, name, flags, mode)
1035 def _opener(self, name, flags, mode=0o666):
1036 # A stub for the opener argument to built-in open()
-> 1037 return self._accessor.open(self, flags, mode)
1038
1039 def _raw_open(self, flags, mode=0o777):
/usr/lib64/python3.6/pathlib.py in wrapped(pathobj, *args)
385 @functools.wraps(strfunc)
386 def wrapped(pathobj, *args):
--> 387 return strfunc(str(pathobj), *args)
388 return staticmethod(wrapped)
389
FileNotFoundError: [Errno 2] No such file or directory: '/etc/SCAutolib/backup/default_sssd.conf'
Tried to execute SCAutilib.controller.Controller.setup_system() and this throughs the error. Seems that the lib directory is not created Addin logs from ipython