Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssm is broken on Fedora 37 (LUKS-encrypted partition) #14

Open
tesseract-rh opened this issue Apr 7, 2023 · 4 comments · May be fixed by #15
Open

ssm is broken on Fedora 37 (LUKS-encrypted partition) #14

tesseract-rh opened this issue Apr 7, 2023 · 4 comments · May be fixed by #15

Comments

@tesseract-rh
Copy link

[root@showrunner ~]# cat /etc/fedora-release
Fedora release 37 (Thirty Seven)
[root@showrunner ~]# ssm
Traceback (most recent call last):
File "/usr/bin/ssm", line 51, in
from ssmlib import main
File "/usr/lib/python3.11/site-packages/ssmlib/main.py", line 31, in
from ssmlib.backends import lvm, crypt, btrfs, md, multipath
File "/usr/lib/python3.11/site-packages/ssmlib/backends/crypt.py", line 60, in
CRYPTSETUP_VERSION = get_cryptsetup_version()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ssmlib/backends/crypt.py", line 55, in get_cryptsetup_version
version = list(map(int, output.strip().split()[-1].split('.', 3)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'PWQUALITY'
[root@showrunner ~]#

@lczerner
Copy link
Member

Hi, thanks for the report. It seems that the version string has changed. SSM is no longer maintained really, but this seems to be easy enough to fix, so maybe I'll get around doing it. Although I can't promise anything, sorry.

@tesseract-rh
Copy link
Author

Hey, no worries!
I've noticed the project has been kind of dead for a while now. It's a pity though. I really loved the tool.
Anyway, thanks for the ping back. :-) Much appreciated.

@lczerner
Copy link
Member

lczerner commented Jun 1, 2023 via email

vojtechtrefny added a commit to vojtechtrefny/ssm that referenced this issue Nov 27, 2023
'cryptsetup --version' now prints some additional flag information
so the existing function for parsing its version is broken.

Fixes: system-storage-manager#14
@vojtechtrefny vojtechtrefny linked a pull request Nov 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@lczerner @tesseract-rh and others