-
-
Notifications
You must be signed in to change notification settings - Fork 1k
freebsd bug veracrypt not able to create a basic file container volume #1446
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
Comments
I wonder if I am experiencing the same issue from a different angle. If I run veracrypt as a user, both GUI or text interface, and As an example, the command line is: If I run the above command with sudo, that works perfectly, ex: veracrypt, under the hood, invoke sudo to process the actual mount command. I used truss and the command that fails seems to be: With the following problem: I use ZFS, but the filesystem has setuid attribute activated by default
And that is also confirmed by the fact I can run sudo in other contexts without problems. @justanotherscript can you check with truss if you have the same problem please? P.S. Not sure mine is actually a veracrypt bug, but I can't understand what I am doing wrong. |
@tarastella thanks for the idea i tried the same as described above this time with the veracrypt gui port. And there the exact error is being shown except this time it doesnt even ask me for a sudo password like before, but just shows me the error "Not enough data available". Just to make it clear before you answered I installed veracrypt with "pkg install veracrypt" and now I also tried it with "cd /usr/ports/security/veracrypt/ && make install clean". I will also provide as above the screenshots of the behavior of the port package. |
I know FreeBSD might not be the biggest priority, but maybe you can take a look at it when you get a chance. Thank you in advance @idrassi |
Out of curiosity @justanotherscript, can you run through the process with sudo (if you haven't already)? |
When I ran the package the whole time as root the error doesn't occurs (but the thing here that the package seems to be a more recent version than the ports version at least in this case ). In the most recent version the error should have been fixed to escalate the privileges without the need to start it from beginning with sudo. The screenshots are from the prebuild binary package: , TC_CORE_SERVICE_CMDLINE_OPTION, nullptr }; |
I might need to apologise. that strace is calling a variant of exec() that does not honour the suid for security reasons. So, what I wrote so far, i.e., receiving the message "effective uid is not 0" from the elevation of VeraCrypt might be due to me using truss itself, and it might be unrelated to the actual issue that returns "Not enough data." I tried to help, but I might have steered the conversation in the wrong direction. At this point, I'm happy to follow any direction to help troubleshoot this. |
Don't worry too much you have already helped a lot and tried to find the cause. When the time comes, core developers will certainly address the issue. In any case, thank you for your time and effort. |
Hello u 2 lonely FreeBSD-users ;) dunno, if you're still using Veracrypt and if this is relevant to your issue: |
Hey @bugtracker2019 , thanks for sharing this and thinking about us lonely users :) |
After pressing "Format" button after the error explained before |
Other people with debian seem to have the problem: |
Hi there, the error mentioned in sourceforge is different though. It says VeraCrypt::File::Write:384 and is affecting the format-option use the full available space of the disk. Back to this issue: |
Hey @bugtracker2019! I finally got out of bed/sofa for a nasty flu, and I have tried to overcome the same lack of enthusiasm I hit recently. FYI, just as we're talking between friends, you need to install wx30-gtk3-3.0.5.1 and then use My compile options were: Although I've no clue what I'm looking at, this is the standard "bt"
And this is the "bt full":
I am still trying to process the shock I felt when I read "Python Exception," which is super weird because I haven't seen any trace of Python in the code. And I am wondering why the UnicodeDecodeError! I am using LANG=C.UTF-8 and, for the sake of the test, I exported LANG=C, but I had the same problem, but with "'ascii' codec ....". As I haven't found traces of python inside the code, I wonder if I can trust that core dump. |
Uh oh!
There was an error while loading. Please reload this page.
Expected behavior
Changes between 1.26.7 and1.26.14 not all but to describe the error (25 August 2024) :
FreeBSD:
Fix privilege escalation prompts not showing up (GH #1349)
Support automatic detection and mounting of ext2/3/4, exFAT, NTFS filesystems (GH #1350)
Use correct Disk Utility location when "check filesystem" is ran (GH #1273)
Observed behavior
privilege escalation prompts are appearing for example when trying to create a a basic file container volume but after typing in the correct sudo password "Not enough data available" appears as error.
Steps to reproduce
creating a new veracrypt basic/ standard file container volume
Screenshots
Your Environment
Please tell us more about your environment
VeraCrypt version: veracrypt-1.26.15 (freebsd package)
Operating system and version: FreeBSD-14.1-RELEASE
System type: 64-bit amd64
The text was updated successfully, but these errors were encountered: