veracrypt and "Error: Not enough data available"

Hi! New around here and new on FreeBSD :)

My gut feeling is that this is not a bug and I'm possibly doing something wrong, but I can't understand what.
If I run veracrypt as a user, both GUI or text interface, and I try to mount a volume (with the correct volume and sudo passwords), I receive the message:
"Error: Not enough data available".

As an example, the command line is:
veracrypt --text --load-preferences --mount /home/darknetgirl/volume.dsk /home/darknetgirl/Documents/volume/ '--pim=0' '--keyfiles=' '--protect-hidden=no' '--slot=1'

If I run the above command with sudo, that works perfectly, ex:
sudo veracrypt --text --load-preferences --mount /home/darknetgirl/volume.dsk /home/darknetgirl/Documents/volume/ '--pim=0' '--keyfiles=' '--protect-hidden=no' '--slot=1'

veracrypt, under the hood, invoke sudo to process the actuall mount command.

I used truss (trace in attach) and the actual command that fails is:
sudo -S -p /usr/local/bin/veracrypt --core-service

With the following problem:
effective uid is not 0, is /usr/local/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without [...]

I use ZFS, but the filesystem does not have the nosuid option.
Using the above command from a shell returns rc 0 for the record.

What am I doing wrong?
Thanks!
 

Attachments

Back
Top