#857018 schroot: Setup script not running, --session-name not working

Package:
schroot
Source:
schroot
Description:
Execute commands in a chroot environment
Submitter:
Mike Hommey
Date:
2022-05-28 16:36:03 UTC
Severity:
important
Tags:
#857018#5
Date:
2017-03-07 09:24:00 UTC
From:
To:
Dear Maintainer,

I installed a new machine some time ago, and setup schroot for the first
time on it...

I created a basic configuration in /etc/schroot/chroot.d that is
essentially:
  [name]
  description=something
  directory=/path
  users=my_user

Then running `schroot -c name` worked, for some value of worked where
the setup script didn't run and the bind mounts for e.g. /home weren't
there.

The session id is also the plain name of the chroot, not $name-$uid as
it used to be. So I also tried `schroot -b -c name -n foo`, and that
still created a session with the name "name", not "foo".

I tried the version from experimental, which had the same behavior.

Mike

#857018#10
Date:
2022-05-28 16:24:00 UTC
From:
To:
Mike Hommey wrote...

Hi, it's been a while, and I failed to reproduce your report. Can you
please check whether the problems still exist on your side? Quite
frankly, this feels like a broken installation (missing executable bits
or some weird noexec mount)

Regards,

    Christoph