i m using packages.debian.org/bookworm/12.8 in my CrOS.tini#131 on a CB314
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ cat
/etc/debian_version
12.8
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ head
/etc/apt/{,*/}*.list
==> /etc/apt/sources.list <==
# Generated by distrobuilder
deb https://deb.debian.org/debian bookworm main
deb https://deb.debian.org/debian bookworm-updates main
deb https://deb.debian.org/debian-security/ bookworm-security main
==> /etc/apt/sources.list.d/cros.list <==
deb https://storage.googleapis.com/cros-packages/131 bookworm main
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ sudo apt update
Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm-updates InRelease
Hit:3 https://deb.debian.org/debian-security bookworm-security InRelease
Ign:4 https://storage.googleapis.com/cros-packages/131 bookworm
InRelease
Hit:5 https://storage.googleapis.com/cros-packages/131 bookworm Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
the 9p-mounted directories have lost their enumerability
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ df -h $(/bin/pwd)
Filesystem Size Used Avail Use% Mounted on
9p 49G 34G 14G 72% /mnt/chromeos
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ echo *
*
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ ls
ls: reading directory '.': Invalid argument
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ man getdents |& grep
EINVAL
EINVAL Result buffer is too small.
is it really necessary for /bin/ls to do {ld.so,selinux,LC_MESSAGES}?
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ strace ls $(/bin/pwd)
|& grep =.-1
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
statfs("/selinux", 0x7ffc5a5ff8b0) = -1 ENOENT (No such file or
directory)
access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or
directory)
ioctl(1, TCGETS, 0x7ffc5a5ff7f0) = -1 ENOTTY (Inappropriate
ioctl for device)
getdents64(3, 0x561702d27e40, 32768) = -1 EINVAL (Invalid argument)
openat(AT_FDCWD,
"/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
openat(AT_FDCWD,
"/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/coreutils.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/libc.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY)
= -1 ENOENT (No such file or directory)
why can't i yet until apt ifixed coreutils ; do apt debug coreutils?
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ until apt ifixed
coreutils; do apt debug coreutils; done
E: Invalid operation ifixed
E: Invalid operation debug
is this 9p somewhere hidden in until apt ifixed systemd; do apt debug systemd?
czyborra@penguin:/mnt/chromeos/MyFiles/Downloads$ ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:09 /sbin/init
63 ? Ss 0:06 /lib/systemd/systemd-journald
72 ? Ss 0:02 /lib/systemd/systemd-udevd
107 ? Ss 0:02 /usr/bin/dbus-daemon --system
--address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
109 ? Ss 0:00 dhclient -4 -v -i -pf /run/dhclient.eth0.pid
-lf /var/lib/dhcp/dhclient.eth0.leases -I -df
/var/lib/dhcp/dhclient6.eth0.leases eth0
140 pts/0 Ss+ 0:00 /sbin/agetty -o -p -- \u --noclear
--keep-baud - 115200,38400,9600 vt220
142 ? Ss 0:00 /lib/systemd/systemd --user
143 ? S 0:00 (sd-pam)
158 ? Ssl 0:00 /usr/bin/pipewire
169 ? Ssl 0:00 /usr/bin/wireplumber
172 ? Ssl 0:00 /usr/bin/pipewire-pulse
177 ? Ss 0:00 /usr/bin/dbus-daemon --session
--address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
178 ? Ss 0:00
/opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --argv0
/usr/bin/sommelier --library-path /opt/google/cros-containers/bin/../lib
--inhibit-rpath /opt/google/cros-containers/bin/sommelier.elf -X --x-display=1
--sd-notify=READY=1 --no-exit-with-child --x-auth=/home/czyborra/.Xauthority
--stable-scaling --enable-xshape /bin/sh -c systemctl --user set-environment
DISPLAY_LOW_DENSITY=${DISPLAY}; systemctl --user set-environment
XCURSOR_SIZE_LOW_DENSITY=${XCURSOR_SIZE}; systemctl --user import-environment
SOMMELIER_VERSION; touch /home/czyborra/.Xauthority; xauth -f
/home/czyborra/.Xauthority add :1 . $(xxd -l 16 -p /dev/urandom); .
/etc/sommelierrc
179 ? Ss 0:00
/opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --argv0
/usr/bin/sommelier --library-path /opt/google/cros-containers/bin/../lib
--inhibit-rpath /opt/google/cros-containers/bin/sommelier.elf -X --x-display=0
--sd-notify=READY=1 --no-exit-with-child --x-auth=/home/czyborra/.Xauthority
--stable-scaling --enable-xshape /bin/sh -c systemctl --user set-environment
DISPLAY=${DISPLAY}; systemctl --user set-environment
XCURSOR_SIZE=${XCURSOR_SIZE}; systemctl --user import-environment
SOMMELIER_VERSION; touch /home/czyborra/.Xauthority; xauth -f
/home/czyborra/.Xauthority add :0 . $(xxd -l 16 -p /dev/urandom); .
/etc/sommelierrc
180 ? SNsl 0:08 /usr/libexec/rtkit-daemon
181 ? Ss 0:00
/opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --argv0
/usr/bin/sommelier --library-path /opt/google/cros-containers/bin/../lib
--inhibit-rpath /opt/google/cros-containers/bin/sommelier.elf --parent
--sd-notify=READY=1 --socket=wayland-0 --stable-scaling /bin/sh -c systemctl
--user set-environment WAYLAND_DISPLAY=${WAYLAND_DISPLAY}; systemctl --user
import-environment SOMMELIER_VERSION
182 ? Ss 0:00
/opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --argv0
/usr/bin/sommelier --library-path /opt/google/cros-containers/bin/../lib
--inhibit-rpath /opt/google/cros-containers/bin/sommelier.elf --parent
--sd-notify=READY=1 --socket=wayland-1 --stable-scaling /bin/sh -c systemctl
--user set-environment WAYLAND_DISPLAY_LOW_DENSITY=${WAYLAND_DISPLAY};
systemctl --user import-environment SOMMELIER_VERSION
197 ? Ssl 0:00 /usr/lib/polkit-1/polkitd --no-debug
198 ? S 6:46
/opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --argv0
/opt/google/cros-containers/bin/Xwayland --library-path
/opt/google/cros-containers/bin/../lib --inhibit-rpath
/opt/google/cros-containers/bin/Xwayland.elf :1 -nolisten tcp -rootless -shm
-displayfd 22 -wm 23 -auth /home/czyborra/.Xauthority -fp
/usr/share/fonts/X11/misc, /usr/share/fonts/X11/cyrillic,
/usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi, built-ins
199 ? S 0:00
/opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --argv0
/opt/google/cros-containers/bin/Xwayland --library-path
/opt/google/cros-containers/bin/../lib --inhibit-rpath
/opt/google/cros-containers/bin/Xwayland.elf -nolisten tcp -rootless -shm
-displayfd 22 -wm 23 -auth /home/czyborra/.Xauthority -fp
/usr/share/fonts/X11/misc, /usr/share/fonts/X11/cyrillic,
/usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi, built-ins
272 ? Ssl 0:36
/opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --argv0
/opt/google/cros-containers/bin/garcon --library-path
/opt/google/cros-containers/bin/../lib --inhibit-rpath
/opt/google/cros-containers/bin/garcon.elf --server
273 ? Ss 0:00
/opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --argv0
/opt/google/cros-containers/bin/crostini_metric_reporter --library-path
/opt/google/cros-containers/bin/../lib --inhibit-rpath
/opt/google/cros-containers/bin/crostini_metric_reporter.elf
305 ? Ss 0:05
/opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --argv0
/opt/google/cros-containers/bin/vshd --library-path
/opt/google/cros-containers/bin/../lib --inhibit-rpath
/opt/google/cros-containers/bin/vshd.elf --inherit_env
--forward_to_host_port=3207265291
307 pts/1 Ss 0:04 -bash
2458 ? Ss 0:00 /lib/systemd/systemd-logind
2595 ? Ss 0:00 /usr/lib/openssh/sftp-server
3657 ? Ssl 0:00 /usr/libexec/packagekitd
3680 pts/1 R+ 0:00 ps ax