Development Team/Chroot: Difference between revisions
| Line 46: | Line 46: | ||
before entering the chroot. (Mock uses unshare() to enter a new mount-point namespace since this makes garbage collection of mountpoints much easier.) | before entering the chroot. (Mock uses unshare() to enter a new mount-point namespace since this makes garbage collection of mountpoints much easier.) | ||
It also wants to have a session bus so, ''inside'' the chroot: | It also wants to have a session bus so, ''inside'' the chroot, as user <tt>sugar</tt>: | ||
export DBUS_SESSION_BUS_ADDRESS=$(dbus-daemon --session --print-address --fork) | export DBUS_SESSION_BUS_ADDRESS=$(dbus-daemon --session --print-address --fork) | ||