guardianproject / lildebi

UNMAINTAINED please adopt! we can no longer maintain this
https://guardianproject.info/code
GNU General Public License v3.0
229 stars 55 forks source link

Stopping Debian resets the device #108

Closed gerroon closed 10 years ago

gerroon commented 10 years ago

Hi

I am using it on 4.4.4 CyanogenMod nexus7. Everything seems to work except that when I stop Debian from the gui, my device resets.

What is interesting is that, after the reset the device seems to loose its "root" skills. All the root apps starts complaining that the device is not rooted, which sucks because for example I have firewall manager install and all such apps are disabled when the device is back, which can cause security leaks etc.

I am not even sure if this is a hard reset or not, the device blanks out and restart or does something along those lines.

eighthave commented 10 years ago

sounds like you enabled using /etc/init.d/rc 0 as the Pre-Stop script. That currently triggers a shutdown. The upcoming 0.5 release should fix this.

gerroon commented 10 years ago

Hi

Actually I do not have it enabled. Is there a way to make sure that never runs?

eighthave commented 10 years ago

yeah, it'll never run if it is not set as the Pre-Stop preference. I have no idea what would be rebooting your device otherwise. Lil' Debi is very conservative with what it does. A wild guess is that your device might have some very custom use of the /dev/loop loopback devices that somehow conflicts with Lil' Debi's loopback mounting.

gerroon commented 10 years ago

Hi

I will try with 0.5 to see if it gets any better

thanks for your help