295
295
% (username, unixid, unixid, username))
299
299
# This is where we'll mount to...
301
301
# ... and this is where we'll get the user bits.
304
304
if not os.path.exists(destdir):
306
306
if os.system('/bin/mount -t aufs -o dirs=%s:%s=ro none %s'
308
309
logging.info("mounted user %s's jail." % login)
310
311
logging.error("failed to mount user %s's jail!" % login)