Comment # 5 on bug 1224149 from Andrei Borzenkov
(In reply to Gayane Osipyan from comment #4)

> I did follow all steps you described and still got nothing ,is there
> something else need to be done to trigger those AVC's ?

I assume you need to have snapshots eligible for removal. Default is

bor@10:~> sudo snapper get-config | grep NUMBER
NUMBER_CLEANUP         │ yes
NUMBER_LIMIT           │ 2-10
NUMBER_LIMIT_IMPORTANT │ 4-10
NUMBER_MIN_AGE         │ 1800
bor@10:~> 

So you need to have more than 10 snapshots and the oldest must be created at
least 3 hours ago. I have more than 10 snashots and I always did "zypper dup"
and reboot before testing so I always had extra snapshots. I suppose you could
reduce them to the minimum, like

snapper set-config NUMBER_LIMIT=1 NUMBER_LIMIT_IMPORTANT=1

transactional-update shell
exit
reboot

transactional-update shell
exit
reboot

transactional-update cleanup

now you should have at least 2 extra snapshots and snapper-cleanup.service
should do something.

Instead of "transactional-update shell" you can run any transactional-update
command that creates new snapshot, like dup, pkg install or similar.


You are receiving this mail because: