Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user.catalan > #7659

Problema chroot sid

From Griera <griera@yandex.com>
Newsgroups linux.debian.user.catalan
Subject Problema chroot sid
Date 2024-02-29 12:30 +0100
Message-ID <IcMLU-drwo-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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. 

Back to linux.debian.user.catalan | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Problema chroot sid Griera <griera@yandex.com> - 2024-02-29 12:30 +0100
  Re: Problema chroot sid Alex Muntada <alexm@debian.org> - 2024-03-04 00:00 +0100
    Re: Problema chroot sid Griera <griera@yandex.com> - 2024-03-04 08:50 +0100
      Re: Problema chroot sid Alex Muntada <alexm@debian.org> - 2024-03-06 23:00 +0100
        Re: Problema chroot sid griera@gmail.com - 2024-03-07 11:00 +0100
          Re: Problema chroot sid Alex Muntada <alexm@debian.org> - 2024-03-07 17:10 +0100
            Re: Problema chroot sid griera@gmail.com - 2024-03-08 08:00 +0100
          Re: Problema chroot sid Jordi Miguel <neoclimber@gmail.com> - 2024-03-07 20:40 +0100
            Re: Problema chroot sid griera@gmail.com - 2024-03-08 08:00 +0100

csiph-web