Comment 2 for bug 1387214

Revision history for this message
Colin Ian King (colin-king) wrote : Re: file corruption on touch images in rw portions of the filesystem

Made some progress today.

On the phone, I am seeing:

/var/lib/apparmor/profiles/click_com.ubuntu.filemanager_filemanager_0.3.275 containing a pathname and all zeros. The start is always on a page boundary and the end is always on a page boundary.

I copied the entire partition /dev/mmcblk0p23 over adb back to my laptop, mounted it and then mounted /mnt/ubuntu.img and the same file is sane and not corrupted. So the underlying data is OK.

corrupted data contains /usr/share/click/preinstalled/com.ubuntu.music/1.3.625/apparmor.json

Cannot find any symlinks that would relate to this.

Next step, I'm adding debug into the symlink name to see if this appears in the corrupt data to verify it is a symlink.