Error with guest-session and apparmor when tmp is not in /
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apparmor
Hello,
i've put the tmp-directory to /home/tmp and made a symlink to /tmp.
Now i cannot start a guest-session anymore. i get the following errors:
.xsession-errors:
/etc/gdm/Xsession: Beginning session setup...
xrdb: Permission denied
xrdb: Can't open display ':20'
Can't create dir /tmp/guest-
...
...
...
Setting IM through /etc/X11/
mkdtemp: private socket dir: Permission denied
and the other messages:
Nov 8 11:34:36 user-laptop kernel: [ 1824.823565] type=1503 audit(122614047
Nov 8 11:34:36 user-laptop kernel: [ 1824.843012] type=1503 audit(122614047
Nov 8 11:34:36 user-laptop kernel: [ 1824.846338] type=1503 audit(122614047
Nov 8 11:34:36 user-laptop kernel: [ 1824.849558] type=1503 audit(122614047
Nov 8 11:34:36 user-laptop kernel: [ 1824.852762] type=1503 audit(122614047
Nov 8 11:34:36 user-laptop kernel: [ 1824.856531] type=1503 audit(122614047
Nov 8 11:34:36 user-laptop kernel: [ 1824.859818] type=1503 audit(122614047
Nov 8 11:34:36 user-laptop kernel: [ 1824.862958] type=1503 audit(122614047
Nov 8 11:34:36 user-laptop kernel: [ 1824.866083] type=1503 audit(122614047
Nov 8 11:34:36 user-laptop kernel: [ 1824.884700] type=1503 audit(122614047
deleting the symlink and put tmp back to /tmp solves the problem.
So it is a problem with the apparmor-profiles
Changed in apparmor: | |
status: | New → Invalid |
Sorry,
this does not work because i linked /tmp with a symlink to /home/tmp
Instead of symlink it only works (in my case) with: mount -o bind /home/tmp /tmp