You are not logged in.

#1 2015-09-27 09:01:45

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

[SOLVED]Veracrypt cant obtain admin privileages after typying password

Hi.

I would like to ask some of You, that uses Veracrypt, about one problem that it happened to me and i don't know how to solve. I use Veracrypt (14.1) with 64 bit Arch system. It worked superb but recently something went wrong, don't know what and i can only partially use it. I changed motherboard from Z97 to Z170, CPU from 4670K to 6700K and 4x4GB DDR3 to 2x8GB DDR4.


I can't mount my veracrypt container because it always informs that i use wrong password but not for the file container but for the "user/admin". It just cant obtain admin privileages, and as soon as i type in password for user it informs me that the password is wrong while is not - on windows it works. I installed clean Arch install - the same thing. I can mount my container either with using terminal ( sudo veracrypt --mount /something/file /somewehere/mountpoint). Also, with something called ZuluCrypt i was able to mount some of my containers with my password for file container (it does not ask for user password for admin privileages).

Could somebody help me? The same version on Windows works. Problem is that for Windows i have 2 file containers created with NTFS filesystems but the one that i need most are those from Arch/Linux system created with EXT4.

In short: mounting containers with gui does not work because of admin privileages (wrong password while it is correct), and mounting with terminal works.


Help :(


I saw the same error while trying to install Veracrypt from AUR:

Linking veracrypt

(process:8989): GLib-GObject-CRITICAL **: g_type_class_unref: assertion 'g_class != NULL' failed
/bin/sh: linia 1:  8989 Memory segfault   (memory dump) ./veracrypt --text --test > /dev/null
Main.make:134: command for make 'veracrypt' failed
make[1]: *** [veracrypt] Error 1
Makefile:292: command for object 'all' failed
make: *** [all] Error 2
==> ERROR: Error in build happened ().
    Aborting..
==> ERROR:Makepkg was not able to build veracrypt 
==> Retry to build veracrypt?[y/N]]
==> -----------------------------------
==> 

I hit yes, it retries and finishes it without any new warnings.

Somebody said that it is memory problem - i ran all night long Memtest, for few hours. I did stresstest with linpack, occt, stressprime, superpi1.5modsx and works. Temps are around 55 in torture tests.

Last edited by firekage (2015-10-04 22:36:19)

Offline

#2 2015-09-28 16:39:30

mhogomchungu
Member
Registered: 2013-03-29
Posts: 87

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

The problem is most likely due to how sudo is setup on your system. How did you setup sudo?

Log into root's account and then run VeraCrypt and see if the problem is still there.

If zuluCrypt works,why not use it?

Offline

#3 2015-09-29 20:42:52

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

No, i don't think that setup of sudo is problematic here because i always did it in the same way. I just edited /etc/sudoers file and added my account where root entries are placed.

FIREKAGE ALL=(ALL) ALL

Root account does not have X, so i won't be able to check it.Also, doing something with 4x3TB+2x2TB drivers without gui...is not an nice thing...

I tried also with this

firekage       ALL=(root) NOPASSWD: /usr/sbin/veracrypt

and still no luck.

Zulucrypt in fact is a dirty workaround and it is just gui to crypt, where veracrypt is a native software that was used to make my containers. Something wrong is with Veracrypt, but don't know what and what to check.

Last edited by firekage (2015-09-29 20:46:27)

Offline

#4 2015-09-29 21:00:10

mhogomchungu
Member
Registered: 2013-03-29
Posts: 87

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

I am the current maintainer of zuluCrypt so i know a thing of two about what is going on.

zuluCrypt is just a front end to cryptsetup that in turn,is just a front end to dm-crypt.

VeraCrypt on linux is also just a front end to dm-crypt.

The code that added support for VeraCrypt in zuluCrypt was written by VeraCrypt developer.

As far creating and managing VeraCrypt volumes,both zuluCrypt and VeraCrypt are more or less the same.

Did you update VeraCrypt recently? Maybe the recent change in behavior is caused by newer versions of the program.

Offline

#5 2015-09-29 22:17:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,441

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

Moving to AUR issues, Discussion and PKGBUILD requests.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2015-09-30 19:58:25

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

mhogomchungu wrote:

I am the current maintainer of zuluCrypt so i know a thing of two about what is going on.

zuluCrypt is just a front end to cryptsetup that in turn,is just a front end to dm-crypt.

VeraCrypt on linux is also just a front end to dm-crypt.

The code that added support for VeraCrypt in zuluCrypt was written by VeraCrypt developer.

As far creating and managing VeraCrypt volumes,both zuluCrypt and VeraCrypt are more or less the same.

Did you update VeraCrypt recently? Maybe the recent change in behavior is caused by newer versions of the program.

