It's not easy to fix this in a clean way... as (un)editing /etc contents on domain join/leave is not really clean. The best way would be to make apparmor aware of domain existence so that it adapts @{HOMEDIRS} accordingly.
It's not easy to fix this in a clean way... as (un)editing /etc contents on domain join/leave is not really clean. The best way would be to make apparmor aware of domain existence so that it adapts @{HOMEDIRS} accordingly.