Comment 7 for bug 1235436

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1235436] Re: /etc/init/apport-noui.conf is non-functional on the phone

On Thu, Jan 09, 2014 at 11:50:14AM -0000, Martin Pitt wrote:
> So Brian changed /etc/apport/autoreport to /var/lib/apport/autoreport,
> and added that path in

> lxc-android-config (0.126) trusty; urgency=low

> * Adding /var/lib/apport to writable persistent paths. (LP: #1239811)

> -- Brian Murray <email address hidden> Mon, 06 Jan 2014 12:03:20 -0800

> Why can't we use /etc/ for this instead? This *is* a configuration file
> after all, and moving it to /var/lib/ is just a bad hack to work aorund
> our bad hack of non-writable /etc/. Can't we keep that in /etc/apport/
> and make /etc/apport/autoreport writable instead?

I asked him to do this because I consider bind-mounting of individual files
a horrible hack. Since this is a configuration setting that's going to be
changed almost exclusively through the phone UI anyway, there's no logical
advantage of considering this a config file rather than "state", as it
should not be a conffile.