2 issues with the current RTM silo:

1)
+++ lxc-android-config-0.208rtm10/etc/system-image/writable-paths       
2015-03-31 11:47:37.000000000 +0100
+# need to write to this file to toggle crash reporting
+/etc/default/whoopsie                   auto                    persistent  
none        none

It should be 'persistent transition none' instead, otherwise the file
will be empty (not respecting the previous content).

2) Even with the right writable path, it will still fail to save the 
configuration because whoopsie-preferences is using g_file_set_contents, which 
will first create a tmp file under the same path, and that will not work 
because /etc/default is not writable:
open("/etc/default/whoopsie.YJXSWX", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 
-1 EROFS (Read-only file system)
write(1, "Could not write configuration: F"..., 107) = 107

So either we make /etc/default rw (or create a writable directory to
save whoopsie config), or change whoopsie-preference to first create the
new file under /tmp and then copy it over the previous one.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437633

Title:
  Choosing not to report crashes and errors setting reverts

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1437633/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to