|
2011-07-11
, 19:20
|
|
Posts: 92 |
Thanked: 92 times |
Joined on May 2011
@ Stellenbosch, South Africa
|
#82
|
|
2011-07-11
, 19:36
|
Posts: 96 |
Thanked: 51 times |
Joined on Jul 2010
@ India
|
#83
|
Oh, wow okay. If that is happening it means there is something causing the daemon to crash... Very bad news, could be that there is another daemon running, say in a terminal? If that isn't the case though, then what you could do is make sure that you have sent the "initctl emit AppLockStopDaemon" event and run a daemon in a terminal to see what it says.
Ah, sorry about the chown thing, got them the wrong way around it is supposed to be "user:users"
The Following User Says Thank You to warhawk007 For This Useful Post: | ||
|
2011-07-11
, 19:45
|
|
Posts: 92 |
Thanked: 92 times |
Joined on May 2011
@ Stellenbosch, South Africa
|
#84
|
|
2011-07-11
, 20:09
|
Posts: 96 |
Thanked: 51 times |
Joined on Jul 2010
@ India
|
#85
|
Hmm, okay, since you now have a semi-functional version of it
1. If you lock an app that uses a path (say, Dorian)
a) Does the lock appear?
b) Upon launching Dorian does the phone lock?
2. If you lock an app that uses a DBus call, but not one that is overriden (say, Conversations)
a) Does the lock appear?
b) Upon clicking Menu->Refresh Daemon does the UI crash?
c) If you launch the app after b) does the phone lock?
3. If you lock an app that uses an override (say, Conversations)
a) Does the lock appear?
b) Upon clicking menu->Refresh Daemon does the UI crash?
c) If you launch the app after b) does the phone lock?
d) Upon pressing a letter on the desktop does the phone lock (conversations only)
4, 5, 6: Repeat for unlocking
In the case of 5 and 6, b) won't be necessary and the UI should hang but if it doesn't then I am going to be EXTREMELY happy
|
2011-07-11
, 20:18
|
|
Posts: 92 |
Thanked: 92 times |
Joined on May 2011
@ Stellenbosch, South Africa
|
#86
|
|
2011-07-11
, 20:34
|
Posts: 96 |
Thanked: 51 times |
Joined on Jul 2010
@ India
|
#87
|
Haha, excellent.
Yeah, the way it works is that anything that adds a search to the DBus monitor will only be applied AFTER you refresh the daemon. Can you let me know if there is a delay or a hang on the UI when you remove the locks on DBus apps, if there isn't or it is very short then I will add in the immediate add support again.
As for why contacts doesn't get unlocked correctly, it may be that the daemon is hanging, if you restart the daemon does it fix it?
Cool, thanks for pointing that out, unfortunately that is built into the phone application so I can't lock it when you open it there. But on second thoughts, since it is a very limited version of the contacts app it may be possible for us to class it as part of the Phone rather than Contacts. If you do want to lock it completely though then you best lock Phone and Contacts
I also need to get around to finding out what DBus methods get called when you open a notification for a message since that opens Conversations.
Sounds like it, though I am also working on a lot of other stuff for the next release, like command line matching so we can start locking scripts and python applications
As for a Beta, not quite yet, will do when we have a stable install -> run cycle
The Following User Says Thank You to warhawk007 For This Useful Post: | ||
|
2011-07-11
, 22:19
|
Posts: 89 |
Thanked: 4 times |
Joined on Jun 2010
|
#88
|
|
2011-07-11
, 22:21
|
Posts: 89 |
Thanked: 4 times |
Joined on Jun 2010
|
#89
|
|
2011-07-11
, 23:16
|
|
Posts: 92 |
Thanked: 92 times |
Joined on May 2011
@ Stellenbosch, South Africa
|
#90
|
The Following 3 Users Say Thank You to SPARTAN563 For This Useful Post: | ||
/home/user # ps | grep AppLock
18583 root 2088 S grep AppLock
/home/user # kill 18583
sh: cannot kill pid 18583: No such process
This is because the pid keeps changing randomly.
And the output for this:
/opt/applock # chown users:user settings.db
chown: unknown user/group users:user