maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   TrueCrypt 7 with GUI and kernel crypto (https://talk.maemo.org/showthread.php?t=68419)

peterleinchen 2012-01-09 23:04

Re: TrueCrypt 7 with GUI and kernel crypto
 
Did not use it until now (but am going to...).

Do I understood right?
It is about the addressbook not showing the contacts? Or not showing the current status of IM partners (away, offline,...)

Either way I would go with a
killall osso-addressbook
or
kill `pgrep /usr/bin/osso-addressbook`
Try this first, then:

What also may be needed is to "restart" the telepathy processes
like
~# ps |grep telepathy
1278 user 4688 S /usr/lib/telepathy/telepathy-ring
2331 user 16892 S /usr/lib/telepathy/telepathy-haze
2334 user 7472 S /usr/lib/telepathy/telepathy-sofiasip

afaik:
sofiasip is for sip/voip accounts, haze (and others) for IM.
Output may look different depending on installed extensions.
You may go one by one (preferred, pls post back result) with a
killall telepathy-...
or all together
kill `pgrep telepathy-*`
kill `pgrep -f

impeham 2012-01-10 14:26

Re: TrueCrypt 7 with GUI and kernel crypto
 
Well, the original scenario I had:
1. Disconnected secured drive
2. Run "Contacts" -> no contacts (as expected)
3. Connect secured drive
4. Run "Contacts" -> still no contacts shown

I then used the following between 3 and 4:
kill `pgrep /usr/bin/osso-addressbook`
kill `pgrep telepathy-*`
I checked that all these processes changed process ids to make sure they were killed.

After these steps - starting the "Contacts" application shows all the contacts, but not the statuses of the IM accounts (I'm logged in to them of course) and you cannot send IM messages because you are getting "Unable to perform operation - internal error" message if you try too.

Anything else should be restarted?

Encrypted contacts is a very nice ability I would like to use. Other than that this secured drive is a great second protection for my already encrypted Password safe data file.

Thanks for the help :)

Estel 2012-01-10 18:02

Re: TrueCrypt 7 with GUI and kernel crypto
 
I'm pretty sure, that all of this can be achieved by bootup or contextual scripts (that automatically restart corresponding services after mounting encrypted partition/container). Ho ever, as for IM bug, we must wait for NIN101 answer - he's specialist of such trick.

Sorry for not being able to help on that.

peterleinchen 2012-01-10 22:02

Re: TrueCrypt 7 with GUI and kernel crypto
 
Of course you did kill rtcom-call-ui also?

There is another candidate to be killed/restarted
rtcom-messaging-ui

And maybe (just guessing from here)
osso-connectivity-ui-conndlgs

If not, try to find out with
ps | grep xxx
to find any processes maybe related to that part.
Sorry, thats all I can do for you.

impeham 2012-01-10 22:17

Re: TrueCrypt 7 with GUI and kernel crypto
 
Quote:

Originally Posted by peterleinchen (Post 1148587)
Of course you did kill rtcom-call-ui also?

There is another candidate to be killed/restarted
rtcom-messaging-ui

And maybe (just guessing from here)
osso-connectivity-ui-conndlgs

If not, try to find out with
ps | grep xxx
to find any processes maybe related to that part.
Sorry, thats all I can do for you.

killed everything you suggested too. still same problem when running contacts...

impeham 2012-01-12 16:20

Re: TrueCrypt 7 with GUI and kernel crypto
 
There is another issue I'm facing now:

I'm running the truecrypt mount command with root user and when I start an application like "photos" it has no access to the mounted drive (because it is run with the "user" user).

What is the best way to solve this? Of course I can change the shortcuts to be run with "root" but I would like to avoid that.

Mentalist Traceur 2012-01-12 16:50

Re: TrueCrypt 7 with GUI and kernel crypto
 
Quote:

Originally Posted by Niwakame (Post 1134431)
Shredding on an Flash-based medium is utterly useless, as the wear-levelling will reallocate sectors all over the "disk". This is also the case with SSD-drives in computers.

The only way is to delete the file and then overwrite the whole free space with zeroes. Not with random numbers, as zeroed memory blocks are usually faster when being written to.

This is why I absolutely hate solid-state storage devices implementing built-in wear-leveling. As I understand it, spinny disk harddrives always did and still do the grown up thing and let the OS tell them what to do like a good obedient piece of hardware.

I get that when flash storage first got made there was a reason to let the storage medium do **** like that, since OSs didn't come with support for that kind of stuff, but at this point there's no good reason to not give that kind of raw control to the OS itself.

NIN101 2012-01-12 17:36

Re: TrueCrypt 7 with GUI and kernel crypto
 
Quote:

I'm running the truecrypt mount command with root user and when I start an application like "photos" it has no access to the mounted drive (because it is run with the "user" user).
Permissions? http://talk.maemo.org/showpost.php?p...38&postcount=5
If extX filesystem, set them with chown etc..

--
Regarding the symlink method: It's indeed a pain and not convenient. Maybe this super killall party can help you; permission problems?

impeham 2012-01-12 23:34

Re: TrueCrypt 7 with GUI and kernel crypto
 
Quote:

Originally Posted by NIN101 (Post 1149590)
Permissions? http://talk.maemo.org/showpost.php?p...38&postcount=5
If extX filesystem, set them with chown etc..

--
Regarding the symlink method: It's indeed a pain and not convenient. Maybe this super killall party can help you; permission problems?

--fs-options=rw,uid=29999 did the trick for my (FAT) FS storage.

What do you mean by super killall? :) (the link you added was for the FAT FS issue - probably by mistake?)

NIN101 2012-01-13 17:18

Re: TrueCrypt 7 with GUI and kernel crypto
 
Quote:

What do you mean by super killall?
Forget it, my style of writing :-).
Yes, wrong link. Wanted to link to this


All times are GMT. The time now is 09:32.

vBulletin® Version 3.8.8