Thank You for info. Yes, i updated Veracrypt from AUR, installed 2 times Arch from beginning and the same thing happens on a fresh install (package is being created with errors - segmentation fault. I do it again, and it is installed without errors, proparply from tmp/cache).

I think that there are two problems here:

-first one: veracrypt or something wrong in code
-maybe hardware, but not because it is faulty, but because it is too new. There is no microcode update for my 6700K, and on main page in bugs section people wrote about segmentation fault. I have the same problem


I did not know that ZuluCrypt and Veracrypt are front end to dm-crypt. Will use ZuluCrypt till they fix Veracrypt or do something with it because no i have 6 hard disks with EXT4 that are barely usuable when i can't use it with "gui" when using veracrypt.


BTW - sorry for sying "dirty workaround" but i can't find proper english expression for it.

Last edited by firekage (2015-09-30 20:00:29)

Offline

#7 2015-09-30 21:17:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,441

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

firekage wrote:

...sorry for sying "dirty workaround" but i can't find proper english expression for it.

That is a perfectly acceptable way of saying it in English   wink


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2015-10-01 12:44:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,088

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

firekage wrote:

Yes, i updated Veracrypt from AUR, installed 2 times Arch from beginning and the same thing happens on a fresh install (package is being created with errors - segmentation fault. I do it again, and it is installed without errors, proparply from tmp/cache).

Do you use an aur helper and if so, does makepkg give those problems also ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#9 2015-10-01 17:21:40

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

I don't use it. I just run yaourt -S veracrypt and first try is finished with segmentation fault, after retry package is not compilet but installed right on the spot so during the segmentation fault, when it stops, it must be created.

Offline

#10 2015-10-01 18:15:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,441

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

Um,  yaourt is an AUR helper.  And it is, in my opinion, the worst offender in that class of application when it comes to automatically trashing your system.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2015-10-01 19:39:15

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

Hm...I used yaourt to install ZuluCrypt - it works. Yourt in my case, always worked, i could update system, aur packages and everything worked ok.

So, i could try the other helper - which one?

You suggests that it could be yaourt problem? I have a lot of segmentation fault on my present config (6700K 1151) and i don't think that it is because of yaourt (i have only veracrypt installed from it, nothing more). On bug page there are infos about segmentation fault (when for an exmaple, closing apps, closing programs like pavucontrol and so on) related to intel processor and nvidia driver but i don't know if that's is in my case.

I don't understand one thing more - segmentation occurs even when i tried to reinstall firefox. I installed - ok. I tried to check the segmentation fault problem, so reinstalled firefox - on the spot, segmentation fault.

Last edited by firekage (2015-10-01 19:54:28)

Offline

#12 2015-10-01 22:08:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,088

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

Firekage,
the first mention of segfaults was in post #6.

I overlooked that (as did others also it seems), i suggest you create a new thread about the segfault problems since they affect much more then just veracrypt/zulucrypt .

About yaourt :
You have been very lucky if this is your first yaourt problem.
You'd be surprised how many problems with packages are CAUSED by building with yaourt.

It's so bad that Standard Operating Procedute  by aur package building problems using yaourt is to ask the user to build the package without using ANY aur helper.
If that solves the problem, another yaourt bug has been found.

PKGBUILDS are designed to be build with makepkg, if an aur helper gives problems when building but makepkg doesn't , the package in question is fine and the problem cause lies within the aur helper.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#13 2015-10-02 11:55:22

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

Thanks.

In fact, i would like to learn how to do a makepg but reading makpekg on ArchWiki tells me nothing (also pkgubilds and create pkg chapters on ArchWiki - it is too complicated for me), thats why i try to use yaourt.

Offline

#14 2015-10-02 12:30:03

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

firekage wrote:

Thanks.

In fact, i would like to learn how to do a makepg but reading makpekg on ArchWiki tells me nothing (also pkgubilds and create pkg chapters on ArchWiki - it is too complicated for me), thats why i try to use yaourt.

AUR in a nutshell:

git clone <the clone link on the AUR's package site>
cd <package name>
vim PKGBUILD $pkgname.install # To make sure all is kosher
makepkg -sir

https://wiki.archlinux.org/index.php/Ar … Repository

Last edited by Alad (2015-10-02 12:31:35)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#15 2015-10-02 12:54:27

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

Thank you, i will try it.

Offline

#16 2015-10-04 22:37:33

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: [SOLVED]Veracrypt cant obtain admin privileages after typying password

I'd like to thank all of you. Problem solved. It looks that compiling glibc without lock-ellision options did the trick. I could not only build veracrypt from aur, but i could finish it without any errors, could install it and after that when i mount my containers in veracrypt i can type in my password and it works.

Offline

Board footer

Powered by FluxBB