dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.56k stars 1.24k forks source link

Install fail on any target - exec: /var/run/crw/crw: Permission denied #4989

Open grekpg opened 1 year ago

grekpg commented 1 year ago
Please paste the output of the following command here: sudo edit-chroot -all
chronos@localhost / $ sudo edit-chroot -all
name: bullseye
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/bullseye...
/usr/local/bin/crash_reporter_wrapper: 119: exec: /var/run/crw/crw: Permission denied
WARNING: Unable to register core dump handler.
crouton: version 1-20221126232257~master:ae594340
release: bullseye
architecture: amd64
targets: kde-desktop
host: version 15393.58.0 (Official Build) stable-channel volteer 
kernel: Linux localhost 5.4.237-20588-g6ec05122d35e #1 SMP PREEMPT Tue May 16 19:36:10 PDT 2023 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/bullseye...
name: sid
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/sid...
/usr/local/bin/crash_reporter_wrapper: 119: exec: /var/run/crw/crw: Permission denied
WARNING: Unable to register core dump handler.
crouton: version 1-20221126232257~master:ae594340
release: sid
architecture: amd64
targets: gnome
host: version 15393.58.0 (Official Build) stable-channel volteer 
kernel: Linux localhost 5.4.237-20588-g6ec05122d35e #1 SMP PREEMPT Tue May 16 19:36:10 PDT 2023 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/sid...
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
/usr/local/bin/crash_reporter_wrapper: 119: exec: /var/run/crw/crw: Permission denied
WARNING: Unable to register core dump handler.
crouton: version 1-20221126232257~master:ae594340
release: xenial
architecture: amd64
targets: xfce
host: version 15393.58.0 (Official Build) stable-channel volteer 
kernel: Linux localhost 5.4.237-20588-g6ec05122d35e #1 SMP PREEMPT Tue May 16 19:36:10 PDT 2023 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Please describe your issue:

sudo crouton -t gnome -r sid .. ... .... at end

Suggested packages:
  ed diffutils-doc
The following NEW packages will be installed:
  patch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 128 kB of archives.
After this operation, 254 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 patch amd64 2.7.6-7 [128 kB]
Fetched 128 kB in 0s (509 kB/s)
Selecting previously unselected package patch.
(Reading database ... 14634 files and directories currently installed.)
Preparing to unpack .../patch_2.7.6-7_amd64.deb ...
Unpacking patch (2.7.6-7) ...
Setting up patch (2.7.6-7) ...
patch set to automatically installed.
sed: can't read common/cras_messages.h: No such file or directory
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/sid...

If known, describe the steps to reproduce the issue:

sudo crouton -t gnome -r sid

sea768 commented 1 year ago

It's an audio issue. If i remember, cras_messages.h got deleted in an update to the cras repo on google's side. https://github.com/dnschneid/crouton/issues/4958 should help.