Firstly, why is profile_replace called so often for one package. Secondly, looking at the dmesg output from the scope click install loop, why does "com.ubuntu.clock_clock_3.3.280.1" get updated? When installing/uninstalling the app we only see profile_replace calls against "com.viclog.hodor_hodor_0.2"
Adding 'sudo dmesg' to the app install loop script now produces:
[ 1823.580344] type=1400 audit(143507074 0.169:104) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="com. viclog. hodor_hodor_ 0.2" pid=22736 comm="apparmor_ parser" 6.548:105) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="com. viclog. hodor_hodor_ 0.2" pid=23161 comm="apparmor_ parser" 2.897:106) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="com. viclog. hodor_hodor_ 0.2" pid=23571 comm="apparmor_ parser" 9.156:107) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="com. viclog. hodor_hodor_ 0.2" pid=24012 comm="apparmor_ parser" 5.474:108) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="com. viclog. hodor_hodor_ 0.2" pid=24403 comm="apparmor_ parser" 1.853:109) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="com. viclog. hodor_hodor_ 0.2" pid=24849 comm="apparmor_ parser" 8.072:110) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="com. viclog. hodor_hodor_ 0.2" pid=25284 comm="apparmor_ parser"
[ 1859.959133] type=1400 audit(143507077
[ 1896.309873] type=1400 audit(143507081
[ 1932.570364] type=1400 audit(143507084
[ 1968.891988] type=1400 audit(143507088
[ 2005.267205] type=1400 audit(143507092
[ 2041.485609] type=1400 audit(143507095
Firstly, why is profile_replace called so often for one package. Secondly, looking at the dmesg output from the scope click install loop, why does "com.ubuntu. clock_clock_ 3.3.280. 1" get updated? When installing/ uninstalling the app we only see profile_replace calls against "com.viclog. hodor_hodor_ 0.2"