parental daemon is resource hungry

Bug #1514172 reported by kay van der Zander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Switchboard Parental Controls Plug
Incomplete
High
Adam Bieńkowski

Bug Description

the daemon is resource hungry ( demanding cpu time) while it is a normal user and not a child.
it shouldn't be active on this user.

Cody Garver (codygarver)
Changed in switchboard-plug-parental-controls:
milestone: loki-alpha1 → loki-beta1
Changed in switchboard-plug-parental-controls:
status: New → Confirmed
Revision history for this message
Adam Bieńkowski (donadigo) wrote :

Yes, I can confirm that the daemon now is checking for new processes every 1 second which is not any good for performance, however I found an interesting example (http://users.suse.com/~krahmer/exec-notify.c) which uses Linux kernel to receive new processes so we don't need to refresh every time but instead do it natively.

Revision history for this message
kay van der Zander (kay20) wrote :

Imo having a guard in plank, terminal and slingshot would be solid for normal users. This guard will prevent any unauthorized execution or show any unauthorized application. So no deamon needed. This part is session based.

System is not needed because only the childs users session should be protected from it.

Even de deamon can't prevent the boot/grub changes.

I think this because every parent i know changes the account them self. They make the pc ready to work in the childs protected environment.

Revision history for this message
Adam Bieńkowski (donadigo) wrote :

For me the daemon should restrict every way of running a program even if it's executable or .desktop. I don't want to have only restrict the "UI" part because some smarter children can figure out how to run a program and just cheat the system.

Changed in switchboard-plug-parental-controls:
status: Confirmed → In Progress
Changed in switchboard-plug-parental-controls:
assignee: nobody → Adam Bieńkowski (donadigo)
Revision history for this message
kay van der Zander (kay20) wrote :

It should only be running when a child is logged in. When a admin is logged in exit the daemon. No need to run. with systemd service it will auto start always

Revision history for this message
kay van der Zander (kay20) wrote :

Auto start from boot.

Changed in switchboard-plug-parental-controls:
status: In Progress → Incomplete
Changed in switchboard-plug-parental-controls:
milestone: loki-beta1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.