Comment 18 for bug 1604421

Revision history for this message
Ɓukasz Zemczak (sil2100) wrote :

Ok, it seems that the culprit is my quick-fix add_custom_to_xdg_data.sh in profile.d! I tracked it down and it seems to be causing the invalid .profile. The reason is yet unknown, but I suppose something changed and now it was applied in a different order than on vivid. I checked the values and it seems that /etc/profile.d/add_custom_to_xdg_data.sh was run *before* /usr/bin/ubuntu-touch-session, not the other way around as it was intended. This cause corruption as ubuntu-touch-session was written in a way assuming that XDG_DATA_DIRS is empty (or at least sane), where in this case it only had this one additional entry we wanted for customized notification sounds.

Anyway, need to figure out what happened exactly, but removing add_custom_to_xdg_data.sh from /etc/profile.d is a quick workaround for now.