[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#948119: [schroot] does not work for non-root user



Package: schroot
Version: 1.6.10-7
Severity: important

Hi,

with today's update (1.6.10-7), schroot does not work anymore for
non-root users (which are still authorized by mean of the "users"
directive):

> $ schroot -c sid
> E: sid-e3acbcde-86df-4f46-a30a-8bbb72d1620e: Failed to lock chroot: /var/lib/schroot/session/sid-e3acbcde-86df-4f46-a30a-8bbb72d1620e: Failed to write session file: Permesso negato

I suspect the problem might be related to the fact that /usr/bin/schroot
is not set-uid anymore, while it was before. Executing

 # chmod u+s /usr/bin/schroot

fixes the problem for me.

Thanks, Giovanni.


--- System information. ---
Architecture: Kernel:       Linux 5.4.0-1-amd64

Debian Release: bullseye/sid
  500 xenial          updates.signal.org   500 unstable-debug
debug.mirrors.debian.org   500 unstable        deb.debian.org   500
testing         deb.debian.org   500 stable          repo.skype.com
500 stable          dl.google.com     1 experimental    deb.debian.org
--- Package information. ---
Depends                                (Version) | Installed
================================================-+-==============
lsb-base                                         | 11.1.0
libboost-filesystem1.67.0                        | 1.67.0-16
libboost-iostreams1.67.0                         | 1.67.0-16
libboost-program-options1.67.0                   | 1.67.0-16
libboost-system1.67.0                            | 1.67.0-16
libc6                                  (>= 2.28) | libgcc1
                 (>= 1:3.0) | libpam0g                           (>=
0.99.7.1) | libstdc++6                                (>= 9) | libuuid1
                              (>= 2.16) | schroot-common
      (= 1.6.10-7) |

Package's Recommends field is empty.

Suggests              (Version) | Installed
===============================-+-===========
debootstrap                     | 1.0.116
lvm2                            | 2.03.02-3
btrfs-progs                     | 5.4-1
zfsutils-linux                  | aufs-tools                      |
1:4.14+20190211-1
 OR unionfs-fuse                | qemu-user-static                | 1:4.2-1
-- 
Giovanni Mascellani <g.mascellani@gmail.com>
Postdoc researcher - Université Libre de Bruxelles

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: