I recently upgraded from ubuntu 12.04 to 14.04 and faced the filesystem check or mount failed issue as described here: Ubuntu 13.04 to 13.10: Filesystem check or mount failed
The solution worked but now im unable to log in to the ui. It shows the login screen and on entering the password it just flashes something from the terminal and goes back to the login screen.
Also, starting smb/cifs active directory server fails on boot.
Edit: I checked /var/log/boot.log and found that starting apparmor profiles is failing. How do i fix that?!