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


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

Re: Problema chroot sid

From Alex Muntada <alexm@debian.org>
Newsgroups linux.debian.user.catalan
Subject Re: Problema chroot sid
Date 2024-03-04 00:00 +0100
Message-ID <Ie2Yh-eekL-1@gated-at.bofh.it> (permalink)
References <IcMLU-drwo-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hola,

tingues en compte que he trobat el teu correu a la carpeta d'spam
(per això no l'havia vist abans).

> 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

Jo he fet un nou schroot seguint les teves passes (aproximadament)
i sembla que funciona bé. Les diferències són les següents:

- Utilitzo el debootstrap de Debian 12
- Munto per defecte alguns directoris del sistema principal. Per
  exemple, per estalviar-me executar xhost, tinc això al fitxer
  /etc/schroot/default/fstab:

  ```
  /run/user/1000 /run/user/1000 none rw,bind 0 0
  ```

> 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

Té tota la pinta de ser un problema degut a la conversió cap a
usrmerge. Pots mirar si /src/schroot/sid/bin és un directori o
un symlink? I si fas un ldd al bash des de la Debian 12 dóna
algun error? Jo el puc executar des de fora del chroot i va bé.

La cosa curiosa és que amb el debootstrap de la 12 no fa la
conversió a usrmerge, o sigui que podria ser una solució a
considerar si no tens una necessitat especial d'executar la
versió dels backports.

Salut,
Alex

--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁   Alex Muntada <alexm@debian.org>
  ⢿⡄⠘⠷⠚⠋   Debian Developer 🍥 log.alexm.org
  ⠈⠳⣄⠀⠀⠀⠀

Back to linux.debian.user.catalan | Previous | Next — Previous in thread | 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