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

Problema chroot sid



Hola grup:

Tinc instal·lat Debian 12 bookworm i volia tenir una instal·lació de sid per executar alguns programes. Sempre ho havia fet amb les ordres següents:

  $ sudo aptitude update && sudo aptitude install schroot
  $ sudo aptitude -t bookworm-backports install debootstrap
  $ sudo mkdir -p /srv/chroot/sid
  $ sudo cp /etc/schroot/schroot.conf /etc/schroot/schroot.conf.ori
  $ sudo nano /etc/schroot/schroot.conf

Hi afegeixo al final de /etc/schroot/schroot.conf :

    ------
    [sid]
    description=Debian sid
    directory=/srv/chroot/sid
    type=directory
    users=USUARI
    groups=sbuild,USUARI
    root-groups=root
    aliases=unstable,default
    profile=desktop
    personality=linux
    preserve-environment=true
    ----

I ho instal·lo:

  $ sudo debootstrap sid /srv/chroot/sid

I per entrar-hi:

  $ xhost +local: && schroot -c sid  && xhost -

Sempre havia anat perfecte, però ara dona error:
  $ xhost +local: && sudo schroot -c sid  && xhost - 
       non-network local connections being added to access control list 
       E: Failed to execute “/bin/bash”: No such file or directory

I /bin/bash existeix i és executable:

  $ dir -l /srv/chroot/sid/bin/bash
    -rwxr-xr-x 1 root root 1277936 26 de nov.  09:09 /srv/chroot/sid/bin/bash

El mateix passa si ho executo com a root:

  $ xhost +local: && sudo schroot -c sid  && xhost -
    E: Failed to execute “/bin/bash”: No such file or directory

He buscat a google, i de moment les solucions proposades no funcionen.

Alguns suggeriments?

Gràcies i salutacions. 


Reply to: