Notices


Reply
Thread Tools
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#21
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
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#22
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

Last edited by impeham; 2012-01-10 at 14:29.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#23
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.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#24
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.
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#25
Originally Posted by peterleinchen View Post
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...
 
Posts: 669 | Thanked: 433 times | Joined on May 2010
#26
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.
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#27
Originally Posted by Niwakame View Post
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.
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post:
Posts: 115 | Thanked: 342 times | Joined on Dec 2010
#28
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?

Last edited by NIN101; 2012-01-13 at 17:18. Reason: Wrong link
 

The Following User Says Thank You to NIN101 For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#29
Originally Posted by NIN101 View Post
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?)
 
Posts: 115 | Thanked: 342 times | Joined on Dec 2010
#30
What do you mean by super killall?
Forget it, my style of writing :-).
Yes, wrong link. Wanted to link to this
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:50.